Open D8H opened 2 years ago
I don't have any concerns against adding these - do you plan/have already added them in one of your PR?
I don't have any concerns against adding these - do you plan/have already added them in one of your PR?
I plan to do it at some point. I'm not sure if I will do it in this PR. It will depend on the timing I guess.
Applications with access to tile map content
Doors
Some obstacles could be removed from the tile map to open a way.
Dynamic world
Handling dynamic worlds like MineCraft would be easier and more efficient using a tile map object.
Terrain generation
A marching square behavior could be attached to tile map object to render a terrain with water and mountains https://www.omiod.com/docs/pdf/Squares-Made-for-Marching.pdf
Terrains can be generated with gradient noise https://www.redblobgames.com/maps/terrain-from-noise/
Terrains can be modified with basic actions like in city builders to level an area or make it higher...
It would probably be easier and more powerful than using one instance per cell like this tutorial does: https://wiki.gdevelop.io/gdevelop5/tutorials/procedural-generation/implementing-procedural-generation
Functions to access tile maps content
This refactor will make it easier to implement
Actions
Condition
Expression
There is no condition nor expression about rotation and flipping because they are not independent. For instance, a vertical + horizontal flipping is actually rotation of 180°. So, it's hard to know what is really asked. This is not really an issue because it would probably not be very useful anyway.