S
S
SpiritSound2015-06-19 12:17:50
Browsers
SpiritSound, 2015-06-19 12:17:50

What technologies to choose to create a game in the browser?

Hey!
The question arose about which tools / technologies to choose for creating an online browser game. Starting from the client and ending with the server part.
Game description:
There is a global map (Large size). There will be some destructible objects on it (Wood, stone, etc.). Players will run around the map and destroy each other. The game is one-time for the player. That is, after death, you start over. Players can collect food that boosts certain stats.
Technical aspects:

  • Constant updating of objects and players on the map
  • When moving, the map update naturally
  • Storing player parameters on the server

In theory, everything is as usual, you write the server part in php + mysql, and the client part in js. You expect success, and then, having already taken it, you write fully with all the goodies and frameworks.
Actually, the question is on the client side: whether to draw everything on one canvas or separate everything by objects. Well, what to use as animation, rotation, CSS resizing or the same canvas for redrawing?
Server side question: what to use as a server in the future? (Well, or now). Personally, I am no longer inclined to the script view, when every time the server is accessed, a script is launched, reads data, writes to memory, does something, and then issues it to the client, but to a constantly running program.
At the moment I have a good command of: php, js, java, c ++, mysql. I can at least write a part with a high load on asma, but rationality is more important.
Thank you!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander Taratin, 2015-06-19
@SpiritSound

Well, what to use as animation, rotation, CSS resizing or the same canvas for redrawing?

www.pixijs.com
Server on nodejs
Websocket access

S
Sergey Melnikov, 2015-06-19
@mlnkv

tutorialzine.com/2015/06/making-your-first-html5-g...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question