Skip to content

Commit

Permalink
Finished chapter 3's box
Browse files Browse the repository at this point in the history
  • Loading branch information
Maiori44 committed Oct 27, 2021
1 parent 7b1b97f commit 2f80926
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Binary file modified Sprites/Chapter 3/box.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions main.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VERSION = "Version 89 BETA 1.1"
VERSION = "Version 90 BETA 1.1"

if love.filesystem.isFused() then
love.filesystem.mount(love.filesystem.getSourceBaseDirectory(), "Source")
Expand Down Expand Up @@ -524,7 +524,7 @@ tilesets = {
description = {
[TILE_CUSTOM1] = "+15\nAdds 15 seconds to timer",
[TILE_CUSTOM2] = "BOX\nWill spawn a pushable box in this tile",
[TILE_CUSTOM3] = "BOX CONTAINER THING\nIf all of these tiles are covered by boxes the level will be completed"
[TILE_CUSTOM3] = "WIP\nDoes nothing for now"--"BOX CONTAINER THING\nIf all of these tiles are covered by boxes the level will be completed"
},
collision = {
[TILE_CUSTOM1] = true,
Expand All @@ -537,7 +537,7 @@ tilesets = {
tilemap[y][x] = TILE_FLOOR1
end,
[TILE_CUSTOM2] = function(x, y)
SpawnObject(boxsprite, x, y, "box", nil, nil, nil, nil, 5)
SpawnObject(boxsprite, x, y, "box", GetQuads(5, boxsprite), "hp", nil, nil, 5)
tilemap[y][x] = TILE_FLOOR2
end,
[TILE_CUSTOM3] = nil
Expand Down

0 comments on commit 2f80926

Please sign in to comment.