Game maker studio 2 tutorial

broken image
broken image

Maybe my code is super naive and I’m not doing it right either, but moving platforms don’t have to be difficult.

broken image

Some rely on the fact that, due to gravity, the player will naturally follow a downward moving platform (which is odd, and wrong), whilst others don’t even try to explain the vertical moving platforms at all. I’ve seen a lot of bad implementations of moving platforms in GameMaker Studio, especially the vertical moving platforms. But to this date, I still haven’t found it.

It might very well be a sneaky bug in my code. I’m confident that YoYo will get back to me with some good news but in the meantime I’m publishing this article anyway… because this is how I make moving platforms 🤷‍♂️ If I had to make a wild guess, I’d say that the MacOS runner has some weird bug about nested context and recursion that makes it lose track of who’s doing what, eventually crashing without any warning. Along with YoYo Games we are currently investigating the culprit. The following code will probably break on MacOS.