Game getting progressively laggier?
Posted
by
Valentin Krummenacher
on Game Development
See other posts from Game Development
or by Valentin Krummenacher
Published on 2012-07-10T11:08:20Z
Indexed on
2012/07/10
15:26 UTC
Read the original article
Hit count: 230
I have a small game in HTML5 that uses socket.io to communicate with a node.js server. Now my problem is that, eversince I did my last update on it it seems to have something "chunk up" in the background making it laggier and laggier the longer it runs. In the update were a few temporary local variables being defined with var(you know, variables that are only used during one function and then not needed anymore) alongside with alot of other changes, and I am not even sure if this update or something else is causing this. Might the "var" have caused it? Or what other reasons might this strange complication have?
© Game Development or respective owner