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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user