Hello random person (Allow me to apologize if this is all a bit lengthy...)
Basically, I've seen tutorials for pausing and tried to apply their method to my own game.
Works fine... until Trigger Events happen, such as the good'ol classic case of : pressing left causes the character to face left even when pausing!
So, at first, I thought "Well then, let's put everything at risk under a "is game not paused" condition, so that everything works out Right?"
... Aaaaaaaaaaand it did. I could feel a smile on my face. For once.
Until my paranoid self got the better of me and started rapid-firing dat pause button, to see if it truly did work. Survey says : NOPE. We're still suffering from a bad case of Trigger Trouble!
You see, I'm working on a very uninspired platformer that gets inspiration on things you've all seen before five billion times after they were done to death... for the first time... roughly an abonimation that would only see the light of day if the Mario, Kirby and Castlevania franchises got together for some nighttime fun... unprotected.
And there's that one enemy that does just this :
-Jumps when on the ground
-Has a landing animation when it... well... lands
-And goes back to jumping when that's over
Problem is, if you just so happen to pause right when "->On Landed" should happen... it doesn't happen, our little guy doesn't get to experience their landing animation, leading it to awkwardly slide along the floor and if that doesn't look silly, I don't know what does! But I do know what this issue in particular does to me! ...'Makes me sad. But that's not exactly the most relevant thing in this whole text you probably want to see the end of, right?
Anyway, is there a way to fix this that I'm missing because I'm stupid (as usual), or do I have to let the nice gentlemen that will play my "game" suffer because their is no way to have two trigger events play at the same time, that is... when I actually put up some kind of demo... at the very least... To see if this is even worth it in the end.
10 years from now, probably.
I'm just a bit lazy and unsure about my ideas, on top of being rather unhappy with everything going on (or lack thereof) in my life. Kind of funny I can't even muster enough motivation to do the one thing I could consider a realizable dream, heehee