Most players don’t take browser games seriously at first, but after reading a dozen different MMORPGs, some have the idea to create their own browser MMO game. But in addition to the idea itself and painstaking work, in most cases, you will need programming skills, art design and some other WEB specializations. Skills for creating…
Performance of a single game server instance
Here, it’s worth starting with the general architecture of the application that serves as a game server. It was decided to use the following scheme: In parallel, messages are received from different players via websocket and are laid down for processing by the main thread, which updates the game logic. The main stream works in…
Different pharser versions
Different pharser versions – different performance on different operating systems After changing the principle of drawing the background with performance, everything became much better, but 20 FPS – this is still not the desired 60 – there was something to work on. By pointing a finger at the sky, it was found that phaser version…
Client code
I didn’t want to get bogged down in cross-browser differences, as well as in the implementation of primitives, so I immediately pushed the idea of working directly with canvas further away – I started by looking for a graphics library (of course, free). Initially, the eye fell on pixi.js – this is an engine for…