mirror of
https://github.com/AlexMacocian/MonoGame.Extended.git
synced 2026-07-26 00:45:20 +00:00
render order complete
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<map version="1.0" orientation="orthogonal" renderorder="left-down" width="3" height="3" tilewidth="25" tileheight="25" backgroundcolor="#a6527c" nextobjectid="1">
|
||||
<tileset firstgid="1" name="test-tileset" tilewidth="32" tileheight="32" spacing="2" margin="2">
|
||||
<image source="../../../../../Temp/test-tileset/test-tileset.png" width="104" height="104"/>
|
||||
<image source="test-tileset.png" width="104" height="104"/>
|
||||
</tileset>
|
||||
<layer name="Tile Layer 1" width="3" height="3">
|
||||
<data>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<map version="1.0" orientation="orthogonal" renderorder="left-up" width="3" height="3" tilewidth="25" tileheight="25" backgroundcolor="#a6527c" nextobjectid="1">
|
||||
<tileset firstgid="1" name="test-tileset" tilewidth="32" tileheight="32" spacing="2" margin="2">
|
||||
<image source="../../../../../Temp/test-tileset/test-tileset.png" width="104" height="104"/>
|
||||
<image source="test-tileset.png" width="104" height="104"/>
|
||||
</tileset>
|
||||
<layer name="Tile Layer 1" width="3" height="3">
|
||||
<data>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<map version="1.0" orientation="orthogonal" renderorder="right-down" width="3" height="3" tilewidth="25" tileheight="25" backgroundcolor="#a6527c" nextobjectid="1">
|
||||
<tileset firstgid="1" name="test-tileset" tilewidth="32" tileheight="32" spacing="2" margin="2">
|
||||
<image source="../../../../../Temp/test-tileset/test-tileset.png" width="104" height="104"/>
|
||||
<image source="test-tileset.png" width="104" height="104"/>
|
||||
</tileset>
|
||||
<layer name="Tile Layer 1" width="3" height="3">
|
||||
<data>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<map version="1.0" orientation="orthogonal" renderorder="right-up" width="3" height="3" tilewidth="25" tileheight="25" backgroundcolor="#a6527c" nextobjectid="1">
|
||||
<tileset firstgid="1" name="test-tileset" tilewidth="32" tileheight="32" spacing="2" margin="2">
|
||||
<image source="../../../../../Temp/test-tileset/test-tileset.png" width="104" height="104"/>
|
||||
<image source="test-tileset.png" width="104" height="104"/>
|
||||
</tileset>
|
||||
<layer name="Tile Layer 1" width="3" height="3">
|
||||
<data>
|
||||
|
||||
@@ -44,7 +44,7 @@ namespace Sandbox
|
||||
_camera = new Camera2D(_viewportAdapter)
|
||||
{
|
||||
Zoom = 1.5f,
|
||||
//Position = new Vector2(900, 650)
|
||||
Position = new Vector2(-200, -200)
|
||||
};
|
||||
|
||||
Window.AllowUserResizing = true;
|
||||
@@ -58,7 +58,7 @@ namespace Sandbox
|
||||
_spriteBatch = new SpriteBatch(GraphicsDevice);
|
||||
_backgroundTexture = Content.Load<Texture2D>("hills");
|
||||
_bitmapFont = Content.Load<BitmapFont>("courier-new-32");
|
||||
_tiledMap = Content.Load<TiledMap>("test-tileset-left-down");
|
||||
_tiledMap = Content.Load<TiledMap>("test-tileset-right-down");
|
||||
}
|
||||
|
||||
protected override void UnloadContent()
|
||||
|
||||
Reference in New Issue
Block a user