Click here for free DL of the app version that can save data.
No:36036 109
Prev Next
Augmented reality game that uses the players phone..ALL
Developer User16711|Date and time 24/1/16 7:53:12
Build time 12.161 sec|Game capacity 4.527KB|Script


Sure! Here's an example of a single HTML file that implements the game you described using JavaScript, HTML, and CSS:


Monster Peek Game

Tap on the monster when it appears in a doorway or window to kill it!

Monster

In this example, the game uses the smartphone camera to detect doorways and windows appearing in the video feed. When a doorway or window is detected, a monster image is positioned on top of that area. The player's task is to tap on the monster to kill it. Once the monster is tapped, an alert message will appear congratulating the player. Note that you would need to provide the `emozi_all/monster.png` file (representing the monster image) and adjust the pixel color values in the `detectMonster` function based on the doorways and windows you want to detect. Please keep in mind that this is a simplified example meant to demonstrate the concept. In a real-world scenario, you would need to handle various edge cases, improve the monster detection algorithm, and enhance the overall game experience.

Prev Next   Back  0  0 Menu 

[PR]現在の欲しいものランキング

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

(C)2023 HisashiApp