War game for iOS problem.

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

Moderators: Lapo, Bax

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

War game for iOS problem.

Postby Dok » 20 Sep 2013, 17:42

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.

Postby rjgtav » 20 Sep 2013, 23:43

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.

Postby Dok » 21 Sep 2013, 12:41

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

Return to “SFS2X iPhone / iPad / OSX API”

Who is online

Users browsing this forum: No registered users and 6 guests