Can you do a video on adding a dash with a cool down, I really want to add one but when I tried it my character kept getting stuck in walls
@GameMakerCasts5 жыл бұрын
Sounds like a great idea :D
@sheeplavender32615 жыл бұрын
I need your help again! ive been following shaun spaldings' tile collision and slope tutorial. Is there a way for slopes and tile collisions to work while the player is 32x32 while the tiles are 16x16. furthermore is there a way I can make that work with obj_wall collisions? I've been trying really hard with no success. Please and Thank You!
@lukesoup272 жыл бұрын
5:32 that's the exact problem I'm facing. So how do I fix it???
@GameMakerCasts2 жыл бұрын
So the easiest way to do this is to keep track if the user is running. And then only allow the user to stop running when they are on the ground. Does that make sense?
@lukesoup272 жыл бұрын
@@GameMakerCasts it kinda makes sense, I guess. I can get my character to only run on the ground, but I want to keep momentum into a jump, which I don't know how to do
@GameMakerCasts2 жыл бұрын
pastebin.com/vzLx3ef6 I didn't try it just wrote it out. So logically once you turn "is_running" to true, the only way to have it go back is to be on the ground. And since is_running is true it will clamp at a higher value than the walk speed.
@lukesoup272 жыл бұрын
@@GameMakerCasts it almost works, but my character doesn't stop moving. I thought it was because of the += in h_movement += h_input * accel, but if I remove that, the character just doesn't run at all
@ahuaaaa5 жыл бұрын
Nice video, thnak you.
@Asillyhyena Жыл бұрын
I need help, i keep getting stuck in the walls, is there any fix?
@GameMakerCasts Жыл бұрын
You are mostly moving your character before you check for collisions. I can check out your code. All you have to do is hit me up on discord
@Asillyhyena Жыл бұрын
alright, i need the discord link & i will do so!@@GameMakerCasts
@GameMakerCasts Жыл бұрын
You can hit me up at mickifer on discord. if that doesn't work try discord.gg/VDuZ9QDq for the channel
@Asillyhyena Жыл бұрын
@@GameMakerCasts alright I'll do that tomorrow, it's getting later
@jizosgoescrazy4 жыл бұрын
But if I don't use maxspeed ?
@GameMakerCasts4 жыл бұрын
You will need something to control how fast you are able to go. What are you using?