Search the Community
Showing results for tags 'agario clone'.
Found 2 results
Hi I want to clone the Agario game. my canvas 1900x1900 px. My screen size is 1366x638 px. I want the player to move all over the canvas, moving on the canvas. However, the player can go from point (0,0) to point (1366,638). How can I solve this problem? Link Phaser2 | P2JS
In games agar.io and slither.io, player control is implemented with the mouse. The player is always in the center of the screen and moves in the direction the mouse cursor points to. Phaser.js offers us control only through the keyboard, as there https://phaser.io/examples/v2/camera/basic-follow. Perhaps someone already implemented control such as in agar.io and slither.io using phaser.js? Maybe someone has code samples?