Removed a couple debug messages
This commit is contained in:
parent
d34dc7ced0
commit
d80964f52b
2 changed files with 2 additions and 3 deletions
|
@ -49,7 +49,6 @@ ComputerPlayer = Class{
|
||||||
ang < math.pi + math.pi / 2 then
|
ang < math.pi + math.pi / 2 then
|
||||||
local needLift = self.plane.body:getY() > 400
|
local needLift = self.plane.body:getY() > 400
|
||||||
if needLift then
|
if needLift then
|
||||||
print("Ang", ang)
|
|
||||||
if ang < math.pi + math.pi / 2 then
|
if ang < math.pi + math.pi / 2 then
|
||||||
wantCw = true
|
wantCw = true
|
||||||
elseif ang > math.pi + math.pi / 2 then
|
elseif ang > math.pi + math.pi / 2 then
|
||||||
|
|
|
@ -122,7 +122,7 @@ Plane = Class{
|
||||||
--x 0 y 0 mass 860.00006103516 inertia 158194.140625
|
--x 0 y 0 mass 860.00006103516 inertia 158194.140625
|
||||||
|
|
||||||
local x, y, mass, inertia = self.body:getMassData()
|
local x, y, mass, inertia = self.body:getMassData()
|
||||||
print("x", x, "y", y, "mass", mass, "inertia", inertia)
|
--print("x", x, "y", y, "mass", mass, "inertia", inertia)
|
||||||
|
|
||||||
for frame = 0,35 do
|
for frame = 0,35 do
|
||||||
self.frames[frame] = love.graphics.newImage(string.format("resources/graphics/plane-%04d.png", frame))
|
self.frames[frame] = love.graphics.newImage(string.format("resources/graphics/plane-%04d.png", frame))
|
||||||
|
@ -166,7 +166,7 @@ Plane = Class{
|
||||||
end;
|
end;
|
||||||
|
|
||||||
setPowerUpMode = function(self, powerupmode)
|
setPowerUpMode = function(self, powerupmode)
|
||||||
print("Got powerup!")
|
--print("Got powerup!")
|
||||||
self.powerupmode = powerupmode
|
self.powerupmode = powerupmode
|
||||||
self.powerupmode:activate(self)
|
self.powerupmode:activate(self)
|
||||||
end;
|
end;
|
||||||
|
|
Loading…
Reference in a new issue