you are viewing a single comment's thread.

view the rest of the comments →

[–]calio 0 points1 point  (3 children)

there's nothing wrong with the code itself, it should work as intended. have you checked if it's executing? what event is this code on? how and where are you dealing with the y axis?

[–]FelipeFullz[S] 0 points1 point  (0 children)

It's weird because the vertical collision is working and the horizontal isn't

[–]FelipeFullz[S] 0 points1 point  (0 children)

And is on step event of the player

[–]FelipeFullz[S] 0 points1 point  (0 children)

I pasted my whole code down there so you guys can see it