Click here for free DL of the app version that can save data.
No:30035 48
Prev Next
A platformer based off of mario
Developer User14691|Date and time 23/12/20 9:47:24
Build time 10.168 sec|Game capacity 2.681KB|Script


Sure! Here's a simple implementation of a platformer game based off of Mario using JavaScript and HTML:




The code sets up a simple platformer game with a red player character (`div#player`) and two green platforms (`div.platform`). The player can jump on the platforms by pressing the up arrow key. The player is affected by gravity and will fall to the ground if not on a platform. The game loop continuously updates the player's position based on gravity and platform collisions. Please note that this is a basic implementation and lacks many features found in a complete platformer game. You can expand on it by adding more levels, enemies, power-ups, scoring, and other game mechanics.

Prev Next   Back  0  0 Menu 
 

[PR]現在の本の売れ筋ランキング

Click here for free DL of the app version that can save data.

(C)2023 HisashiApp