let’s create another minimal retro 2d Phaser 3 + Matter.js (WebGL) video game, this is a recreation of frogger bute we are calling it Route 10, let’s use mouse keyboard or finger tap to move the player avatar, lets setup the ability to play maps top to bottom, left to right, right to left or bottom to top. in all cases there is a player row followed by n number of level rows, level rows may be static obstacles or moving obstacles, level rows may contain enemies that do damage and pits that kill player instantly. for the prototype let’s use graphical sprites for player, obstacles and enemies with fallback simple shapes. the user gets 3 lives to progress through all 4 maps, our 4 demo maps demo the 4 directions a player can travel. first plot out our game mathematics using a simple class modifier for direction,
generate the working poc with 4 levels and 3 lives to win, using full screen old-school retro arcade styling. return the playable game as a downloadable zip.
Leave a Reply