Fix position explosion
This commit is contained in:
parent
c370f3576d
commit
2e976a3948
4
main.lua
4
main.lua
@ -96,9 +96,7 @@ function love.update(dt)
|
|||||||
sounds.die:play()
|
sounds.die:play()
|
||||||
explosion.animate = true
|
explosion.animate = true
|
||||||
explosion.x = spaceship.x
|
explosion.x = spaceship.x
|
||||||
explosion.y = spaceship.y[spaceship.pos_frame]
|
explosion.y = spaceship.y[spaceship.pos]
|
||||||
print(explosion.x)
|
|
||||||
print(explosion.y)
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user