3D Tilemap

#1

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

0 Likes

#2

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.

0 Likes

#3

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?)

0 Likes

#4

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

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

0 Likes

#5

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

#6

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

1 Like

#7

Thanks to all

0 Likes