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

TiledMap Drawing

$
0
0

@davis.jacobj wrote:

After some trial and error, I finally got the map loaded. Now I'm doing:

spriteBatch.Draw(tiledMap);

but I'm not seeing the map on the screen. I don't see a way to position where the map should be drawn.

I also tried copying in the viewport adapter and camera from the MonoGame.Extended demo of TiledMap and still no map.

Edit: Found the Draw(TiledMap,Rectangle) overload and tried with several different rectangles. Still no luck. Checked the loading of the map, the tile height/width and pixel height/width are correct.

Posts: 2

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 6821

Trending Articles