Extend moon level to 1000 tiles with wide platform gaps

Expand moon01.lvl from 200 to 1000 tiles using a Python generator
script. The level features 27 gap sections with floating one-way
platforms at varying heights, progressing from easy (8-tile gaps) to
challenging (22-tile gaps with tiny platforms). 20 asteroids spread
across the level. Increase tilemap line buffer from 1024 to 16384
bytes to support wide levels.
This commit is contained in:
Thomas
2026-03-01 12:17:13 +00:00
parent 8f538274e7
commit 628fa52c52
4 changed files with 254 additions and 37 deletions

View File

@@ -15,7 +15,7 @@ bool tilemap_load(Tilemap *map, const char *path, SDL_Renderer *renderer) {
memset(map, 0, sizeof(Tilemap));
char line[1024];
char line[16384];
char tileset_path[256] = {0};
int current_layer = -1; /* 0=collision, 1=bg, 2=fg */
int row = 0;