#plus gdscript is such a fucking fun language
Explore tagged Tumblr posts
gaylittolfreak · 3 years ago
Text
programming is fucking hard. im making a tiny little boss rush game (kinda like cuphead but top down and in a swimming pool) in godot and its been going like literally perfectly but theres no wait function in godot. i cant just have a piece of the code wait for a certain number of milliseconds before it continues. like they have something like it but it can send a shit ton of errors if the enemy dies before the yield function can complete so its just not the best move to have as the basis of every attack yk. so now i have to use timer nodes and its just like bro how? how am i supposed to make it so specifically it does this set of code but not that set of code until the timer is done, then it does that code, then after the timer for that code, it goes back to idle. like how do i do that efficiently? cause either i use the stupid ass yield statement which sends errors if the enemy dies during it, or i have a shit ton of seperate timer nodes and functions for every instance of needing specific timing which is like all of it. and like my friend said he would do the art and shit but he just hasnt. and he has a life and all i get that but like bro 😭 hes fucking lucky im enjoying coding lol
4 notes · View notes