Skip to main content
Image

r/bevy


Need help to render my map in 3D
Need help to render my map in 3D
Help

Hi !

I work on a game (since 7 years, still prototype haha) and rebuilt it regularly with new tech. My current rewrite is with bevy (I fall in love with bevy with some years now).

My game is a tactical top down 2D game inspired by Close Combat series.

Currently, map is a tsx (Tiled) file with different layers. One of them is used to know the height (z) of each tile. There is what it look like:

So, my map is a list of tiles where each tile own properties, including height information (which I use in my game logic). I would like permit player to look the map as a 3D model to feel the altitudes.

But, I'm a bit lost about how to build 3D model from it. I took a look to generate-custom-mesh example and damn, it confirms I never did 3D, and I'm lost.

I played with some AI generated scripts to build glb files. Or to update generate-custom-mesh example to use "map coordinates". I build some things looks correct. But is catastrophic when try to use my own map coordinates.

Can you help me to success to generate a 3D model from my map ? Or indicate me example / tutorials which permit to do it ? Thanks in advance !


POV: you shopped at Sierra & scored huge deals on all your favorite active & outdoor brands. Nice job 👍
  • Image
    POV: you shopped at Sierra & scored huge deals on all your favorite active & outdoor brands. Nice job 👍
  • Image
    POV: you shopped at Sierra & scored huge deals on all your favorite active & outdoor brands. Nice job 👍
  • Image
    POV: you shopped at Sierra & scored huge deals on all your favorite active & outdoor brands. Nice job 👍
  • Image
    POV: you shopped at Sierra & scored huge deals on all your favorite active & outdoor brands. Nice job 👍
  • Image
    POV: you shopped at Sierra & scored huge deals on all your favorite active & outdoor brands. Nice job 👍


Why bother with a main-menu background when you can just render the game itself :)
Why bother with a main-menu background when you can just render the game itself :)
Project
media poster

The Impatient Programmer's Guide to Bevy and Rust: Chapter 12 - Let There Be Networking
The Impatient Programmer's Guide to Bevy and Rust: Chapter 12 - Let There Be Networking
media poster