YoYoGames / GameMaker-Bugs

Public tracking for GameMaker bugs
26 stars 8 forks source link

Add properties to individual tiles within the Tilemap Editor #4261

Open iampremo opened 1 year ago

iampremo commented 1 year ago

Ticket #207511

Feature Type: feat_addition_ide Description: The Tilemap Editor should allow users to add properties to individual tiles. Benefit: The Tilemap Editor should allow users to add properties to individual tiles. As an example, let's say I want to add the property "1" to some tiles of my Tilemap to indicate that such tiles are "Water", or "2" to indicate "Grass", etc. Later, at runtime, I could get the tile property at the player's current position to determine what footstep sound should I play (water, grass, etc). This would make programming way more flexible, and mapping less tedious.

attic-stuff commented 1 year ago

you can already do this using either the actual tile index or the remaining and unused bits from the tile's data blob. i think it would be quicker and better to update the manual with examples on using the data blob, and possibly even doing a website blog with a quick tutorial on flippin' bits.

WangleLine commented 1 year ago

@attic-stuff Yeah but that's an extremely clunky solution - Especially for the footstep materials example. You still have to go back and forth between looking at the tileset, figuring out the id, then writing that down in a table - Repeat all of that several times for each tileset. A small change to the tileset editor would be a godsend.

Totobal5 commented 3 weeks ago

i would love this one