new tiles and bugfixing
Before Width: | Height: | Size: 199 B After Width: | Height: | Size: 198 B |
Before Width: | Height: | Size: 199 B After Width: | Height: | Size: 197 B |
Before Width: | Height: | Size: 198 B After Width: | Height: | Size: 197 B |
Before Width: | Height: | Size: 276 B After Width: | Height: | Size: 273 B |
Before Width: | Height: | Size: 203 B After Width: | Height: | Size: 200 B |
BIN
Sledgemapper/Content/tiles/tile07.png
Normal file
After Width: | Height: | Size: 163 B |
BIN
Sledgemapper/Content/tiles/tile08.png
Normal file
After Width: | Height: | Size: 166 B |
BIN
Sledgemapper/Content/tiles/tile09.png
Normal file
After Width: | Height: | Size: 161 B |
BIN
Sledgemapper/Content/tiles/tile10.png
Normal file
After Width: | Height: | Size: 162 B |
BIN
Sledgemapper/Content/tiles/tile11.png
Normal file
After Width: | Height: | Size: 159 B |
Before Width: | Height: | Size: 201 B After Width: | Height: | Size: 178 B |
|
@ -470,7 +470,7 @@ namespace Sledgemapper
|
|||
var color = new Color(int.Parse(hexs[0], System.Globalization.NumberStyles.HexNumber),
|
||||
int.Parse(hexs[1], System.Globalization.NumberStyles.HexNumber),
|
||||
int.Parse(hexs[2], System.Globalization.NumberStyles.HexNumber));
|
||||
_spriteBatch.DrawRectangle(new Rectangle(player.Position.X * _state.TileSize, player.Position.Y * _state.TileSize, _state.TileSize - 1, _state.TileSize - 1), color, 2);
|
||||
_spriteBatch.DrawRectangle(new Rectangle( player.Position.X * _state.TileSize - 4 , player.Position.Y * _state.TileSize - 4 , _state.TileSize + 7 , _state.TileSize + 7), color, 2);
|
||||
|
||||
var ffont = _fonts.FirstOrDefault(m => int.Parse(m.Key.Replace("font", "")) > _state.TileSize).Value ?? _fonts.Last().Value;
|
||||
|
||||
|
@ -497,7 +497,7 @@ namespace Sledgemapper
|
|||
var posY = tile.Y * _state.TileSize + _state.TileSize / 2f;
|
||||
|
||||
_spriteBatch.Draw(content, new Vector2(posX, posY),
|
||||
null, Color.White, MathHelper.ToRadians(90 * tile.Rotation), new Vector2(content.Width / 2, content.Height / 2), ((float)_state.TileSize - 1) / content.Width, SpriteEffects.None, 0);
|
||||
null, Color.White, MathHelper.ToRadians(90 * tile.Rotation), new Vector2(content.Width / 2, content.Height / 2), ((float)_state.TileSize) / content.Width, SpriteEffects.None, 0);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* Generated by MyraPad at 20/11/2020 14:47:42 */
|
||||
/* Generated by MyraPad at 21/11/2020 00:18:48 */
|
||||
using Myra.Graphics2D;
|
||||
using Myra.Graphics2D.TextureAtlases;
|
||||
using Myra.Graphics2D.UI;
|
||||
|
@ -185,7 +185,7 @@ namespace Sledgemapper.UI
|
|||
|
||||
var verticalSplitPane1 = new VerticalSplitPane();
|
||||
verticalSplitPane1.Width = 200;
|
||||
verticalSplitPane1.Background = new SolidBrush("#666666FF");
|
||||
verticalSplitPane1.Background = new SolidBrush("#A1A1A1FF");
|
||||
verticalSplitPane1.Widgets.Add(verticalStackPanel1);
|
||||
verticalSplitPane1.Widgets.Add(verticalStackPanel2);
|
||||
verticalSplitPane1.Widgets.Add(verticalStackPanel3);
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
<MenuItem Text="&About" Id="MenuHelpAbout" />
|
||||
</MenuItem>
|
||||
</HorizontalMenu>
|
||||
<VerticalSplitPane Width="200" Background="#666666FF">
|
||||
<VerticalSplitPane Width="200" Background="#A1A1A1FF">
|
||||
<VerticalStackPanel>
|
||||
<VerticalStackPanel.Proportions>
|
||||
<Proportion Type="Fill" />
|
||||
|
|