Bad/Good Guys

Need help with SmartFoxServer? You didn't find an answer in our documentation? Please, post your questions here!

Moderators: Lapo, Bax

Buffy1011
Posts: 48
Joined: 18 Sep 2011, 17:45
Location: Wisconsin
Contact:

Bad/Good Guys

Postby Buffy1011 » 27 Sep 2011, 20:17

Hi,
I'm in the process of making a game, which is coded in AS3, that involves letting the user choose between being a good guy or a bad guy. The good guys would have different sets of weapons, and the bad guys would, too.
Can someone give me an idea on how I would do this, please? Thanks!
~Buffy
Guy71173cp
Posts: 148
Joined: 03 Aug 2010, 16:08
Contact:

Postby Guy71173cp » 27 Sep 2011, 21:16

Is this a multiplayer game? Or single player?
Buffy1011
Posts: 48
Joined: 18 Sep 2011, 17:45
Location: Wisconsin
Contact:

Postby Buffy1011 » 27 Sep 2011, 21:19

Multiplayer
~Buffy
User avatar
BigFIsh
Posts: 1698
Joined: 25 Feb 2008, 19:26
Location: New Zealand

Postby BigFIsh » 27 Sep 2011, 22:45

Hello, this is really something that you and your staff will need to figure out how to implement those kind of things. It's very straightforward after understanding how data exchange between players or from server to player and vice visa work and interaction with the database via an extension.

There are some third party tutorials/book how to implement those kind of things. https://www.packtpub.com/flash-multipla ... ign=ramsai is an example.

See also http://www.smartfoxserver.com/forums/viewtopic.php?t=9070
Smartfox's forum is my daily newspaper.
Buffy1011
Posts: 48
Joined: 18 Sep 2011, 17:45
Location: Wisconsin
Contact:

Postby Buffy1011 » 28 Sep 2011, 10:54

Okay, I've got that basically down.
I was thinking that the button at startup would be, like, something like..
on.release {
gotoandPlay (whatever)
}
and such for the bad/good guy button. And the button would send something to the database, saving the choice.
would that be correct? I think my actionscript is off, though. But i guess you get the point
~Buffy
Guy71173cp
Posts: 148
Joined: 03 Aug 2010, 16:08
Contact:

Postby Guy71173cp » 28 Sep 2011, 19:37

Is this game Actionscript 2.0, or 3.0?
Buffy1011
Posts: 48
Joined: 18 Sep 2011, 17:45
Location: Wisconsin
Contact:

Postby Buffy1011 » 28 Sep 2011, 19:40

AS3
~Buffy

Return to “SmartFoxServer 1.x Discussions and Help”

Who is online

Users browsing this forum: No registered users and 42 guests