Rozsvěcení a zhasínání světel, sprity pro místnosti, indikátory rozsvícených světel, po konci hry je hráč vrácen do hlavního menu

This commit is contained in:
Perry 2026-03-16 20:43:53 +01:00
parent 25a62af483
commit 55fd052072
27 changed files with 338 additions and 113 deletions

View file

@ -22,6 +22,9 @@
#begin images/office-definition.xml
/copy:images/office-definition.xml
#begin images/rooms-definition.xml
/copy:images/rooms-definition.xml
#begin images/SpriteSheet_enemies.png
/importer:TextureImporter
/processor:TextureProcessor
@ -58,6 +61,18 @@
/processorParam:TextureFormat=Color
/build:images/SpriteSheet_office.png
#begin images/SpriteSheet_rooms.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_rooms.png;images/SpriteSheet_map.png
#begin images/SpriteSheet_testBlocks.png
/importer:TextureImporter
/processor:TextureProcessor

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.3 KiB

After

Width:  |  Height:  |  Size: 5.3 KiB

Before After
Before After

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

View file

@ -1,15 +1,17 @@
<?xml version="1.0" encoding="utf-8"?>
<TextureAtlas count="9">
<TextureAtlas>
<Texture>images/SpriteSheet_enemies</Texture>
<Regions>
<Region id = "0" name="lurk" x="0" y="0" width="240" height="240"/>
<Region id = "1" name="neko" x="0" y="240" width="240" height="240"/>
<Region id = "2" name="spot-awake-lit" x="0" y="480" width="240" height="240"/>
<Region id = "3" name="spot-awake-unlit" x="240" y="480" width="240" height="240"/>
<Region id = "4" name="spot-asleep-lit" x="0" y="720" width="240" height="240"/>
<Region id = "5" name="spot-asleep-unlit" x="240" y="720" width="240" height="240"/>
<Region id = "6" name="dash" x="0" y="960" width="240" height="240"/>
<Region id = "7" name="mare-lit" x="0" y="1200" width="240" height="240"/>
<Region id = "8" name="mare-unlit" x="240" y="1200" width="240" height="240"/>
<Region name="lurk-lit" x="0" y="0" width="240" height="240"/>
<Region name="lurk-unlit" x="240" y="0" width="240" height="240"/>
<Region name="neko-lit" x="0" y="240" width="240" height="240"/>
<Region name="neko-unlit" x="240" y="240" width="240" height="240"/>
<Region name="spot-awake-lit" x="0" y="480" width="240" height="240"/>
<Region name="spot-awake-unlit" x="240" y="480" width="240" height="240"/>
<Region name="spot-asleep-lit" x="0" y="720" width="240" height="240"/>
<Region name="spot-asleep-unlit" x="240" y="720" width="240" height="240"/>
<Region name="dash" x="0" y="960" width="240" height="240"/>
<Region name="mare-lit" x="0" y="1200" width="240" height="240"/>
<Region name="mare-unlit" x="240" y="1200" width="240" height="240"/>
</Regions>
</TextureAtlas>

View file

@ -1,37 +1,40 @@
<?xml version="1.0" encoding="utf-8"?>
<TextureAtlas count="25">
<TextureAtlas>
<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"/>
<Region name="screen" x="0" y="0" width="640" height="360"/>
<Region name="view-frame" x="0" y="360" width="244" height="251"/>
<Region name="map-frame" x="244" y="360" width="164" height="171"/>
<Region name="map" x="408" y="360" width="164" height="171"/>
<Region name="light-button" x="244" y="531" width="36" height="42"/>
<Region id = "5" name="door-remote-open" x="280" y="531" width="32" height="33"/>
<Region id = "6" name="door-remote-closed" x="312" y="531" width="32" height="33"/>
<Region name="door-remote-open" x="280" y="531" width="32" height="33"/>
<Region name="door-remote-closed" x="312" y="531" width="32" height="33"/>
<Region id = "7" name="door-office-p1-left-open" x="344" y="531" width="32" height="33"/>
<Region id = "8" name="door-office-p1-left-closed" x="376" y="531" width="32" height="33"/>
<Region id = "9" name="door-office-p1-centre-open" x="408" y="531" width="32" height="33"/>
<Region id = "10" name="door-office-p1-centre-closed" x="440" y="531" width="32" height="33"/>
<Region id = "11" name="door-office-p1-right-open" x="472" y="531" width="32" height="33"/>
<Region id = "12" name="door-office-p1-right-closed" x="504" y="531" width="32" height="33"/>
<Region name="door-office-p1-left-open" x="344" y="531" width="32" height="33"/>
<Region name="door-office-p1-left-closed" x="376" y="531" width="32" height="33"/>
<Region name="door-office-p1-centre-open" x="408" y="531" width="32" height="33"/>
<Region name="door-office-p1-centre-closed" x="440" y="531" width="32" height="33"/>
<Region name="door-office-p1-right-open" x="472" y="531" width="32" height="33"/>
<Region name="door-office-p1-right-closed" x="504" y="531" width="32" height="33"/>
<Region id = "13" name="door-office-p2-right-open" x="344" y="564" width="32" height="33"/>
<Region id = "14" name="door-office-p2-right-closed" x="376" y="564" width="32" height="33"/>
<Region id = "15" name="door-office-p2-centre-open" x="408" y="564" width="32" height="33"/>
<Region id = "16" name="door-office-p2-centre-closed" x="440" y="564" width="32" height="33"/>
<Region id = "17" name="door-office-p2-left-open" x="472" y="564" width="32" height="33"/>
<Region id = "18" name="door-office-p2-left-closed" x="504" y="564" width="32" height="33"/>
<Region name="door-office-p2-right-open" x="344" y="564" width="32" height="33"/>
<Region name="door-office-p2-right-closed" x="376" y="564" width="32" height="33"/>
<Region name="door-office-p2-centre-open" x="408" y="564" width="32" height="33"/>
<Region name="door-office-p2-centre-closed" x="440" y="564" width="32" height="33"/>
<Region name="door-office-p2-left-open" x="472" y="564" width="32" height="33"/>
<Region name="door-office-p2-left-closed" x="504" y="564" width="32" height="33"/>
<Region id = "19" name="eye-opponent-open" x="572" y="360" width="32" height="14"/>
<Region id = "20" name="eye-opponent-open" x="604" y="360" width="32" height="14"/>
<Region id = "21" name="eye-player-open" x="572" y="374" width="32" height="14"/>
<Region name="eye-opponent-open" x="572" y="360" width="32" height="14"/>
<Region name="eye-opponent-open" x="604" y="360" width="32" height="14"/>
<Region name="eye-player-open" x="572" y="374" width="32" height="14"/>
<Region name="eye-small-opponent-open" x="572" y="402" width="32" height="9"/>
<Region name="eye-small-opponent-closed" x="604" y="402" width="32" height="9"/>
<Region name="eye-small-player" x="572" y="411" width="32" height="9"/>
<Region name="map-light-indicator" x="280" y="564" width="32" height="32"/>
<Region id = "22" name="eye-small-opponent-open" x="572" y="402" width="32" height="9"/>
<Region id = "23" name="eye-small-opponent-closed" x="604" y="402" width="32" height="9"/>
<Region id = "24" name="eye-small-player" x="572" y="411" width="32" height="9"/>

View file

@ -1,13 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<TextureAtlas count="6">
<TextureAtlas>
<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 name="left-closed" x="0" y="0" width="200" height="360"/>
<Region name="centre-closed" x="200" y="0" width="240" height="360"/>
<Region name="right-closed" 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"/>
<Region name="left-open" x="0" y="360" width="200" height="360"/>
<Region name="centre-open" x="200" y="360" width="240" height="360"/>
<Region name="right-open" x="440" y="360" width="200" height="360"/>
</Regions>
</TextureAtlas>

View file

@ -0,0 +1,32 @@
<?xml version="1.0" encoding="utf-8"?>
<TextureAtlas>
<Texture>images/SpriteSheet_map</Texture>
<Regions>
<Region name="room4" x="0" y="0" width="240" height="240"/>
<Region name="room3" x="0" y="240" width="240" height="240"/>
<Region name="room2" x="0" y="480" width="240" height="240"/>
<Region name="room1" x="0" y="720" width="240" height="240"/>
<Region name="room0" x="0" y="960" width="240" height="240"/>
<Region name="room9" x="240" y="0" width="240" height="240"/>
<Region name="room8" x="240" y="240" width="240" height="240"/>
<Region name="room7" x="240" y="480" width="240" height="240"/>
<Region name="room6" x="240" y="720" width="240" height="240"/>
<Region name="room5" x="240" y="960" width="240" height="240"/>
<Region name="room14" x="480" y="0" width="240" height="240"/>
<Region name="room13" x="480" y="240" width="240" height="240"/>
<Region name="room12" x="480" y="480" width="240" height="240"/>
<Region name="room11" x="480" y="720" width="240" height="240"/>
<Region name="room10" x="480" y="960" width="240" height="240"/>
<Region name="room19" x="720" y="0" width="240" height="240"/>
<Region name="room18" x="720" y="240" width="240" height="240"/>
<Region name="room17" x="720" y="480" width="240" height="240"/>
<Region name="room16" x="720" y="720" width="240" height="240"/>
<Region name="room15" x="720" y="960" width="240" height="240"/>
<Region name="room24" x="960" y="0" width="240" height="240"/>
<Region name="room23" x="960" y="240" width="240" height="240"/>
<Region name="room22" x="960" y="480" width="240" height="240"/>
<Region name="room21" x="960" y="720" width="240" height="240"/>
<Region name="room20" x="960" y="960" width="240" height="240"/>
</Regions>
</TextureAtlas>