๐งช Unity Platformer Example
This example shows how to define a 2D side-scroller game using JSON and generate Unity-compatible C# scripts.
๐ฆ Example Schema
{ "player": { "emoji": "๐ฑ", "speed": 5, "jumpForce": 10, "abilities": ["jump", "double-jump"] }, "levels": [ { "id": "forest-start", "layout": "๐ฒ๐ฒ๐ณ๐ชต๐ฒ", "enemies": ["spike", "slime"] } ], "tokens": [ { "type": "coin", "emoji": "๐ช", "points": 10 } ] }
๐ฎ Gameplay Behavior
- Side-scrolling movement with physics
- Enemies and collectible tokens
- Multiple levels with transition triggers
๐ Deployment
Generate the C# scripts and scenes with the CLI:
npx create-gameer-app unity-demo cd unity-demo gameer generate --target unity