Add bitmaps and wider map

This commit is contained in:
Mikko Ahlroth 2014-10-18 16:05:34 +03:00
parent d48f877269
commit 12a2d4ea74
2 changed files with 3 additions and 3 deletions

View file

@ -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

View file

@ -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;
}