+ 7
Break statement not working
I tried doing a while loop in my game but I noticed it doesnt stop so I addeda break statement the loop still loops it doesnt stop is something wrong? break if fpa < 0 || bossd < 0 end
5 Respostas
+ 7
@ChaoticDog Thanks ^.^ I'll try to often use then statement for break now :D
+ 6
No It's on Ruby haha and yes I actually misplace a end statement which is similar to ; or } in C Languages Thank you Its fixed now :D
+ 6
All good the game is done and released it's beta version :D
+ 2
put semicolon :p
+ 1
if fpa < 0 || bossd < 0 then
break
end