Add bitmaps and wider map
This commit is contained in:
parent
d48f877269
commit
12a2d4ea74
2 changed files with 3 additions and 3 deletions
2
conf.lua
2
conf.lua
|
@ -5,7 +5,7 @@ function love.conf(t)
|
|||
t.modules.joystick = false
|
||||
|
||||
t.window.title = "Fysplane"
|
||||
t.window.width = 1024
|
||||
t.window.width = 1280
|
||||
t.window.height = 768
|
||||
t.window.resizable = false
|
||||
|
||||
|
|
|
@ -50,8 +50,8 @@ Level = Class{
|
|||
insertGround = function(self)
|
||||
groundImg = love.graphics.newImage('tiles/grasstop.png')
|
||||
|
||||
for i = 0, 64, 1 do
|
||||
Rectangle(i * 16, 768, self, "static", 0, 16, 16, 0, groundImg)
|
||||
for i = 0, love.window.getWidth() / 16 + 1, 1 do
|
||||
Rectangle(i * 16, love.window.getHeight(), self, "static", 0, 16, 16, 0, groundImg)
|
||||
end
|
||||
end;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue