Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR GDSCRIPT

gdscript while loop

var fuel = 1000
var speed = 0

while fuel > 0:
    speed += 0.12
    fuel -= 1

print("Top speed = ", speed)
Source by gdscript.com #
 
PREVIOUS NEXT
Tagged: #gdscript #loop
ADD COMMENT
Topic
Name
9+4 =