Games Lobby

quackorquackor

很久以前 | 帖子#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

很久以前 | 帖子#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

很久以前 | 帖子#3
Is it possible to handle creation and joining outside of the lobby?

OliverOliver

很久以前 | 帖子#4
Sorry, not in the current version.

What did you want to do ?

ZoulzZoulz

很久以前 | 帖子#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

很久以前 | 帖子#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

很久以前 | 帖子#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.

回复主题

现在就注册以回复主题

5dyouxi

5dyouxi.com是一个独立的游戏网站,在这里你将可以免费玩到各种好玩的单人和多人游戏。

开发者工具

如果你是一位flash游戏开发者,我们有一些非常强大的工具来帮助你开发更加优秀的游戏。

经典游戏

为什么不试试我们这里的一些最为优秀的在线flash游戏呢?这可是完全免费的!

Copyright ©2007-2012 5dyouxi™ - All rights reserved.31.2001ms on SERVER34096
注册 或者