🎮 GameEditor Lite Pro
▶ Run Game
🔄 Reset
💾 Export HTML
☕ Export to JAR
🗑️ Clear
Canvas:
400x300px |
FPS: 0
Game Code
Help
Examples
GAMEEDITOR LITE - API REFERENCE SPRITES: sprite(name, x, y, w, h, color) move(name, dx, dy) setPos(name, x, y) remove(name) getSprite(name) -> {x, y, w, h, color} INPUT: onkey(key, fn) - key: 'ArrowUp', 'ArrowDown', etc. ontouch(fn) - fn(x, y) on touch/click COLLISION: collides(name1, name2) -> bool collidesWith(name, x, y, w, h) -> bool TILEMAP: createTilemap(name, tileSize, mapData) drawTilemap(name) mapData format: "0,1,2\n1,0,1\n2,1,0" AUDIO: playSound(frequency, duration) DRAWING: drawText(text, x, y, size, color) drawRect(x, y, w, h, color) drawCirc