Přidány sprity pro kancelář a monitor. Graficky viditelné zavírání a otevírání dveří, zapínání a vypínání monitoru. Podpora pouze pro specifická rozlišení.

This commit is contained in:
Perry 2026-01-26 09:39:17 +01:00
parent 952aae10de
commit 2cd215cc33
13 changed files with 202 additions and 41 deletions

View file

@ -13,6 +13,36 @@
#---------------------------------- Content ---------------------------------#
#begin images/monitor-definition.xml
/copy:images/monitor-definition.xml
#begin images/office-definition.xml
/copy:images/office-definition.xml
#begin images/SpriteSheet_monitor.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_monitor.png
#begin images/SpriteSheet_office.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_office.png
#begin images/SpriteSheet_testBlocks.png
/importer:TextureImporter
/processor:TextureProcessor

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

View file

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<TextureAtlas count="5">
<Texture>images/SpriteSheet_monitor</Texture>
<Regions>
<Region id = "0" name="screen" x="0" y="0" width="640" height="360"/>
<Region id = "1" name="view-frame" x="0" y="360" width="244" height="251"/>
<Region id = "2" name="map-frame" x="244" y="360" width="164" height="171"/>
<Region id = "3" name="map" x="408" y="360" width="164" height="171"/>
<Region id = "4" name="light-button" x="244" y="531" width="36" height="42"/>
</Regions>
</TextureAtlas>

View file

@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<TextureAtlas count="6">
<Texture>images/SpriteSheet_office</Texture>
<Regions>
<Region id = "0" name="llc" x="0" y="0" width="200" height="360"/>
<Region id = "1" name="lmc" x="200" y="0" width="240" height="360"/>
<Region id = "2" name="lrc" x="440" y="0" width="200" height="360"/>
<Region id = "3" name="llo" x="0" y="360" width="200" height="360"/>
<Region id = "4" name="lmo" x="200" y="360" width="240" height="360"/>
<Region id = "5" name="lro" x="440" y="360" width="200" height="360"/>
</Regions>
</TextureAtlas>