small fix to run in 0.10
This commit is contained in:
@@ -23,7 +23,7 @@ function love.load()
|
|||||||
images.viper = lg.newImage('img/viper.png')
|
images.viper = lg.newImage('img/viper.png')
|
||||||
--tmp
|
--tmp
|
||||||
lg.setPointSize(10)
|
lg.setPointSize(10)
|
||||||
lg.setPointStyle("rough")
|
--lg.setPointStyle("rough") --WAS REMOVED IN 0.10, FIND ITS REPLACEMENT
|
||||||
|
|
||||||
fleet[1] = bsg()
|
fleet[1] = bsg()
|
||||||
for i=1,8 do
|
for i=1,8 do
|
||||||
@@ -124,7 +124,7 @@ local timing = -33
|
|||||||
local paused = false
|
local paused = false
|
||||||
function love.update(dt)
|
function love.update(dt)
|
||||||
if paused then return end
|
if paused then return end
|
||||||
dt = dt * 10 --temporary accelerated
|
dt = dt --* 10 --temporary accelerated
|
||||||
timer = timer + dt
|
timer = timer + dt
|
||||||
if timer >= 1 then
|
if timer >= 1 then
|
||||||
timer = timer - 1
|
timer = timer - 1
|
||||||
|
Reference in New Issue
Block a user