Click here for free DL of the app version that can save data.
No:37629 29
Prev Next
Create a game where if you walk it get scarier
Developer User17076|Date and time 24/1/21 6:52:36
Build time 9.06 sec|Game capacity 2.881KB|Script


Sure! Here's an example of a simple game where the scene becomes scarier as the player walks:




This game uses the device orientation event to detect tilting of the smartphone and keeps track of a "scareLevel" variable. As the player walks (tilts the device), the scareLevel increases, and new scary elements (represented by ghost pictograms) are randomly placed on the scene. The player's position is updated based on the device tilt. As the scareLevel increases, it visually becomes scarier with more ghost elements appearing on the screen.

Prev Next   Back  0  0 Menu 

[PR]現在のゲームギフトランキング

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

(C)2023 HisashiApp