๐Ÿงช 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