Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(1 edit) (+1)

Only monsters you have seen get added to the list, it ends with the last monster you have registered:

If you want the entire list to be visible immediately, you could remove this loop and set maxmon to the value MONSTER_MAX-1 instead.

(4 edits)

I have a question about tileset. If I enlarge it to length, do I have to change something in the code or will it automatically recognize solid and walkable on new tiles?


Like this (now see all 32 + max which was set default - 300 yes?:

//Find max monster

var maxmon = 0, c;

for(c = MONSTER_MAX-1; c >= 0; c--){

if(global.monsters_seen[c]){

maxmon = MONSTER_MAX-1 //c

break

}

}

THX ;)

(+3)

There are some macros in init_constants regarding tiles. Update TILES_PER_ROW, TILES_WALKABLE_COLUMNS and TILES_SOLID_COLUMNS to match the tileset and everything should work.

Keep in mind, changing the width of a tileset will change tile IDs in Game Maker (since it's linear) so any rooms using that tileset will be corrupted. After you use a tileset once, you should only change the height if possible.

(1 edit)

THX :)
And where you defined animation from tileset (example water)?

In the regular Game Maker tileset editor: