mirror of
https://github.com/PlayableIntelligence/game-creator.git
synced 2026-09-19 07:34:10 +08:00
7ff6a7a2ed
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
43 lines
948 B
JSON
43 lines
948 B
JSON
{
|
|
"_comment": "Example action payloads for iterate-client.js. Each step describes a burst of input + frames to advance.",
|
|
"steps": [
|
|
{
|
|
"_comment": "Click center of canvas to focus / start game",
|
|
"buttons": ["left_mouse_button"],
|
|
"frames": 2,
|
|
"mouse_x": 480,
|
|
"mouse_y": 270
|
|
},
|
|
{
|
|
"_comment": "Wait for menu transition",
|
|
"buttons": [],
|
|
"frames": 30
|
|
},
|
|
{
|
|
"_comment": "Press space to start playing",
|
|
"buttons": ["space"],
|
|
"frames": 4
|
|
},
|
|
{
|
|
"_comment": "Idle frames — let game run",
|
|
"buttons": [],
|
|
"frames": 60
|
|
},
|
|
{
|
|
"_comment": "Move right for 30 frames",
|
|
"buttons": ["right"],
|
|
"frames": 30
|
|
},
|
|
{
|
|
"_comment": "Jump while moving right",
|
|
"buttons": ["space", "right"],
|
|
"frames": 10
|
|
},
|
|
{
|
|
"_comment": "Release and observe",
|
|
"buttons": [],
|
|
"frames": 30
|
|
}
|
|
]
|
|
}
|