Page 1 of 1

2 player flash

PostPosted: Sun Sep 29, 2013 12:00 pm
by SaintSilver
Heyy wouldn't it be interesting if we could make a two player flash sex game ? Is it possible

Re: 2 player flash

PostPosted: Sun Sep 29, 2013 1:25 pm
by OwnerOfSuccuby
All is possible =) But who will make it ? :lol:

I little do not understand the idea - 2 players game from one PC or 2 players game through the internet ? What Kind of game should it be ?

Re: 2 player flash

PostPosted: Sun Sep 29, 2013 1:34 pm
by SaintSilver
2 player through the internet =] say if I wanted to play a naughty game with someone. All flash here is amazing but only 1 player

Re: 2 player flash

PostPosted: Sun Sep 29, 2013 8:32 pm
by LuftMallow
You could have one person in control of the keyboard and the other with the mouse. That way two people aren't cramped up trying to use the keyboard at the same time. There's also the fact that some keyboards can't handle multiple keys pressed simultaneously so that would limit some pairs. Not to mention this way frees up a hand for both of you...
EDIT: And the approved post clarified things. I don't have remotely enough knowledge of Flash to make an online game.

Re: 2 player flash

PostPosted: Sun Sep 29, 2013 8:38 pm
by Zeus Kabob
SaintSilver Wrote:2 player through the internet =] say if I wanted to play a naughty game with someone. All flash here is amazing but only 1 player


Flash supports TCP sockets, so you can create a connection to another computer that way. It would be fraught with issues, however, as NATs would interrupt most direct connections. Using a central server to set up connections would work better, but there would still be challenges. Once you've managed to create a connection, you have the additional complexity of making the clients synchronize and function properly.

tl;dr: 2 player online games are hard.

Re: 2 player flash

PostPosted: Mon Sep 30, 2013 12:58 am
by BlueLight
Pawn is a good example of a multiplayer flash game.

Re: 2 player flash

PostPosted: Mon Sep 30, 2013 10:00 am
by OwnerOfSuccuby
Yes they are hard - but in another way it is good exp. :mrgreen: I was always interested how to connect 2 players to each other, but for now I do not know how it works. I have one stupid idea how it is possible to make through PHP for example - but it is very stupid idea =)))

For example we have text file for player 1 and 2 - where we put some values on server. It will let us to read and move objects on different PC. But how connect one player derectly to another or how to let a lot of players play the game - still is a big question for me.

Re: 2 player flash

PostPosted: Mon Sep 30, 2013 9:50 pm
by GoRepeat
Would need a central server or (ideally for flash) website to make it work. You COULD peer to peer it like Zeus said, but that would be a logistical nightmare.

Re: 2 player flash

PostPosted: Tue Oct 01, 2013 12:38 am
by IrrelevantComment
Click to Play
(Javascript Required)

FridgeMagnets.swf [ 13.11 KiB | Viewed 2023 times ]



Open it up in two tabs, voila you have mulitplayer. Check out playerio, it makes multiplayer much easier

Re: 2 player flash

PostPosted: Tue Oct 01, 2013 3:35 pm
by OwnerOfSuccuby
Do any body have any fla and example how Peer to peer work ? I try to find any *fla example about it but fail each time I try.
I hear that it is possible to send files and make video / voice chat through it ... . But did not se any working examples and no fla of it unfortunatly :?
And what about PlayerIO ? What do it need for work ?

Re: 2 player flash

PostPosted: Mon Dec 09, 2013 7:13 am
by Chameleon
Fairy fighting supports 2 players... but it might get awkward

Re: 2 player flash

PostPosted: Tue Dec 10, 2013 2:12 am
by sommur
try Mugen that's 2 players