War game for iOS problem.

Post here your questions about the Objective-C API for SFS2X

Moderators: Lapo, Bax

Post Reply
Dok
Posts: 2
Joined: 17 Sep 2013, 20:07

War game for iOS problem.

Post by Dok »

Hi
I'm creating a war game for iOS where you can attack other players etc. and i've chosen smartfoxserver as my server. One problem im having is how to attack one specific person. I understand what I would do when the attack goes through but what is the code to attack one specific person and then destroy their troops if one integer is bigger than the other. I've only started smartfoxserver so please tell me if ive left any details.
Thank You :D
User avatar
rjgtav
Posts: 2813
Joined: 19 Apr 2009, 11:31
Location: Lisbon, Portugal

Re: War game for iOS problem.

Post by rjgtav »

Hi,

I suggest you to start by reading the official documentation, at http://docs2x.smartfoxserver.com/, in order to better understand how SmartFoxServer works and how to interact with other clients.

Cheers
Skills: SFS Pro, SFS2X, AS2.0/AS3.0, Java, HTML5/CSS3/JS, C#
Portfolio: https://rjgtav.wordpress.com/
SFS Tutorials: http://sfs-tutor.blogspot.com/ - Discontinued. Some examples may be bugged.
Dok
Posts: 2
Joined: 17 Sep 2013, 20:07

Re: War game for iOS problem.

Post by Dok »

Hi,

I suggest you to start by reading the official documentation, at http://docs2x.smartfoxserver.com/, in order to better understand how SmartFoxServer works and how to interact with other clients.

Cheers
Thanks for the advice but that doesnt quite cover my problem even while trying to apply it. If anyone has the correct code or a good tutorial for a war game that would be great
Post Reply