mirror of
https://github.com/PlayableIntelligence/game-creator.git
synced 2026-09-19 07:34:10 +08:00
ac482c0f78
Implement the complete scaffold for Trump vs Biden 3D arena battle: - Arena: 20x12 dark platform with glowing edges, atmospheric lighting/fog - Player (Trump): Left/right movement, projectile throw with cooldown, gesture animations (point/clap/dance/twist), placeholder orange box - Opponent (Biden): AI-controlled sinusoidal movement with random offset, periodic projectile throws aimed at player, placeholder blue box - Projectiles: Glowing spheres with point lights, sphere-vs-sphere collision - ProjectileManager: Spawn/update/collision pool with PLAYER_HIT/OPPONENT_HIT events - Health system: 5 lives, hearts HUD, game over on depletion - Scoring: Points per hit, combo tracking with timeout, combo bonus at 3+ - Input: Keyboard (A/D + Space) + mobile touch (left/right half + tap) - HUD: Health hearts, score, combo counter below Play.fun safe zone - Game over overlay with score/best, restart via button/Space/Enter - Full EventBus events including spectacle hooks for visual polish step - render_game_to_text() and advanceTime() for AI agent testing - Design brief with expression maps for both characters Co-Authored-By: Claude <noreply@anthropic.com>
14 lines
421 B
JSON
14 lines
421 B
JSON
[
|
|
{"buttons":["ArrowRight"],"frames":20},
|
|
{"buttons":["space"],"frames":3},
|
|
{"buttons":["ArrowLeft"],"frames":25},
|
|
{"buttons":["space"],"frames":3},
|
|
{"buttons":["ArrowRight"],"frames":15},
|
|
{"buttons":["space"],"frames":3},
|
|
{"buttons":["ArrowLeft"],"frames":20},
|
|
{"buttons":["space"],"frames":3},
|
|
{"buttons":["ArrowRight"],"frames":10},
|
|
{"buttons":["space"],"frames":3},
|
|
{"buttons":[],"frames":80}
|
|
]
|