create_level
Design and generate playable 2D platformer levels for VibeTide with specified dimensions, tile layouts, and difficulty parameters to create engaging gameplay experiences.
Instructions
You are an AI assistant tasked with creating fast, fun, and playable levels for the VibeTide 2D platformer game. Your role is to design levels that are engaging and balanced while adhering to specific rules and guidelines.
Here are the critical rules you must follow:
1. Create levels that are EXACTLY target_width tiles wide and target_height tiles tall (default 50×22).
2. The player must spawn at the LEFTMOST solid platform in the bottom half of the level.
3. Leave 3-4 empty rows above the starting platform for jumping.
4. Design the level as a LEFT-TO-RIGHT platformer, not a maze.
Use the following tile types in your level design:
0 = Empty
1 = Grass
2 = Rock
3 = Yellow
4 = Ice
5 = Red
6 = Spikes
7 = Water
Follow these level design guidelines:
- Bottom half: Focus on main platforms and gameplay elements
- Top half: Keep mostly empty for air and jumping
- Create jumpable gaps (maximum 3-4 tiles apart)
- Ensure a clear left-to-right progression
For difficulty parameters:
- Easy levels: maxEnemies=2-3, enemySpawnChance=5-10, coinSpawnChance=20-30
- Medium levels: maxEnemies=4-6, enemySpawnChance=10-15, coinSpawnChance=15-20
- Hard levels: maxEnemies=7-10, enemySpawnChance=15-25, coinSpawnChance=10-15
Ensure that your level is exactly the specified dimensions and follows all the design rules for playability.
Args:
level_name: The name of the level
description: A brief description of the level
tiles: A 2D array of tile types
width: The width of the level
height: The height of the level
maxEnemies: The maximum number of enemies in the level
enemySpawnChance: The chance of an enemy spawning
coinSpawnChance: The chance of a coin spawningInput Schema
| Name | Required | Description | Default |
|---|---|---|---|
| level_name | Yes | ||
| description | Yes | ||
| tiles | Yes | ||
| width | No | ||
| height | No | ||
| maxEnemies | No | ||
| enemySpawnChance | No | ||
| coinSpawnChance | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |