Spawnable Object: Mushroom

This represents a Mushroom power-up item. When a player touches a mushroom, their bird increases in size and all existing bombs are transformed into coins whose types are determined randomly according to set probabilities defined in the game. The game speed also increases.

Spawnable Object data #

{
  "key": "m",
  "gridY": <GridY>,
}

Data Fields #

gridY #

The GridY position to spawn this object (see Coordinate System)


Example Level JSON #

{
  "items": [
    {
      "type": "chunk",
      "data": {
        "0": [ {"key": "m", "gridY": 50} ],
        "40": [
          {"key": "b", "gridY": 40},
          {"key": "b", "gridY": 50},
          {"key": "b", "gridY": 60}
        ],
        "50": [
          {"key": "b", "gridY": 35},
          {"key": "b", "gridY": 45},
          {"key": "b", "gridY": 55}
        ],
        "60": [
          {"key": "b", "gridY": 40},
          {"key": "b", "gridY": 50},
          {"key": "b", "gridY": 60}
        ]
      }
    }
  ]
}