AS2 Arrow Key Script

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

Moderators: Lapo, Bax

xXCireEricXx
Posts: 1
Joined: 21 Sep 2011, 22:51
Location: United States
Contact:

AS2 Arrow Key Script

Postby xXCireEricXx » 25 Sep 2011, 04:44

Greetings! I am using AS2 with SmartFoxServer Pro to create a lobby where players can create game rooms to play in. On my own, i've made it to where you can see one another, but now i need script that tells me how to use the arrow keys and/or WASD to communicate movements to all the other players. Any help? Thanks!
User avatar
BigFIsh
Posts: 1698
Joined: 25 Feb 2008, 19:26
Location: New Zealand

Postby BigFIsh » 25 Sep 2011, 19:02

Once you have learnt the basic of sending/receive messages to/from other players, this should be easy to do. Please consult the tutorials as found in the online documentation for examples how to achieve this. Particularly with the 'Real-time maze' example (http://www.smartfoxserver.com/docs/docP ... /index.htm)
Smartfox's forum is my daily newspaper.

Return to “SmartFoxServer 1.x Discussions and Help”

Who is online

Users browsing this forum: No registered users and 90 guests