Help for a tug of war game.
Posted: Sun Jun 24, 2018 4:51 pm
So im just trying to make a simple game. Which is a Tug of War game. Everything works but, when x==-10 or x== 10 it should say which side wins but it doesnt.
if x == -10 then
text = "red wins! Please wait"
love.timer.sleep(2)
x = 0
text = ("Keep Smashing")
end
here is the code. If anyone can tell me what i did wrong, and correct me that be nice. Also it change by increments of 1.
if x == -10 then
text = "red wins! Please wait"
love.timer.sleep(2)
x = 0
text = ("Keep Smashing")
end
here is the code. If anyone can tell me what i did wrong, and correct me that be nice. Also it change by increments of 1.