mirror of
https://github.com/PlayableIntelligence/game-creator.git
synced 2026-09-19 07:34:10 +08:00
aede0989d2
Implement the complete Gem Catcher game with all core mechanics: - Player basket moves horizontally at bottom of screen (arrow keys + touch) - Gems rain from the sky; catch them for +1 score - Skulls also fall (15% chance); catch one to lose a life - 3 lives with heart indicator, game over at 0 lives - Difficulty ramp: every 10 points increases fall speed and spawn rate - Night sky gradient background theme - GameState tracks lives, difficulty, isMuted - EventBus wired with GEM_CAUGHT, SKULL_CAUGHT, LIFE_LOST, DIFFICULTY_UP - render_game_to_text() includes lives, difficulty, gem/skull counts - GameOverScene preserves createButton() pattern, uses gameState.reset() - Touch input: left half = move left, right half = move right Co-Authored-By: Claude <noreply@anthropic.com>
13 lines
626 B
JSON
13 lines
626 B
JSON
{
|
|
"steps": [
|
|
{"_comment": "Move right to catch gems", "buttons": ["ArrowRight"], "frames": 30},
|
|
{"_comment": "Move left", "buttons": ["ArrowLeft"], "frames": 25},
|
|
{"_comment": "Idle - let some fall", "buttons": [], "frames": 15},
|
|
{"_comment": "Move right again", "buttons": ["ArrowRight"], "frames": 20},
|
|
{"_comment": "Quick left", "buttons": ["ArrowLeft"], "frames": 15},
|
|
{"_comment": "Right side", "buttons": ["ArrowRight"], "frames": 25},
|
|
{"_comment": "Center", "buttons": ["ArrowLeft"], "frames": 10},
|
|
{"_comment": "Long idle to let game over happen", "buttons": [], "frames": 120}
|
|
]
|
|
}
|