Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Small Castle Rooms #2046

Merged
merged 6 commits into from

6 participants

@8bitgentleman

As per CalebJohn's suggestion
http://www.reddit.com/r/hawkthorne/comments/2064in/costumes_made_easy_other_hawkthorne_updates/cg09g3s

Here's a quick and simple addition to Castle Hawkthorne. This add barebones rooms behind the doors and a series of keys and key shards needed to unlock the throne room.

@CalebJohn
Owner

@8bitgentleman Whats the change in town.tmx? The arrows above the new doors need to be updated to the red arrow that was introduced in #2032 and the rooms seem to be a little small for the screen, they might need to be a little larger. Other than those things mentioned this is pretty cool and will hopefully displays that castle hawkthorne won't always be a long walk. btw I love the key shards it's an awesome use for crafting.

@8bitgentleman

@CalebJohn Is that what you meant by change the arrow color? I checked and don't think anything changed with town.tmx how do I exclude that from the pull request? I like the idea of key crafting but I'm not sure if we should include it yet. I don't want to burn that idea on a super simple puzzle :) Leave the crafting until there are some more challenging puzzles behind those door. I'm considering replacing the key shards with regular keys for now.

@CalebJohn
Owner

Ya the arrows should be red in castle hawkthorne as well though, the rooms look awesome though. I think we should leave the key shards, kinda like a teaser for the puzzle that lies ahead. I'm not sure how you can revert town.tmx, but you could just go in and edit out the changes that it looks like this branch makes.

@8bitgentleman

What's the difference between the red and green arrows? Do them mean something different? The only thing that changed in town.tmx is the draworder="topdown" that shouldn't effect anything so I don't see why it can't stay.

@edisonout
Owner

@8bitgentleman There isn't a difference in arrows - I just changed them all to red to be consistent rather than switching between the colours within a level.

@CalebJohn
Owner

@8bitgentleman it's best not to have unrelated changes in a pull, this case it probably doesn't change anything but if it does end up breaking something it makes it hard to track.

@8bitgentleman

@CalebJohn Is that what you mean about fixing the town.tmx changes? I reverted the file back to what it was before.

@CalebJohn
Owner

@8bitgentleman Ya that's perfect, this is good to merge!

@edisonout
Owner

Loving the key shards!

I've got a couple of suggestions:

  • turn auto-saving off on these levels - add "autosave false" to the map properties
  • make the levels slightly taller so they fill the screen - I think the minimum height is 14 tiles
  • maybe add an info property to the keys & doors, so rather than getting the generic "you need x key" you could explain the shards or just say something else?
@didory123
Owner

@edisonout Originally, I had this idea that the red arrow means that the door was closed, and once you collect all the keys or something it would turn green, meaning you can walk in, but in hindsight that idea seems dumb now I don't even know why I included it.

On another note, even though I didn't check out the level yet, @8bitgentleman I'm sure it's great I can tell by the awesome key shard sprite, these new levels have me pumped. I promise I'll come back once TPP is over hopefully

@phamdaniel
Owner

Tpp will never end!

@edisonout
Owner

LGTM.

@didory123
Owner

LGTM

@didory123 didory123 merged commit 5055de1 into from
@8bitgentleman 8bitgentleman deleted the branch
@NimbusBP1729

@didory123 that idea is not a bad one

@didory123
Owner

@NimbusBP1729 sometimes even I spit out something useful once in a while

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
View
BIN  src/images/keys/bluetower.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  src/images/keys/throneroom.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  src/images/keys/tower.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  src/images/materials/keyshardbottom.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  src/images/materials/keyshardtop.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
9 src/items/keys/bluetower.lua
@@ -0,0 +1,9 @@
+return{
+ name = "bluetower",
+ description = "Blue Tower",
+ type = "key",
+ subtype = "key",
+ MAX_ITEMS = 5,
+ quantity = 1,
+ directory = 'keys/'
+}
View
9 src/items/keys/throneroom.lua
@@ -0,0 +1,9 @@
+return{
+ name = "throneroom",
+ description = "Throne Room",
+ type = "key",
+ subtype = "key",
+ MAX_ITEMS = 5,
+ quantity = 1,
+ directory = 'keys/'
+}
View
9 src/items/keys/tower.lua
@@ -0,0 +1,9 @@
+return{
+ name = "tower",
+ description = "Tower",
+ type = "key",
+ subtype = "key",
+ MAX_ITEMS = 5,
+ quantity = 1,
+ directory = 'keys/'
+}
View
5 src/items/materials/keyshardbottom.lua
@@ -0,0 +1,5 @@
+return{
+ name = 'keyshardbottom',
+ type = 'material',
+ MAX_ITEMS = 1,
+}
View
5 src/items/materials/keyshardtop.lua
@@ -0,0 +1,5 @@
+return{
+ name = 'keyshardtop',
+ type = 'material',
+ MAX_ITEMS = 1,
+}
View
5 src/items/recipes.lua
@@ -55,4 +55,9 @@ return {
{ type='material', name='leaf' },
{ type='weapon', name='arrow' }
},
+ {
+ { type='material', name='keyshardbottom' },
+ { type='material', name='keyshardtop' },
+ { type='key', name='throneroom' }
+ },
}
View
62 src/maps/castle-hawkthorne-room-1.tmx
@@ -0,0 +1,62 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<map version="1.0" orientation="orthogonal" width="22" height="14" tilewidth="24" tileheight="24">
+ <properties>
+ <property name="autosave" value="false"/>
+ <property name="blue" value="0"/>
+ <property name="green" value="0"/>
+ <property name="offset" value="0"/>
+ <property name="overworldName" value="caverns"/>
+ <property name="red" value="0"/>
+ <property name="soundtrack" value="castle"/>
+ </properties>
+ <tileset firstgid="1" name="castle-hawkthorne" tilewidth="24" tileheight="24">
+ <image source="../images/tilesets/castle-hawkthorne.png" width="384" height="1200"/>
+ </tileset>
+ <layer name="wall" width="22" height="14" opacity="0.38">
+ <data encoding="base64" compression="zlib">
+ eJxbxsDAsGwUj+JRPIqHAQYAQz7HuQ==
+ </data>
+ </layer>
+ <layer name="pillar" width="22" height="14">
+ <data encoding="base64" compression="zlib">
+ eJwLYqA+CGJgaEhiYHCgtrlAMw8EUdtQBoh7h6K5rEDMRgNzKQHY3DRUwxcEqBnGtHRvEg3MBZrZQANjaQoA0x0Okg==
+ </data>
+ </layer>
+ <layer name="floor" width="22" height="14">
+ <data encoding="base64" compression="zlib">
+ eJybysDgMI26+MBUIGYYBaNgFAx5AMzLDNOoixuAZjYsB+JlQD4VMchMBgC/iTCL
+ </data>
+ </layer>
+ <layer name="features" width="22" height="14">
+ <data encoding="base64" compression="zlib">
+ eJxjYBgFo2DwgGgamNkFxN1A3ENlc2cB8WwgnoMkpkgFc1cB8WogXoMkZkgFc3cB8W4g3oMk5kgFcwcTAAC+nQiT
+ </data>
+ </layer>
+ <objectgroup color="#a41f05" draworder="topdown" name="nodes" width="22" height="14">
+ <object type="sprite" x="336" y="192" width="24" height="24">
+ <properties>
+ <property name="animation" value="1-3,1"/>
+ <property name="height" value="24"/>
+ <property name="sheet" value="images/sprites/castle/flame.png"/>
+ <property name="width" value="24"/>
+ </properties>
+ </object>
+ <object name="tower" type="key" x="168" y="264" width="24" height="24">
+ <properties>
+ <property name="info" value="You found the Tower Key!"/>
+ </properties>
+ </object>
+ <object name="main" type="door" x="230" y="214" width="47" height="71">
+ <properties>
+ <property name="level" value="castle-hawkthorne"/>
+ <property name="to" value="room1"/>
+ </properties>
+ </object>
+ </objectgroup>
+ <objectgroup draworder="topdown" name="block" width="22" height="14">
+ <object x="0" y="288" width="528" height="48"/>
+ <object x="504" y="24" width="24" height="264"/>
+ <object x="0" y="24" width="24" height="264"/>
+ <object x="0" y="0" width="528" height="24"/>
+ </objectgroup>
+</map>
View
62 src/maps/castle-hawkthorne-room-2.tmx
@@ -0,0 +1,62 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<map version="1.0" orientation="orthogonal" width="22" height="14" tilewidth="24" tileheight="24">
+ <properties>
+ <property name="autosave" value="false"/>
+ <property name="blue" value="0"/>
+ <property name="green" value="0"/>
+ <property name="offset" value="0"/>
+ <property name="overworldName" value="caverns"/>
+ <property name="red" value="0"/>
+ <property name="soundtrack" value="castle"/>
+ </properties>
+ <tileset firstgid="1" name="castle-hawkthorne" tilewidth="24" tileheight="24">
+ <image source="../images/tilesets/castle-hawkthorne.png" width="384" height="1200"/>
+ </tileset>
+ <layer name="wall" width="22" height="14" opacity="0.38">
+ <data encoding="base64" compression="zlib">
+ eJxbxsDAsIzKmIEGZo6aO4pH8SgmhAH3WcUh
+ </data>
+ </layer>
+ <layer name="pillar" width="22" height="14">
+ <data encoding="base64" compression="zlib">
+ eJwLYqA+CGJgaEhiYHCgtrlAMw8EUdtQBoh7h6K5rEDMRgNzKQHY3DRUwxcEqBnGtHRvEg3MBZrZQANjaQoA0x0Okg==
+ </data>
+ </layer>
+ <layer name="floor" width="22" height="14">
+ <data encoding="base64" compression="zlib">
+ eJybysDgMI26+MBUIGYYBaNgFAx5AMzLDNOoixuAZjYsB+JlQD4VMchMBgC/iTCL
+ </data>
+ </layer>
+ <layer name="features" width="22" height="14">
+ <data encoding="base64" compression="zlib">
+ eJxjYBgFo2DwgGgamNkFxN1A3ENlc2cB8WwgnoMkpkgFc1cB8WogXoMkZkgFc3cB8W4g3oMk5kgFcwcTAAC+nQiT
+ </data>
+ </layer>
+ <objectgroup color="#a41f05" draworder="topdown" name="nodes" width="22" height="14">
+ <object type="sprite" x="336" y="192" width="24" height="24">
+ <properties>
+ <property name="animation" value="1-3,1"/>
+ <property name="height" value="24"/>
+ <property name="sheet" value="images/sprites/castle/flame.png"/>
+ <property name="width" value="24"/>
+ </properties>
+ </object>
+ <object name="bluetower" type="key" x="168" y="266" width="24" height="24">
+ <properties>
+ <property name="info" value="You found the Blue Tower Key!"/>
+ </properties>
+ </object>
+ <object name="main" type="door" x="230" y="216" width="47" height="71">
+ <properties>
+ <property name="level" value="castle-hawkthorne"/>
+ <property name="to" value="room2"/>
+ </properties>
+ </object>
+ </objectgroup>
+ <objectgroup draworder="topdown" name="block" width="22" height="14">
+ <object x="0" y="288" width="528" height="48"/>
+ <object x="504" y="24" width="24" height="264"/>
+ <object x="0" y="24" width="24" height="264"/>
+ <object x="0" y="0" width="528" height="24"/>
+ </objectgroup>
+</map>
View
62 src/maps/castle-hawkthorne-room-3.tmx
@@ -0,0 +1,62 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<map version="1.0" orientation="orthogonal" width="22" height="14" tilewidth="24" tileheight="24">
+ <properties>
+ <property name="autosave" value="false"/>
+ <property name="blue" value="0"/>
+ <property name="green" value="0"/>
+ <property name="offset" value="0"/>
+ <property name="overworldName" value="caverns"/>
+ <property name="red" value="0"/>
+ <property name="soundtrack" value="castle"/>
+ </properties>
+ <tileset firstgid="1" name="castle-hawkthorne" tilewidth="24" tileheight="24">
+ <image source="../images/tilesets/castle-hawkthorne.png" width="384" height="1200"/>
+ </tileset>
+ <layer name="wall" width="22" height="14" opacity="0.38">
+ <data encoding="base64" compression="zlib">
+ eJxbxsDAsGwUj+JRPIqHAQYAQz7HuQ==
+ </data>
+ </layer>
+ <layer name="pillar" width="22" height="14">
+ <data encoding="base64" compression="zlib">
+ eJwLYqA+CGJgaEhiYHCgtrlAMw8EUdtQBoh7h6K5rEDMRgNzKQHY3DRUwxcEqBnGtHRvEg3MBZrZQANjaQoA0x0Okg==
+ </data>
+ </layer>
+ <layer name="floor" width="22" height="14">
+ <data encoding="base64" compression="zlib">
+ eJybysDgMI26+MBUIGYYBaNgFAx5AMzLDNOoixuAZjYsB+JlQD4VMchMBgC/iTCL
+ </data>
+ </layer>
+ <layer name="features" width="22" height="14">
+ <data encoding="base64" compression="zlib">
+ eJxjYBgFo2DwgGgamNkFxN1A3ENlc2cB8WwgnoMkpkgFc1cB8WogXoMkZkgFc3cB8W4g3oMk5kgFcwcTAAC+nQiT
+ </data>
+ </layer>
+ <objectgroup color="#a41f05" draworder="topdown" name="nodes" width="22" height="14">
+ <object type="sprite" x="336" y="192" width="24" height="24">
+ <properties>
+ <property name="animation" value="1-3,1"/>
+ <property name="height" value="24"/>
+ <property name="sheet" value="images/sprites/castle/flame.png"/>
+ <property name="width" value="24"/>
+ </properties>
+ </object>
+ <object name="main" type="door" x="230" y="216" width="47" height="71">
+ <properties>
+ <property name="level" value="castle-hawkthorne"/>
+ <property name="to" value="room3"/>
+ </properties>
+ </object>
+ <object name="keyshardtop" type="material" x="168" y="264" width="24" height="24">
+ <properties>
+ <property name="info" value="You found the top half of a key!"/>
+ </properties>
+ </object>
+ </objectgroup>
+ <objectgroup draworder="topdown" name="block" width="22" height="14">
+ <object x="0" y="288" width="528" height="48"/>
+ <object x="504" y="24" width="24" height="264"/>
+ <object x="0" y="24" width="24" height="264"/>
+ <object x="0" y="0" width="528" height="24"/>
+ </objectgroup>
+</map>
View
62 src/maps/castle-hawkthorne-room-4.tmx
@@ -0,0 +1,62 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<map version="1.0" orientation="orthogonal" width="22" height="14" tilewidth="24" tileheight="24">
+ <properties>
+ <property name="autosave" value="false"/>
+ <property name="blue" value="0"/>
+ <property name="green" value="0"/>
+ <property name="offset" value="0"/>
+ <property name="overworldName" value="caverns"/>
+ <property name="red" value="0"/>
+ <property name="soundtrack" value="castle"/>
+ </properties>
+ <tileset firstgid="1" name="castle-hawkthorne" tilewidth="24" tileheight="24">
+ <image source="../images/tilesets/castle-hawkthorne.png" width="384" height="1200"/>
+ </tileset>
+ <layer name="wall" width="22" height="14" opacity="0.38">
+ <data encoding="base64" compression="zlib">
+ eJxbxsDAsGwUj+JRPIqHAQYAQz7HuQ==
+ </data>
+ </layer>
+ <layer name="pillar" width="22" height="14">
+ <data encoding="base64" compression="zlib">
+ eJwLYqA+CGJgaEhiYHBAFmMFYjYKzQWaeSCIQjOQAcxNIPdS01wYoIe51AhXbOaSC7C5ZzR8Mc2lJoDmN6oDoJkNNDCWpgAALWQOqA==
+ </data>
+ </layer>
+ <layer name="floor" width="22" height="14">
+ <data encoding="base64" compression="zlib">
+ eJybysDgMI26+MBUIGYYBaNgFAx5AMzLDNOoixuAZjYsB+JlQD4VMchMBgC/iTCL
+ </data>
+ </layer>
+ <layer name="features" width="22" height="14">
+ <data encoding="base64" compression="zlib">
+ eJxjYBgFo2DwgGgamNkFxN1A3ENlc2cB8WwgnoMkpkgFc1cB8WogXoMkZkgFc3cB8W4g3oMk5kgFcwcTAAC+nQiT
+ </data>
+ </layer>
+ <objectgroup color="#a41f05" draworder="topdown" name="nodes" width="22" height="14">
+ <object type="sprite" x="336" y="192" width="24" height="24">
+ <properties>
+ <property name="animation" value="1-3,1"/>
+ <property name="height" value="24"/>
+ <property name="sheet" value="images/sprites/castle/flame.png"/>
+ <property name="width" value="24"/>
+ </properties>
+ </object>
+ <object name="main" type="door" x="230" y="216" width="47" height="71">
+ <properties>
+ <property name="level" value="castle-hawkthorne"/>
+ <property name="to" value="room4"/>
+ </properties>
+ </object>
+ <object name="keyshardbottom" type="material" x="168" y="266" width="24" height="24">
+ <properties>
+ <property name="info" value="You found the bottom half of a key!"/>
+ </properties>
+ </object>
+ </objectgroup>
+ <objectgroup draworder="topdown" name="block" width="22" height="14">
+ <object x="0" y="288" width="528" height="48"/>
+ <object x="504" y="24" width="24" height="264"/>
+ <object x="0" y="24" width="24" height="264"/>
+ <object x="0" y="0" width="528" height="24"/>
+ </objectgroup>
+</map>
View
32 src/maps/castle-hawkthorne.tmx
@@ -23,10 +23,10 @@
</layer>
<layer name="features" width="98" height="40">
<data encoding="base64" compression="zlib">
- eJzt2ktugzAQxnHve4SseoQcIefIZbruI9m3abvvc9+8DpMjVNl3FkUaJDDgAjOm/5/0KZEsxAhLxsYOAQDQt6V1AQh3kpVkbV3IP3QZwlXx/1HyJHkut2MEc9UP75IPyWe5HSNYqH7YSw6SY7kdAAAkupbcSG6tC1E81jS0e8mDZGNdiOKxpqG9SF4lb9aFKB5rGtqXZCvZWReieKwJAAD45XFNc2F0bV9SnmnVmkbvvViYGV37F3o/KmWdWLWmmRv3Q470flTKOrFqTbOgHzrT+1Ge1oltxumxxvKm+3h4pwylzTidOpZ3PTvTdB+rd0rOPM7vpqxuzhabi3CGpn91c7bYXCR2hubUQ005+v79PXdsK9TN2WJzkdgZmtg9Y3UAmA7rbyNdTPn9ntO3kSmfkc3p2whnZAEAHvwAMV1Bvw==
+ eJzt2ksOgjAQBuDuPYIrj8AROIeXce1z73Pvc+/zMB7BuHcWkgwJFIqUmeL/JRNNGsKEJmWG1hgAAKhbXzoBMBOKKcVMOpE/1DNmkPxfUawpNulxaEDE5uFAcaQ4pcehATGbhxvFneKRHgcAgEBprPk15uTTkGJEMZZOhNGYk29zigXFUjoRRmNOvm0pdhR76UQYjTn5dqa4UFylE2E05gQAAJDn33qaJrg+U409TUfo2rpUeaZZPQ3fe5HQFbr2F3w/qkqfmNXTRMLzECK+H1WlT8zqaWLMgzO+H6WpTyyzTje1lhfdR8M7xZcy63TVtdy1Fim6j9Q7JWQa67s2y6vZbLUIztDUL69ms9UitjM0zxpyCtHr+/t2HEvk1Wy2WsR2hsZ2T1seANAe0t9GXLT5/R7St5E2n5EN6dsIzsgCAIAGH3hBQys=
</data>
</layer>
- <objectgroup color="#a41f05" name="nodes" width="98" height="40">
+ <objectgroup color="#a41f05" draworder="topdown" name="nodes" width="98" height="40">
<object name="main" type="door" x="1189" y="674" width="49" height="68">
<properties>
<property name="level" value="castle-hawkthorne-entrance"/>
@@ -35,6 +35,8 @@
</object>
<object name="next" type="door" x="1166" y="121" width="47" height="71">
<properties>
+ <property name="info" value="You need a Throne Room Key to open this door."/>
+ <property name="key" value="throneroom"/>
<property name="level" value="castle-hawkthorne-throne"/>
<property name="to" value="main"/>
</properties>
@@ -103,28 +105,36 @@
<property name="width" value="24"/>
</properties>
</object>
- <object type="info" x="131" y="521" width="55" height="78">
+ <object name="room1" type="door" x="133" y="530" width="47" height="71">
<properties>
- <property name="info" value="Under construction"/>
+ <property name="level" value="castle-hawkthorne-room-1"/>
+ <property name="to" value="main"/>
</properties>
</object>
- <object type="info" x="708" y="307" width="55" height="78">
+ <object name="room2" type="door" x="2173" y="528" width="47" height="71">
<properties>
- <property name="info" value="Under construction"/>
+ <property name="level" value="castle-hawkthorne-room-2"/>
+ <property name="to" value="main"/>
</properties>
</object>
- <object type="info" x="1593" y="307" width="55" height="78">
+ <object name="room3" type="door" x="711" y="312" width="47" height="71">
<properties>
- <property name="info" value="Under construction"/>
+ <property name="info" value="You need a Tower Key to open this door."/>
+ <property name="key" value="tower"/>
+ <property name="level" value="castle-hawkthorne-room-3"/>
+ <property name="to" value="main"/>
</properties>
</object>
- <object type="info" x="2169" y="522" width="55" height="78">
+ <object name="room4" type="door" x="1600" y="312" width="47" height="71">
<properties>
- <property name="info" value="Under construction"/>
+ <property name="info" value="You need a Blue Tower Key to open this door."/>
+ <property name="key" value="bluetower"/>
+ <property name="level" value="castle-hawkthorne-room-4"/>
+ <property name="to" value="main"/>
</properties>
</object>
</objectgroup>
- <objectgroup name="platform" width="98" height="40">
+ <objectgroup draworder="topdown" name="platform" width="98" height="40" visible="0">
<object x="0" y="600">
<properties>
<property name="drop" value="false"/>
View
3  src/nodes/materials/keyshardbottom.lua
@@ -0,0 +1,3 @@
+return{
+ name = "keyshardbottom",
+}
View
3  src/nodes/materials/keyshardtop.lua
@@ -0,0 +1,3 @@
+return{
+ name = "keyshardtop",
+}
Something went wrong with that request. Please try again.