GameMaker Studio 2 Desktop

GameMaker Studio 2 Desktop

Reyniki Dec 2, 2017 @ 11:03am
Player Sprite sticking to platforms (DnD)
Hi, I just bought Gamemaker Studio and I'm trying to make a simple platformer to start off. However, my player sprite keeps getting stuck on the side of the platforms (as long as I keep holding the left/right key against the platform, the player doesn't fall down)

I want the player to slide down the side of walls and I accomplished this by making several wall sprites with different interactions. But the sprites that are "corners" still have a vertical section that the player can stick too and pretty much wall jump.

Does anyone know how to fix this with the new Drag and Drop feature? I'm not good at coding.
< >
Showing 1-2 of 2 comments
M I R U L Dec 12, 2017 @ 4:53am 
You can try by making your sprite mask into rectangle, this is a better practice. Go to youtube and search Shaun Spalding, you can pick up GameMaker skill from him. Goodluck and all the best.

https://www.youtube.com/user/999Greyfox
Last edited by M I R U L; Dec 12, 2017 @ 4:54am
SLMEPHI[GER] Dec 12, 2017 @ 5:34am 
i wouldn't use drag and drop, if you read and look a few vides about coding in gml you will see fast that you can make with direct coding in gml much more and often much easier then with DnD. the problem you have is that the game tries to let the player fall but the collider for the floor is triggering while you press to the wall. if you set a manual colliding system with 1 px away from the enemy you don't have this problem. also with gml you can get much better colliding systems then with DnD.
< >
Showing 1-2 of 2 comments
Per page: 1530 50

Date Posted: Dec 2, 2017 @ 11:03am
Posts: 2