3D Tilemap

Hello everyone, I’m getting started with 3D on Defold,
My question is: is there any way to create a 3D Tilemap?

Not sure what you mean by a “3D tilemap”.
Our tilemap has layers, that are sorted on their Z value, so in that sense they’re 3D.

Hello, thank you to replying me,
so, if I rotate the Tilemap along the x-axis I’ll able to see the inclination at runtime?

(Or I need something like a 3D Camera?)

Yes, for 3D projections you need to setup your camera accordingly.

For instance, you can use the RenderCam library from the asset library.

This tool may be interesting to you. I used it to make some of the wood planky background assets in this demo https://subsoap.itch.io/udgj1-pixcade-boss-rush although it was purely to see that it worked and I did not put any artistic effort into making it look nice. This demo also uses RenderCam.

3 Likes

More info in the Camera manual: https://defold.com/manuals/camera/#perspective-projection-3d

1 Like

Thanks to all