GameClosed()

mefuzzymefuzzy

很久以前 | 帖子#1
I want to shut down a multiplayer game manually.

I tried to use GameClosed() in the server code which is usually activated when all players leave a game, but I think I should just be able to use it manually as well.

I could have sworn I did it before when I was testing, but can't seem to get it to work now.

Any insights on GameClosed()? or other ways to manually shut down a multiplayer game?

Thanks!
最后编辑很久以前

TobyToby

很久以前 | 帖子#2
Just send a message to all the clients which sets the connection object to a null value?

mefuzzymefuzzy

很久以前 | 帖子#3
Thanks Toby, I'll try it out...
Cool nonoba skins btw.

回复主题

现在就注册以回复主题

5dyouxi

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

开发者工具

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

经典游戏

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

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