Level: added bigger initial speed
This commit is contained in:
parent
a58a36803f
commit
314ffc89ad
2 changed files with 5 additions and 2 deletions
|
@ -23,8 +23,9 @@ Level = Class{
|
|||
love.graphics.draw(self.background)
|
||||
love.graphics.setCanvas()
|
||||
|
||||
self.planes = { [1] = Plane(100, 100, 100, 0, self),
|
||||
[2] = Plane(love.window.getWidth() - 100 - 100, 100, -100, 0, self),}
|
||||
self.planes = { [1] = Plane(100, 100, INITIAL_PLANE_SPEED, 0, self),
|
||||
[2] = Plane(love.window.getWidth() - 100 - 100, 100, -INITIAL_PLANE_SPEED, 0, self),}
|
||||
Rectangle(70, 250, self, "static", 0.1, 50, 50, 1, love.graphics.newImage("resources/graphics/box-50x50.png"))
|
||||
self:insertGround()
|
||||
end;
|
||||
|
||||
|
|
|
@ -34,3 +34,5 @@ SCOREBOARD_HEIGHT = 125
|
|||
SCOREBOARD_MARGIN = 20
|
||||
|
||||
ENGINE_MAX = 1000
|
||||
|
||||
INITIAL_PLANE_SPEED = 500
|
||||
|
|
Loading…
Reference in a new issue