Game Lab 🎮

Create games with sprites

Add Sprites

📋 Sprites

No sprites yet

🎮Game Canvas
Score: 0

Controls: Use Arrow keys to move. Press Space for action.

Game Logic
game.js

Example Games

Helper Functions

keyPressed('ArrowUp')

Check if key is pressed

colliding(a, b)

Check if sprites touch

random(min, max)

Get random number

clamp(val, min, max)

Limit value range