Using Paths alongside a Solid object to move a platform around in a specific way? #48
Answered
by
TrianglyRU
ManeaterMildred
asked this question in
Q&A
-
Beta Was this translation helpful? Give feedback.
Answered by
TrianglyRU
Nov 8, 2024
Replies: 1 comment 8 replies
-
I've never used Paths but I think it has something to do with the code execution order and how the Path system works. You need to make sure objects moves along the path first, then obj_act_solid() is executed. I'd be grateful if you attach your project file so I can take a look whenever I have time to deal with this kind of stuff |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Okay, so, according to the GameMaker docs:
This means, we should do a workaround. Simply using End Step event won't work correctly due to how GameMaker executes events between objects, TLDR; we need to make sure it is somehow run after the Step Event but before
c_framework
's End Step EventTo do this, open
c_framework
, End Step, and add the code below right before thewith obj_player
loop (so it will be basically the very first thing End Step will do there):