Initial incarnation of my animation software which runs JSON scripts.
(Vibe coded in Gemini 2.5 Pro)
#vibecoding
Script in JSON form:
[
{
"type": "SETUP",
"character_id": "Squeaky",
"sprite_base": "squeaky",
"pos": [150, 400],
"color": [100, 100, 100]
},
{
"type": "SETUP",
"character_id": "Nibbles",
"sprite_base": "nibbles",
"pos": [600, 400],
"color": [180, 170, 150]
},
{
"type": "WAIT",
"duration": 1.0
},
{
"type": "DIALOGUE",
"character_id": "Squeaky",
"text": "Nibbles, did you finish all the cheddar again?!"
},
{
"type": "ACTION",
"character_id": "Nibbles",
"action_type": "POSE",
"pose_name": "nervous",
"duration": 0.5
},
{
"type": "DIALOGUE",
"character_id": "Nibbles",
"text": "Me? Never! Maybe it... spontaneously aged into dust?"
},
{
"type": "ACTION",
"character_id": "Squeaky",
"action_type": "MOVE",
"target_pos": [200, 400],
"duration": 1.0
},
{
"type": "DIALOGUE",
"character_id": "Squeaky",
"text": "Dust doesn't leave crumbs shaped exactly like your teeth marks!"
},
{
"type": "ACTION",
"character_id": "Nibbles",
"action_type": "MOVE",
"target_pos": [550, 400],
"duration": 0.8
},
{
"type": "DIALOGUE",
"character_id": "Nibbles",
"text": "Okay, okay! Maybe I had a tiny nibble. Or twelve."
},
{
"type": "ACTION",
"character_id": "Squeaky",
"action_type": "POSE",
"pose_name": "facepalm",
"duration": 1.5
},
{
"type": "WAIT",
"duration": 2.0
}
]
コメント