Přidány základy uživatelského rozhraní a testovací textury. Aktualizovaná Monogame library pro podporu myši

This commit is contained in:
Perry 2026-01-15 19:56:50 +01:00
parent 4561e254d4
commit b968b12090
9 changed files with 184 additions and 11 deletions

View file

@ -13,3 +13,18 @@
#---------------------------------- Content ---------------------------------#
#begin images/SpriteSheet_testBlocks.png
/importer:TextureImporter
/processor:TextureProcessor
/processorParam:ColorKeyColor=255,0,255,255
/processorParam:ColorKeyEnabled=True
/processorParam:GenerateMipmaps=False
/processorParam:PremultiplyAlpha=True
/processorParam:ResizeToPowerOfTwo=False
/processorParam:MakeSquare=False
/processorParam:TextureFormat=Color
/build:images/SpriteSheet_testBlocks.png
#begin images/testBlocks-definition.xml
/copy:images/testBlocks-definition.xml

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

View file

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<TextureAtlas count="4">
<Texture>images/SpriteSheet_testBlocks</Texture>
<Regions>
<Region id = "0" name="R128" x="0" y="0" width="128" height="128"/>
<Region id = "1" name="B128" x="128" y="0" width="128" height="128"/>
<Region id = "2" name="R64" x="0" y="128" width="64" height="64"/>
<Region id = "3" name="B64" x="64" y="128" width="64" height="64"/>
</Regions>
</TextureAtlas>