Click here for free DL of the app version that can save data.
No:9084 99
Prev Next
Rooftop running
Developer User4295|Date and time 23/7/21 4:34:10
Build time 18.232 sec|Game capacity 1.721KB|Script

Sure! Here's a simple rooftop running game implemented as a single HTML file:




This game is a simple rooftop running game where the player (represented by a square) runs from left to right on a rooftop. The player's position is updated in the `update` function, and the canvas is cleared and the player is drawn in the `draw` function. The game loop is started using `setInterval` with a 30ms delay. If the player reaches the end of the canvas (right side), a "Game Over!" alert is displayed, and the player's position is reset using the `reset` function.

Prev Next   Back  0  0 Menu 

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

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

(C)2023 HisashiApp