question: my character collides fine now, but when colliding they then slide endlessly into the void. I think this has to do with the move.spdDir in my script.
move.spdDir(moveSpeed, inputDirection);
i have it like that due to when adding it how you have it listed above, I receive errors and am unable to run the game. I'm unsure how to fix, I've tried deleting this code but it breaks the collision entirely.
tried changing to xSpdySpd and changing what's in the function as move.spdDir(vSpeed, hSpeed); but every time it just causes the player to endlessly skate. I'm not sure what to place in the () to prevent sliding and errors
← Return to script
Comments
Log in with itch.io to leave a comment.
question: my character collides fine now, but when colliding they then slide endlessly into the void. I think this has to do with the move.spdDir in my script.
move.spdDir(moveSpeed, inputDirection);
i have it like that due to when adding it how you have it listed above, I receive errors and am unable to run the game. I'm unsure how to fix, I've tried deleting this code but it breaks the collision entirely.
tried changing to xSpdySpd and changing what's in the function as move.spdDir(vSpeed, hSpeed); but every time it just causes the player to endlessly skate. I'm not sure what to place in the () to prevent sliding and errors
I am a moron, changed it to move.spdDir(0, 0) and that fixed it jesus i'm so stupid
lol. Glad you got it working
Appreciate everything you do, PixelatedPope! Woulda been lost without this collision code
se puede usar para game maker 2.3.7
??
Yeah, it should work in any version after 2.3
Give it a shot and report back!
I've been struggling with my collision code, this worked flawlessly once i figured out how to apply it. thank you.
hey i hope your still reading the comments, how do you do *both* tile & object based collision?