This commit is contained in:
Mootfrost777 2022-06-29 14:43:48 +03:00
parent 85686e83c0
commit da002473de
26 changed files with 24 additions and 13 deletions

Binary file not shown.

Binary file not shown.

View file

@ -0,0 +1,7 @@
{
"ExpandedNodes": [
""
],
"SelectedNode": "\\Pacman.sln",
"PreviewInSolutionExplorer": false
}

Binary file not shown.

View file

@ -75,20 +75,24 @@ namespace Pacman.Classes
switch (map[i, j])
{
case "┃":
pos = new Point(95, 240);
size = new Point(25, 60);
pos = new Point(36, 96);
size = new Point(12, 24);
break;
case "━":
pos = new Point(0, 274);
size = new Point(60, 26);
pos = new Point(0, 98);
size = new Point(24, 12);
break;
case ".":
pos = new Point(510, 0);
size = new Point(30, 30);
break;
case "┏":
pos = new Point(241, 241);
size = new Point(61, 57);
pos = new Point(98, 98);
size = new Point(24, 26);
break;
case "┓":
pos = new Point(325, 241);
size = new Point(51, 57);
break;
default:
pos = new Point(0, 0);
@ -96,7 +100,7 @@ namespace Pacman.Classes
break;
}
Rectangle sourceRect = new Rectangle(pos, size);
Rectangle destinationRect = new Rectangle(new Point(j * 24, i * 24), new Point(24, 24));
Rectangle destinationRect = new Rectangle(new Point(j * 24, i * 24), size);
spriteBatch.Draw(texture,
destinationRect,
sourceRect,

View file

@ -1,2 +1,2 @@
Source File,Dest File,Processor Type,Content Type,Source File Size,Dest File Size,Build Seconds
"C:/Users/Semejkin_AV/Documents/Github_repos/Pacman/Pacman/Content/sprites.png","C:/Users/Semejkin_AV/Documents/Github_repos/Pacman/Pacman/Content/bin/Windows/sprites.xnb","TextureProcessor","Texture2DContent",24617,2304085,0.304181
"C:/Users/Semejkin_AV/Documents/Github_repos/Pacman/Pacman/Content/sprites.png","C:/Users/Semejkin_AV/Documents/Github_repos/Pacman/Pacman/Content/bin/Windows/sprites.xnb","TextureProcessor","Texture2DContent",4962,368725,0.2058889

View file

@ -1,2 +1,2 @@
Source File,Dest File,Processor Type,Content Type,Source File Size,Dest File Size,Build Seconds
"C:/Users/Semejkin_AV/Documents/Github_repos/Pacman/Pacman/Content/sprites.png","C:/Users/Semejkin_AV/Documents/Github_repos/Pacman/Pacman/Content/bin/Windows/Content/sprites.xnb","TextureProcessor","Texture2DContent",24617,2304085,0.5647778
"C:/Users/Semejkin_AV/Documents/Github_repos/Pacman/Pacman/Content/sprites.png","C:/Users/Semejkin_AV/Documents/Github_repos/Pacman/Pacman/Content/bin/Windows/Content/sprites.xnb","TextureProcessor","Texture2DContent",4962,368725,0.1954538

View file

@ -1,9 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<PipelineBuildEvent xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<SourceFile>C:/Users/Semejkin_AV/Documents/Github_repos/Pacman/Pacman/Content/sprites.png</SourceFile>
<SourceTime>2022-06-29T00:11:51.2570572+03:00</SourceTime>
<SourceTime>2022-06-29T14:41:32.4975861+03:00</SourceTime>
<DestFile>C:/Users/Semejkin_AV/Documents/Github_repos/Pacman/Pacman/Content/bin/Windows/Content/sprites.xnb</DestFile>
<DestTime>2022-06-29T00:11:52.956052+03:00</DestTime>
<DestTime>2022-06-29T14:41:47.7571488+03:00</DestTime>
<Importer>TextureImporter</Importer>
<ImporterTime>2020-08-10T16:17:54+03:00</ImporterTime>
<Processor>TextureProcessor</Processor>

View file

@ -1,9 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<PipelineBuildEvent xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<SourceFile>C:/Users/Semejkin_AV/Documents/Github_repos/Pacman/Pacman/Content/sprites.png</SourceFile>
<SourceTime>2022-06-29T00:11:51.2570572+03:00</SourceTime>
<SourceTime>2022-06-29T14:41:32.4975861+03:00</SourceTime>
<DestFile>C:/Users/Semejkin_AV/Documents/Github_repos/Pacman/Pacman/Content/bin/Windows/sprites.xnb</DestFile>
<DestTime>2022-06-29T00:12:00.7044454+03:00</DestTime>
<DestTime>2022-06-29T14:41:40.1476527+03:00</DestTime>
<Importer>TextureImporter</Importer>
<ImporterTime>2020-08-10T16:17:54+03:00</ImporterTime>
<Processor>TextureProcessor</Processor>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 4.8 KiB