Hey great video! What I find sometimes easier with inverted bool for example at 4:00 is to write the positive way and then wrap the whole thing with a not () so it would be not( plant unlocked or pumpkins unlocked)
You are right! That's a cool tip! Tiny note though, and I might be wrong here (again), but I think here the positive case is (planting unlocked AND pumpkins unlocked). But the idea remains the same. Thanks again :)
@KedrigernGaming no problem! Do you have a discord? I'm a programmer by trade so wouldn't mind helping you out or review some code if you want to get a second pair of eyes on something?
It is always nice to watch this game and code pulling on your brain, but it is nice to see your process of the leaderboard because the journey is funny part.😂
If I had to guess *pass* is "skip this iteration". For example in JS a loop can *return, break, or continue,* which is "exit the function", "exit the loop", "skip this iteration". There is also a way to create pausable stateful loop but it's more convoluted, involves generators.
Yeah you are right. I am used to empty if statements being fine. But here it's...not fine :D so I learned the 'pass' command somewhere near the start of this Drone journey.
Hey great video! What I find sometimes easier with inverted bool for example at 4:00 is to write the positive way and then wrap the whole thing with a not () so it would be not( plant unlocked or pumpkins unlocked)
You are right! That's a cool tip!
Tiny note though, and I might be wrong here (again), but I think here the positive case is (planting unlocked AND pumpkins unlocked). But the idea remains the same. Thanks again :)
@KedrigernGaming no problem! Do you have a discord? I'm a programmer by trade so wouldn't mind helping you out or review some code if you want to get a second pair of eyes on something?
That's nice of you thanks! Currently don't use discord though. And feel like me messing this up may be actually even quite entertaining lol
It is always nice to watch this game and code pulling on your brain, but it is nice to see your process of the leaderboard because the journey is funny part.😂
Thank you! Hard to convey my thoughts clearly so I hope it's not that much of a mess. But maybe that's what makes it more fun!
@KedrigernGaming It is at least made my thoughts less confusing and I could piece together more.
If I had to guess *pass* is "skip this iteration". For example in JS a loop can *return, break, or continue,* which is "exit the function", "exit the loop", "skip this iteration".
There is also a way to create pausable stateful loop but it's more convoluted, involves generators.
Yeah you are right. I am used to empty if statements being fine. But here it's...not fine :D so I learned the 'pass' command somewhere near the start of this Drone journey.
Pass just means "do nothing", it's not gonna skip anything
these videos are great! keep up the good content.
Thank you so much!! Will do my best!