Tile Map in Widget

Hello everyone
I created a tiled map, how can I display it in a widget so that the user can choose it himself?

You’re not giving us much to work with here:

  • are we talking about tiles or maps made of tiles and then →
  • what are the tiles? Separate actors, components or just meshes? Is it 2d, 3d?
  • are they spawned dynamically or placed manually in the level
  • is there more than 1 level, how dynamic does it need to be
  • “[…]so that the user can choose it himself” - choose what, the map or the tiles? Choose in what way, highlight/select/load a new map?

I’ll assume I understand what you’re trying to achieve. :slight_smile: - a visualisation of a tiled map in a widget?

Providing the tiles are actors and you keep them in an array, you can use a custom widget for each tile and populate a Uniform Grid Panel with the content of the actor array. As you iterate through the array, bind the interactive widget element with the corresponding tile. A direct reference should be ok for this. Or you can dispatch an event.

you are right, I want to visualisation of a tiled map in the widget.
How can I get My Tile Maps for widget?

241064-1.png

I created array of Tile Map in widget,how can I display this in the widget?