-
How to setup 2 player mode and change turns
Pretty new to Actionscript in general and just finished making a single player skee ball game. I want to add a 2 player mode but not sure how to go about it. How would I setup the players and the player turns ? Thanks in advance.
-
Senior Member
You will have to use a media server either flash media server , Wowza , or red5 so you can communicate between client applications
--calmchess
-
Originally Posted by calmchess
You will have to use a media server either flash media server , Wowza , or red5 so you can communicate between client applications
--calmchess
My bad. I meant to say locally, no network. Just a simple 2 player setup on the same computer.
-
Senior Member
well if you like playing a two player game by yourself or with two people at the same computer. just use and if statement on your function calls something like.
PHP Code:
if(player==1){ //moveplayer1(); }else{ //moveplayer2(); }
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|