Quantcast
Channel: Community | MonoGame - Latest topics
Viewing all articles
Browse latest Browse all 6822

Get each tile properties and data on a layer

$
0
0

@karl-police wrote:

So I was trying something and didn't get it to work.

I'm trying to get the properties of all tiles on a tilelayer and not from a Tilesets

When doing a foreach through a TileLayers I can get .Tiles, if I foreach through that. Visual offers me less possibilities than doing it with Tilesets[0].Tiles

I can't access the properties from tiles on a layer that easy, I didn't access it at all.
This happens on Monogame.Extended.Tiled

What I'm trying to do is make that what Teeworlds does. I want to makd a Game Entity Layer.
That tells stuff like, which block is solid, any other things. Spawn points.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 6822

Trending Articles