I was experimenting with making randomly generated terrain for a character to walk across. Arrow keys to move around. If the player gets stuck at any point then jump. Click to shoot.
Updates. Test 4) 14/5/2020. Added enemy moving across platform without other player lagging. (Enemy can't hurt you yet and you can't hurt it). Test 3) 13/5/2020. Added player momentum and walk cycle. (Thanks to griffpatch for his platformer tutorial). Also I added a shooting feature. Test 2) 12/5/2020. Added multiple terrain textures (3), made the character more interesting and added faster rendering and cleaned up the scripts. Test 1) 11/5/2020. basic player can move smoothly across simple terrain. #test #terrain #2d #2dterrain