4ian / GDevelop

🎮 Open-source, cross-platform 2D/3D/multiplayer game engine designed for everyone.
https://gdevelop.io
Other
9.16k stars 790 forks source link

Functions to access tile maps content #3303

Open D8H opened 2 years ago

D8H commented 2 years ago

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

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.

4ian commented 2 years ago

I don't have any concerns against adding these - do you plan/have already added them in one of your PR?

D8H commented 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 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.