Skip to content

Commit

Permalink
Bursar npc and shopping start
Browse files Browse the repository at this point in the history
Speakeasy, hologram and improvement start

Add the speakeasy, hologram, door fix, giant hand, fix for moving
platforms with multi sprites and start improvements

Bursar shopping state

Add todd and goat
  • Loading branch information
8bitgentleman committed Oct 6, 2015
1 parent 0e05544 commit 93c5d57
Show file tree
Hide file tree
Showing 56 changed files with 734 additions and 132 deletions.
Binary file added src/audio/music/computer-wing.ogg
Binary file not shown.
Binary file added src/audio/music/greendales-the-way-it-goes.ogg
Binary file not shown.
Binary file added src/images/enemies/billy.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/images/improvements/airplane.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/images/improvements/hologram-drugs.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/images/improvements/hologram-laser.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/images/improvements/hologram.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/images/improvements/shirleySandwich.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/images/npc/bursar.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/images/npc/bursar_menu.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/images/npc/hologram.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/images/npc/hologram_menu.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/images/npc/todd-sandwich.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/images/npc/todd-sandwich_menu.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/images/shopping/improvements.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/images/sprites/greendale/airplane2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/images/sprites/greendale/bar.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/images/sprites/greendale/bass.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/images/sprites/greendale/piano.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/images/sprites/greendale/profCornwallis.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/images/sprites/greendale/singer.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/images/sprites/greendale/speakeasy-sign.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/images/sprites/greendale/speakeasy-table-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/images/sprites/greendale/speakeasy-table-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/images/sprites/greendale/speakeasy-table-3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/images/tilesets/greendale-bursar.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/images/tilesets/greendale-exterior.png
Binary file modified src/images/tilesets/greendale-hallways.png
Binary file added src/images/tilesets/greendale-speakeasy.png
10 changes: 10 additions & 0 deletions src/items/improvements/airplane.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
return{
name = "airplane",
description = "New Airplane",
type = "improvement",
subtype = "improvement",
info = 'City College has started an aerial ad campaign. With a little money Greendale could start one as well!',
MAX_ITEMS = 1,
quantity = 1,
directory = 'improvements/'
}
10 changes: 10 additions & 0 deletions src/items/improvements/hologram.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
return{
name = "hologram",
description = "Pierce's Hologram",
type = "improvement",
subtype = "improvement",
info = "Before he passed Pierce donated money to install a hologram near the Library. Unfortunatly the Dean spent the money purchasing Honda products.",
MAX_ITEMS = 1,
quantity = 1,
directory = 'improvements/'
}
Empty file added src/items/improvements/init.lua
Empty file.
10 changes: 10 additions & 0 deletions src/items/improvements/shirleySandwich.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
return{
name = "shirleySandwich",
description = "Shirley's Sandwich Shop",
type = "improvement",
subtype = "improvement",
info = "Shirley's Sandwiches still needs some funding before it can open.",
MAX_ITEMS = 1,
quantity = 1,
directory = 'improvements/'
}
1 change: 1 addition & 0 deletions src/items/item.lua
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ function Item.new(node, count)
end

if not love.filesystem.exists(imagePath) then
assert(love.filesystem.exists(imagePath), "There is no image at the path ("..imagePath.."). Items require an image.")
return nil
end

Expand Down
18 changes: 12 additions & 6 deletions src/maps/admin-hallway.tmx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
</layer>
<layer name="collision" width="48" height="14">
<data encoding="base64" compression="zlib">
eJxjYBjaIJJpaONRMApGwSgYBQMDipkgeKDNoBR0Ae3vJOAGkJoOKManlhizYCCPaWjjUTCwAAD8ZCw+
eJxjYBjaIJJpaONRMApGwSgYBfhBBxMEUxsUM0EwLc2g1HxiQBfQjk4C9nQxIcIRn1pizIKBPKahjUfBwAIAizwtxw==
</data>
</layer>
<objectgroup name="nodes">
Expand Down Expand Up @@ -82,11 +82,6 @@
<property name="to" value="raveSwitch"/>
</properties>
</object>
<object type="info" x="336" y="216" width="24" height="48">
<properties>
<property name="info" value="This door is locked."/>
</properties>
</object>
<object type="info" x="528" y="216" width="48" height="48">
<properties>
<property name="info" value="These doors are locked."/>
Expand All @@ -105,5 +100,16 @@
<property name="sprite" value="wastebin"/>
</properties>
</object>
<object type="info" x="244" y="195" width="66" height="42">
<properties>
<property name="info" value="Do to a mix up in the records room all student records have been lost. As you know, our student records are stored on a Microsoft Paint file, which the Dean was assured was future-proof. | Meanwhile, our extended warranty is not being honored by the restaurant that used to be Circuit City and we are asking every student to re-register for their classes."/>
</properties>
</object>
<object name="bursar" type="door" x="336" y="216" width="24" height="60">
<properties>
<property name="level" value="greendale-bursar"/>
<property name="to" value="main"/>
</properties>
</object>
</objectgroup>
</map>
4 changes: 2 additions & 2 deletions src/maps/castle-hawkthorne-throne.tmx
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
<property name="red" value="0"/>
<property name="soundtrack" value="castle"/>
</properties>
<tileset firstgid="1" name="castle-hawkthorne" tilewidth="24" tileheight="24">
<tileset firstgid="1" name="castle-hawkthorne" tilewidth="24" tileheight="24" tilecount="800">
<image source="../images/tilesets/castle-hawkthorne.png" width="384" height="1200"/>
</tileset>
<tileset firstgid="801" name="collisions" tilewidth="24" tileheight="24">
<tileset firstgid="801" name="collisions" tilewidth="24" tileheight="24" tilecount="546">
<image source="../images/tilesets/collisions.png" width="632" height="512"/>
</tileset>
<layer name="sky" width="96" height="37">
Expand Down
64 changes: 64 additions & 0 deletions src/maps/greendale-bursar.tmx
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
<?xml version="1.0" encoding="UTF-8"?>
<map version="1.0" orientation="orthogonal" renderorder="right-down" width="22" height="14" tilewidth="24" tileheight="24">
<properties>
<property name="soundtrack" value="greendale-alt"/>
</properties>
<tileset firstgid="1" name="greendale-bursar" tilewidth="24" tileheight="24">
<image source="../images/tilesets/greendale-bursar.png" width="240" height="192"/>
</tileset>
<tileset firstgid="81" name="collisions" tilewidth="24" tileheight="24">
<image source="../images/tilesets/collisions.png" width="632" height="512"/>
</tileset>
<layer name="Background" width="22" height="14">
<data encoding="base64" compression="zlib">
eJwTY2BgEKMBVhhiWHQUj2IsmInK5mlBMQ8SmxpYfohhWpQ5IAwAWrQeqg==
</data>
</layer>
<layer name="Wall Features 1" width="22" height="14">
<data encoding="base64" compression="zlib">
eJxjYBgFo2AU0AuYQDEymxp4FEAAACiLBEU=
</data>
</layer>
<layer name="Wall Features 2" width="22" height="14">
<data encoding="base64" compression="zlib">
eJztzksLglAQhmHBtBK6mEHaDVwZuLKFQjcUtFWkP8mf3gvNIgRRaSd+8HBmDnOGoyhDhtTngituf+5RK32KDM8Wb0fQoGOMCaYwMJOZl5xv5Chqdnk4ST3HAkuYWMHCGpuGP4WIfvoAZ6ltONhihz0OOMKt7Lnj8VVSlzF1Ivdd4nec72s+YKoIZQ==
</data>
</layer>
<layer name="Tile Layer 6" width="22" height="14">
<data encoding="base64" compression="zlib">
eJxjYBgFo2BwAwsgtkQTA/IbgOINlJjrBMTOaGJAfoMTheaSCjyB2IueFg5jAABK1ASA
</data>
</layer>
<layer name="foreground" width="22" height="14">
<properties>
<property name="foreground" value="true"/>
</properties>
<data encoding="base64" compression="zlib">
eJxjYBgFo2AUDAVgCsRqDAwNqkCsAsTKQEwNc+2B2ABolj4Q6wGxLpXMHQgAAE2zBcE=
</data>
</layer>
<layer name="collision" width="22" height="14" visible="0">
<data encoding="base64" compression="zlib">
eJwLZGBgCKQBHgWjYBQQBg1AnA3FDWjipIA0GuGhBgD2nhIR
</data>
</layer>
<objectgroup name="nodes">
<object name="main" type="door" x="48" y="216" width="24" height="60">
<properties>
<property name="level" value="admin-hallway"/>
<property name="to" value="bursar"/>
</properties>
</object>
<object type="info" x="200" y="216" width="30" height="30">
<properties>
<property name="info" value="All they have are old issues of Dean Magazine"/>
</properties>
</object>
<object name="bursar" type="npc" x="408" y="204" width="72" height="36"/>
<object type="info" x="288" y="192" width="48" height="36">
<properties>
<property name="info" value="Official Greendale Campus Map"/>
</properties>
</object>
</objectgroup>
</map>
3 changes: 1 addition & 2 deletions src/maps/greendale-computer-wing-2.tmx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<property name="blue" value="159"/>
<property name="green" value="123"/>
<property name="red" value="104"/>
<property name="soundtrack" value="greendale-alt"/>
<property name="soundtrack" value="computer-wing"/>
<property name="title" value="Borchert Hallway"/>
</properties>
<tileset firstgid="1" name="greendale-computer-wing" tilewidth="24" tileheight="24">
Expand Down Expand Up @@ -37,7 +37,6 @@
<object name="main" type="door" x="288" y="192" width="24" height="72">
<properties>
<property name="level" value="greendale-computer-wing"/>
<property name="sound" value="false"/>
<property name="to" value="wing2"/>
</properties>
</object>
Expand Down
3 changes: 1 addition & 2 deletions src/maps/greendale-computer-wing-3.tmx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<property name="blue" value="159"/>
<property name="green" value="123"/>
<property name="red" value="104"/>
<property name="soundtrack" value="greendale-alt"/>
<property name="soundtrack" value="computer-wing"/>
<property name="title" value="Borchert Hallway"/>
</properties>
<tileset firstgid="1" name="greendale-computer-wing" tilewidth="24" tileheight="24">
Expand Down Expand Up @@ -37,7 +37,6 @@
<object name="main" type="door" x="552" y="192" width="24" height="72">
<properties>
<property name="level" value="greendale-computer-wing"/>
<property name="sound" value="false"/>
<property name="to" value="wing3"/>
</properties>
</object>
Expand Down
6 changes: 2 additions & 4 deletions src/maps/greendale-computer-wing.tmx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<property name="blue" value="159"/>
<property name="green" value="123"/>
<property name="red" value="104"/>
<property name="soundtrack" value="greendale-alt"/>
<property name="soundtrack" value="computer-wing"/>
<property name="title" value="Borchert Hallway"/>
</properties>
<tileset firstgid="1" name="greendale-computer-wing" tilewidth="24" tileheight="24">
Expand Down Expand Up @@ -45,7 +45,7 @@
<property name="info" value="Hello, rich people?"/>
</properties>
</object>
<object type="climbable" x="24" y="30" width="12" height="228"/>
<object type="climbable" x="24" y="60" width="12" height="198"/>
<object type="door" x="0" y="30" width="48" height="30">
<properties>
<property name="instant" value="true"/>
Expand All @@ -62,14 +62,12 @@
<object name="wing3" type="door" x="408" y="216" width="24" height="60">
<properties>
<property name="level" value="greendale-computer-wing-3"/>
<property name="sound" value="false"/>
<property name="to" value="main"/>
</properties>
</object>
<object name="wing2" type="door" x="216" y="216" width="24" height="60">
<properties>
<property name="level" value="greendale-computer-wing-2"/>
<property name="sound" value="false"/>
<property name="to" value="main"/>
</properties>
</object>
Expand Down
Loading

0 comments on commit 93c5d57

Please sign in to comment.