I made a game in node.js
and uploaded it.. it should be 30 - 60 frames per second..
Now I testing it and it runs slow.. I mean in local network it runs a lot smoother
The server isn't that far away.. So any tips how to make the fps better?
What is better xhr-pooling
or websockets
, what is faster?
The game is set with xhr-pooling like this -
io.set('transports', ['xhr-polling']);
the game is hosted in appfog
If needed I can post the game link!