Skip to content

Commit

Permalink
Centered various walls
Browse files Browse the repository at this point in the history
  • Loading branch information
Vasek Escaron Hodina committed Jul 2, 2016
1 parent b27be40 commit e789e39
Show file tree
Hide file tree
Showing 19 changed files with 15 additions and 104 deletions.
Binary file removed assets/font_aenigma/editundo.fon
Binary file not shown.
Binary file removed assets/font_aenigma/editundo.ttf
Binary file not shown.
89 changes: 0 additions & 89 deletions assets/font_aenigma/editundo.txt

This file was deleted.

Binary file removed assets/font_aenigma/edundot.fon
Binary file not shown.
Binary file removed assets/font_aenigma/edundot.ttf
Binary file not shown.
Binary file removed assets/font_aenigma/edunline.fon
Binary file not shown.
Binary file removed assets/font_aenigma/edunline.ttf
Binary file not shown.
Binary file removed assets/lunchtime-doubly-so.zip
Binary file not shown.
Binary file added assets/world/templates/ceiling.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 assets/world/templates/floor.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 assets/world/templates/front1_template.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 assets/world/templates/front2_template.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 assets/world/templates/front3_template.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 assets/world/templates/front4_template.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 assets/world/templates/side1_template.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 assets/world/templates/side2_template.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 assets/world/templates/side3_template.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 assets/world/templates/side4_template.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
30 changes: 15 additions & 15 deletions worldScreen.lua
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ local WS = {}
map = require "map"
Party = require "Party"

local lWallCoords = {{4,4}, {4,24}, {4,74}, {4,124}}
local rWallCoords = {{900,4}, {900,24}, {900,74}, {900,124}}
local fWallCoords = {{4,4}, {128,24}, {240,74}, {296,124}}
local lWallCoords = {{4,4}, {4,24}, {4,68}, {28,108}}
local rWallCoords = {{900,4}, {900,24}, {900,70}, {876,108}}
local fWallCoords = {{4,4}, {120,28}, {236,72}, {308,108}}
local party = 0
local local_map = 0
viewMatrix = 0
Expand All @@ -21,21 +21,21 @@ end


function WS:loadWorldScreen()
floor = love.graphics.newImage("assets/world/dm2/floor.png")
roof = love.graphics.newImage("assets/world//dm2/ceiling.png")
floor = love.graphics.newImage("assets/world/templates/floor.png")
roof = love.graphics.newImage("assets/world//templates/ceiling.png")

front_wall1 = love.graphics.newImage("assets/world/dm2/front1.png")
front_wall2 = love.graphics.newImage("assets/world/dm2/front2.png")
front_wall3 = love.graphics.newImage("assets/world/dm2/front3.png")
front_wall1 = love.graphics.newImage("assets/world/templates/front1_template.png")
front_wall2 = love.graphics.newImage("assets/world/templates/front2_template.png")
front_wall3 = love.graphics.newImage("assets/world/templates/front3_template.png")

left_wall1 = love.graphics.newImage("assets/world/dm2/side1.png")
left_wall2 = love.graphics.newImage("assets/world/dm2/side2.png")
left_wall3 = love.graphics.newImage("assets/world/dm2/side3.png")
left_wall4 = love.graphics.newImage("assets/world/dm2/side4.png")
left_wall1 = love.graphics.newImage("assets/world/templates/side1_template.png")
left_wall2 = love.graphics.newImage("assets/world/templates/side2_template.png")
left_wall3 = love.graphics.newImage("assets/world/templates/side3_template.png")
left_wall4 = love.graphics.newImage("assets/world/templates/side4_template.png")

lft_wall1 = love.graphics.newImage("assets/world/dm2/side1alt.png")
lft_wall2 = love.graphics.newImage("assets/world/dm2/side2alt.png")
lft_wall3 = love.graphics.newImage("assets/world/dm2/side3alt.png")
lft_wall1 = love.graphics.newImage("assets/world/templates/side1_template.png")
lft_wall2 = love.graphics.newImage("assets/world/templates/side2_template.png")
lft_wall3 = love.graphics.newImage("assets/world/templates/side3_template.png")

end

Expand Down

0 comments on commit e789e39

Please sign in to comment.