Games Lobby

quackorquackor zei

een tijd geleden | Bericht #1
So I've been looking at the game examples provided with Nonoba API, and none of them has the functionality responsible for staring a new game room, viewing existing "games", joining them, etc.

I 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.

OliverOliver zei

een tijd geleden | Bericht #2
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.

ZoulzZoulz zei

een tijd geleden | Bericht #3
Is it possible to handle creation and joining outside of the lobby?

OliverOliver zei

een tijd geleden | Bericht #4
Sorry, not in the current version.

What did you want to do ?

ZoulzZoulz zei

een tijd geleden | Bericht #5
I 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. =)

OliverOliver zei

een tijd geleden | Bericht #6
But 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?

ZoulzZoulz zei

een tijd geleden | Bericht #7
Yeah, 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.

Antwoord op onderwerp

Schrijf je nu in om te kunnen antwoorden op onderwerpen

Nonoba

nonoba.nl is een onafhankelijke spelletjes site waar je zowel individueel als gezamenlijk spelletjes gratis kunt spelen.

Developer gereedschap

Als je een flash spelontwerper bent hebben we gave gereedschappen die je kunnen helpen om nog betere spellen te ontwikkelen.

Geweldige Spellen

Waarom probeer je niet een van de beste online flah spellen die wij hebben voor nop?

Copyright ©2007-2012 Nonoba™ - All rights reserved.46.8001ms on SERVER34096