Click here for free DL of the app version that can save data.
No:29595 52
Prev Next
A platformer game like Sonic The Hedgehog
Developer User14524|Date and time 23/12/17 18:26:57
Build time 25.467 sec|Game capacity 3.269KB|Script


Sure! Here's an example of a simple platformer game written in a single HTML file using JavaScript:




In this game, you control a player represented by the Sonic pictogram. The player can jump and has to land on randomly generated platforms to avoid falling down. The player's position is updated with gravity to simulate jumping and falling. The game loop continuously updates the game state and checks for collisions between the player and platforms. Note: To make this code work, you'll need to provide a pictogram image named "emozi_all/pictogram.png" in the same directory as the HTML file.

Prev Next   Back  0  0 Menu 


[PR]現在の売れ筋ゲームランキング

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

(C)2023 HisashiApp