modifié : main.lua
This commit is contained in:
parent
9c97866043
commit
31d42806f4
2
main.lua
2
main.lua
@ -75,7 +75,6 @@ function love.update(dt)
|
|||||||
|
|
||||||
if love.keyboard.isDown("space") then
|
if love.keyboard.isDown("space") then
|
||||||
tir = true
|
tir = true
|
||||||
PosPersonnage.tirY = PosPersonnage.Y
|
|
||||||
end
|
end
|
||||||
|
|
||||||
if tir == true then
|
if tir == true then
|
||||||
@ -84,6 +83,7 @@ function love.update(dt)
|
|||||||
|
|
||||||
if Pistol > love.graphics.getWidth() then
|
if Pistol > love.graphics.getWidth() then
|
||||||
Pistol = PosPersonnage.tir
|
Pistol = PosPersonnage.tir
|
||||||
|
PosPersonnage.tirY = PosPersonnage.Y
|
||||||
tir = false
|
tir = false
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user