i believe in you <3
wwklnd
21
Posts
2
Following
A member registered Jan 20, 2018 · View creator page →
Creator of
Recent community posts
Learn Godot's GDScript From Zero comments · Replied to Mari Solazo in Learn Godot's GDScript From Zero comments
Learn Godot's GDScript From Zero comments · Replied to Mari Solazo in Learn Godot's GDScript From Zero comments
Learn Godot's GDScript From Zero comments · Replied to wwklnd in Learn Godot's GDScript From Zero comments
Learn Godot's GDScript From Zero comments · Replied to Mari Solazo in Learn Godot's GDScript From Zero comments
I would assume (based on my experience with Python, which GDScript is similar to) that the first example does not work because the order of execution is different. In that example, when "take_damage(amount)" is called, "amount" is first subtracted from "health", then it checks if health is lower than 0, then it checks the level and changes the "amount" after the original "amount" has already been subtracted. I hope that makes sense.
pito 7-2: turn of the century 2 jam comments · Posted in pito 7-2: turn of the century 2 jam comments
Propaganda Of Of Of Of Of Of Of Of Of Of Of Of Of Of Of Of Of Of Of Of Of Of Of Of Of Of Of Of Of Of Of jam comments · Posted in Propaganda Of Of Of Of Of Of Of Of Of Of Of Of Of Of Of Of Of Of Of Of Of Of Of Of Of Of Of Of Of Of Of jam comments
