That's because the entire lobby infrastructure, including creating, joining, and viewing open games is managed outside your game.
Your game only has to deal with what's most important: The gameplay.
Games Lobby
Oliver zei
een tijd geleden | Bericht #2
Zoulz zei
een tijd geleden | Bericht #3Is it possible to handle creation and joining outside of the lobby?
Oliver zei
een tijd geleden | Bericht #4Sorry, not in the current version.
What did you want to do ?
What did you want to do ?
Zoulz zei
een tijd geleden | Bericht #5I have a little "hack 'n slash rpg"-type game in the works. The idea is that a player sends his/her hero/character away on an adventure and that creates a new game for the duration of that adventure. Afterwards the server terminates the instance.
This could be expanded to allow more than one player enter an adventure too. So players can form groups and adventure together. =)
This could be expanded to allow more than one player enter an adventure too. So players can form groups and adventure together. =)
Oliver zei
een tijd geleden | Bericht #6But if the player is playing in the instance, can't all that be acomplished with the current lobby system ?
It sounds alot like what the Zombies game does, or am i wrong?
It sounds alot like what the Zombies game does, or am i wrong?
Zoulz zei
een tijd geleden | Bericht #7Yeah, it probably could actually. I'll give it a whirl. Thanks a lot! =)
The more I read up on Nonoba, the more I like it. This is a very nice service for us flash developers.
The more I read up on Nonoba, the more I like it. This is a very nice service for us flash developers.
Antwoord op onderwerp
Schrijf je nu in om te kunnen antwoorden op onderwerpen
quackor zei
een tijd geleden | Bericht #1I found the GameSetup class in the docs, but still quite understand how to make it work.
I tried to re-work the Tic-Tac-Toe code to allow connected users to create, spectate, and join games, but the only way I could think of doing that is having each user create his own instance game, and Broadcast that event to everyone else in the lobby... that means every time someone enters the lobby they need to "poke" each user to see if they have any open games available.
Could someone please point me in the right direction on this? Thanks a ton.