Added 4 more rooms: hallwayb1/2/3 and stairway1. But no code yet.

master
immibis 2025-02-19 19:01:41 +01:00
parent 5990166a92
commit dd3168f5dd
10 changed files with 166 additions and 1 deletions

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<map version="1.9" tiledversion="1.9.2" orientation="orthogonal" renderorder="right-down" width="34" height="25" tilewidth="32" tileheight="32" infinite="0" nextlayerid="6" nextobjectid="14"> <map version="1.9" tiledversion="1.9.2" orientation="orthogonal" renderorder="right-down" width="34" height="25" tilewidth="32" tileheight="32" infinite="0" nextlayerid="6" nextobjectid="16">
<imagelayer id="2" name="Image Layer 1"> <imagelayer id="2" name="Image Layer 1">
<image source="../build/default/hallway1.png" width="1066" height="800"/> <image source="../build/default/hallway1.png" width="1066" height="800"/>
</imagelayer> </imagelayer>
@ -35,6 +35,9 @@
<objectgroup id="3" name="clickable"> <objectgroup id="3" name="clickable">
<object id="1" name="OBJID_LEAVE_ROOM" x="466" y="439" width="155" height="277"/> <object id="1" name="OBJID_LEAVE_ROOM" x="466" y="439" width="155" height="277"/>
<object id="11" name="OBJID_NEXT_ROOM" x="511" y="1" width="80" height="74"/> <object id="11" name="OBJID_NEXT_ROOM" x="511" y="1" width="80" height="74"/>
<object id="15" name="OBJID_GO_LEFT" x="468" y="142">
<polygon points="5,-18 0,-18 -18,33 -18,128 -5,128 5,87"/>
</object>
</objectgroup> </objectgroup>
<objectgroup id="5" name="points"> <objectgroup id="5" name="points">
<object id="12" name="OBJID_PLAYER_START_DEFAULT" x="541" y="713"> <object id="12" name="OBJID_PLAYER_START_DEFAULT" x="541" y="713">

26
navmesh/hallwayb1.tmx Normal file
View File

@ -0,0 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
<map version="1.9" tiledversion="1.9.2" orientation="orthogonal" renderorder="right-down" width="34" height="25" tilewidth="32" tileheight="32" infinite="0" nextlayerid="6" nextobjectid="9">
<imagelayer id="2" name="Image Layer 1">
<image source="../build/default/hallwayb1.png" width="1066" height="800"/>
</imagelayer>
<objectgroup id="3" name="clickable">
<object id="2" name="OBJID_HALLWAY2_DOOR2" x="325" y="230" width="116" height="204"/>
<object id="3" name="OBJID_HALLWAY2_DOOR1" x="71" y="213">
<polygon points="0,0 -46,33 -45,295 1,238"/>
</object>
<object id="6" name="OBJID_GO_RIGHT" x="932" y="181">
<polygon points="0,0 0,254 107,346 134,345 135,3"/>
</object>
<object id="7" name="OBJID_GO_RIGHT" x="906" y="461" width="49" height="40"/>
</objectgroup>
<objectgroup id="4" name="navmesh">
<object id="1" x="92" y="435">
<polygon points="0,0 -79,88 945,90 844,0"/>
</object>
</objectgroup>
<objectgroup id="5" name="points">
<object id="8" name="OBJID_PLAYER_START_DEFAULT" x="968" y="483">
<point/>
</object>
</objectgroup>
</map>

34
navmesh/hallwayb2.tmx Normal file
View File

@ -0,0 +1,34 @@
<?xml version="1.0" encoding="UTF-8"?>
<map version="1.9" tiledversion="1.9.2" orientation="orthogonal" renderorder="right-down" width="34" height="25" tilewidth="32" tileheight="32" infinite="0" nextlayerid="6" nextobjectid="13">
<imagelayer id="2" name="Image Layer 1">
<image source="../build/default/hallwayb2.png" width="1066" height="800"/>
</imagelayer>
<objectgroup id="3" name="clickable">
<object id="2" name="OBJID_HALLWAY2_DOOR3" x="326" y="232" width="116" height="205"/>
<object id="3" name="OBJID_LEAVE_ROOM" x="457" y="245" width="143" height="278"/>
<object id="4" name="OBJID_GO_RIGHT" x="934" y="179">
<polygon points="0,0 0,254 107,346 134,345 135,3"/>
</object>
<object id="6" name="OBJID_GO_LEFT" x="91" y="435">
<polygon points="0,0 -80,90 -92,91 -93,-253 1,-254"/>
</object>
<object id="7" name="OBJID_GO_LEFT" x="83" y="459" width="53" height="39"/>
<object id="8" name="OBJID_GO_RIGHT" x="903" y="462" width="52" height="41"/>
</objectgroup>
<objectgroup id="4" name="navmesh">
<object id="1" x="92" y="437">
<polygon points="0,0 -78,85 943,85 844,-2"/>
</object>
</objectgroup>
<objectgroup id="5" name="points">
<object id="10" name="OBJID_PLAYER_START+SCENE_HALLWAY_B1" x="60" y="485">
<point/>
</object>
<object id="11" name="OBJID_PLAYER_START+SCENE_HALLWAY_B3" x="971" y="476">
<point/>
</object>
<object id="12" name="OBJID_PLAYER_START_DEFAULT" x="530" y="517">
<point/>
</object>
</objectgroup>
</map>

26
navmesh/hallwayb3.tmx Normal file
View File

@ -0,0 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
<map version="1.9" tiledversion="1.9.2" orientation="orthogonal" renderorder="right-down" width="34" height="25" tilewidth="32" tileheight="32" infinite="0" nextlayerid="6" nextobjectid="9">
<imagelayer id="2" name="Image Layer 1">
<image source="../build/default/hallwayb3.png" width="1066" height="800"/>
</imagelayer>
<objectgroup id="3" name="clickable">
<object id="2" name="OBJID_HALLWAY2_DOOR5" x="953" y="215">
<polygon points="0,0 -3,228 64,291 64,29"/>
</object>
<object id="3" name="OBJID_HALLWAY2_DOOR4" x="327" y="232" width="113" height="203"/>
<object id="4" name="OBJID_GO_LEFT" x="93" y="435">
<polygon points="0,0 -80,90 -92,91 -93,-253 1,-254"/>
</object>
<object id="6" name="OBJID_GO_LEFT" x="78" y="455" width="52" height="43"/>
</objectgroup>
<objectgroup id="4" name="navmesh">
<object id="1" x="93" y="436">
<polygon points="0,0 -80,88 941,88 843,-1"/>
</object>
</objectgroup>
<objectgroup id="5" name="points">
<object id="8" name="OBJID_PLAYER_START_DEFAULT" x="65" y="477">
<point/>
</object>
</objectgroup>
</map>

63
navmesh/stairway1.tmx Normal file
View File

@ -0,0 +1,63 @@
<?xml version="1.0" encoding="UTF-8"?>
<map version="1.9" tiledversion="1.9.2" orientation="orthogonal" renderorder="right-down" width="34" height="25" tilewidth="32" tileheight="32" infinite="0" nextlayerid="6" nextobjectid="18">
<imagelayer id="2" name="Image Layer 1">
<image source="../build/default/stairwayUpLeft.png" width="1066" height="800"/>
</imagelayer>
<objectgroup id="3" name="clickable">
<object id="3" name="OBJID_STAIRWAY1_BOTTOM" x="869" y="344">
<polygon points="0,0 0,251 60,342 61,57"/>
</object>
<object id="4" name="OBJID_STAIRWAY1_TOP" x="94" y="70">
<polygon points="0,0 59,-17 65,207 2,272"/>
</object>
</objectgroup>
<objectgroup id="4" name="navmesh">
<object id="5" x="88" y="355">
<polygon points="0,0 43,-1 105,-74 77,-82"/>
</object>
<object id="6" x="154" y="355">
<polygon points="-23,-1 39,-74 93,-42 42,40"/>
</object>
<object id="7" x="202" y="385">
<polygon points="-6,10 41,41 88,-53 45,-72"/>
</object>
<object id="8" x="247" y="419">
<polygon points="-4,7 61,37 98,-69 43,-87"/>
</object>
<object id="9" x="310" y="452">
<polygon points="-2,4 43,33 69,-77 35,-102"/>
</object>
<object id="10" x="353" y="485">
<polygon points="0,0 47,30 61,-78 26,-110"/>
</object>
<object id="11" x="400" y="515">
<polygon points="0,0 47,33 52,-76 14,-108"/>
</object>
<object id="12" x="447" y="548">
<polygon points="0,0 66,30 57,-89 5,-109"/>
</object>
<object id="13" x="513" y="578">
<polygon points="0,0 46,32 31,-93 -9,-119"/>
</object>
<object id="14" x="559" y="610">
<polygon points="0,0 49,31 21,-102 -15,-125"/>
</object>
<object id="15" x="608" y="641">
<polygon points="0,0 53,34 17,-108 -28,-133"/>
</object>
<object id="16" x="661" y="675">
<polygon points="0,0 65,31 19,-104 -36,-142"/>
</object>
<object id="17" x="726" y="706">
<polygon points="0,0 229,30 125,-135 -46,-135"/>
</object>
</objectgroup>
<objectgroup id="5" name="points">
<object id="1" name="OBJID_PLAYER_START_DEFAULT" x="885" y="642">
<point/>
</object>
<object id="2" name="OBJID_PLAYER_START+SCENE_HALLWAY_B2" x="140" y="307">
<point/>
</object>
</objectgroup>
</map>

View File

@ -17,6 +17,15 @@
#define OBJID_NEXT_ROOM 17 #define OBJID_NEXT_ROOM 17
#define OBJID_LOBBY_TO_CLOAKROOM 18 #define OBJID_LOBBY_TO_CLOAKROOM 18
#define OBJID_MANAGERS_OFFICE_TO_HALLWAY 19 #define OBJID_MANAGERS_OFFICE_TO_HALLWAY 19
#define OBJID_GO_LEFT 20
#define OBJID_GO_RIGHT 21
#define OBJID_HALLWAY2_DOOR1 22
#define OBJID_HALLWAY2_DOOR2 23
#define OBJID_HALLWAY2_DOOR3 24
#define OBJID_HALLWAY2_DOOR4 25
#define OBJID_HALLWAY2_DOOR5 26
#define OBJID_STAIRWAY1_BOTTOM 27
#define OBJID_STAIRWAY1_TOP 28
#define OBJID_INVENTORY_SLOTS 0x01000000 // + slot number #define OBJID_INVENTORY_SLOTS 0x01000000 // + slot number
#define OBJID_PLAYER_START 0x02000000 // + previous scene number #define OBJID_PLAYER_START 0x02000000 // + previous scene number
@ -31,3 +40,7 @@
#define SCENE_HALLWAY2 7 #define SCENE_HALLWAY2 7
#define SCENE_HALLWAY3 8 #define SCENE_HALLWAY3 8
#define SCENE_CLOAKROOM 9 #define SCENE_CLOAKROOM 9
#define SCENE_STAIRWAY1 10
#define SCENE_HALLWAY_B1 11
#define SCENE_HALLWAY_B2 12
#define SCENE_HALLWAY_B3 13

BIN
sprites/hallwayb1.xcf Normal file

Binary file not shown.

BIN
sprites/hallwayb2.xcf Normal file

Binary file not shown.

BIN
sprites/hallwayb3.xcf Normal file

Binary file not shown.

BIN
sprites/stairwayUpLeft.xcf Normal file

Binary file not shown.