Forum Games 1v1 Fighting Game

Discussion relating to game development with Flash

1v1 Fighting Game

Postby highondota » March 6th, 2011, 7:59 am

Hi there,
I am making a 1v1 Fighting Game in Flash using AS3 and want to use PlayerIO but I just cant figure out how am I supposed to code the Flash part in the sense that there is:

A player object for each fighter and how to check which one is player one and which one is player two. And how do i move each character separately? Do I have a moveP1 message from server to client and then a moveP2 or what? This would end up being 2 messages for each action possible in the game. Here is a list of messages I am going to have to send for each player.

Pause Game
Resume Game

How to invite someone to a game?? Is it fine to just go through a list of users and then match the name and then set that person as player 2??
Posts: 5
Joined: February 7th, 2011, 2:45 pm

Re: 1v1 Fighting Game

Postby Oliver » March 9th, 2011, 7:01 pm


Have a look at the tic-tac-toe game in the download package, it's a 1v1 player game so it has most of what you're looking for.

User avatar
Posts: 1159
Joined: January 12th, 2010, 8:29 am

Return to Games