View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0027977RunnerTilesPublic2017-10-04 19:292017-10-05 10:01
ReporterMark Alexander 
Assigned ToDaniel Cleaton 
PlatformOSOS Version
Summary0027977: Suggestion: Tiles: [GMS2] Missing tileset functions
DescriptionAll resources in GMS have a few functions in common: _add, _delete and _get_name, for example. However there are NO tileset resource functions in GMS2. So, at the very least, I'd suggest adding:

tileset_add(sprite, cell_width, cell_height, xoffset, yoffset, sepx, sepy);
tileset_get_name(tileset_id); //only for tilesets added in the IDE
tileset_get_width(tileset_id); // Cell width
tileset_get_height(tileset_id); // Cell height

This would permit people to create sprite tileset textures and add them with sprite_add then use that to create a tileset resource to be used with the tiltemap/layer functions, enabling custom tilemaps at runtime.
1.4 Version2.1.1.133
2.x Runtime Version2.1.1.153
2.x Runtime Version Verified In2.1.1.1
Attached Files

- Relationships

-  Notes
Mike Dailly (Manager)
2017-10-04 20:53

Changed to suggestion. This was a design choice at the time, generating tiles isn't just a matter of pointing to a texture.

We have plans to add this, but not for some time.

Copyright © 2000 - 2017 MantisBT Team
Powered by Mantis Bugtracker