Does the development server have lag comparable to real situations?

MeaiMeai

很久以前 | 帖子#1
Or does it not have lag at all because it runs over localhost? Couldnt find that bit out, thx in advance.
How else would I test my game and see if it is playable at all? Realtime is not such an easy terrain, I figure.
I also read in the documentation that you shouldnt put too muchs train on the nonoba servers. So how many milliseconds would anyone recommend for the tick/update() callback?
Is there any way of outputtung debug text on the server? Everything seems to be unallowed, but I need to verify variables...
最后编辑很久以前

mefuzzymefuzzy

很久以前 | 帖子#2
When I was running on the localhost, there was maybe a little lag, but negligible. When I upload to the serverhost, lag is definitely noticeable. Sorry I don't have any quantitative values.

I think Nonoba has examples where it ticks every 200ms.

You are allowed to test on the Nonoba server, you just release it as "under development(hidden)" when you upload your version.
最后编辑很久以前

ChrisChris

很久以前 | 帖子#3
No worries on "testing" live. Our sandbox should be pretty resistant.

If you really want to test you can insert a timeout around the code that send messages to the server in the client.

I also strongly suggest you read this thread: http://nonoba.com/developers/forum/multiplayerapi/what-method-do-you-use-to-sync-up-players

回复主题

现在就注册以回复主题

5dyouxi

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

开发者工具

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

经典游戏

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

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