Running in GameMaker Studio 2

  Рет қаралды 3,710

GameMaker Casts

GameMaker Casts

Күн бұрын

Пікірлер: 17
@tobiasclayden
@tobiasclayden 5 жыл бұрын
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
@GameMakerCasts
@GameMakerCasts 5 жыл бұрын
Sounds like a great idea :D
@sheeplavender3261
@sheeplavender3261 5 жыл бұрын
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!
@lukesoup27
@lukesoup27 2 жыл бұрын
5:32 that's the exact problem I'm facing. So how do I fix it???
@GameMakerCasts
@GameMakerCasts 2 жыл бұрын
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?
@lukesoup27
@lukesoup27 2 жыл бұрын
@@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
@GameMakerCasts
@GameMakerCasts 2 жыл бұрын
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.
@lukesoup27
@lukesoup27 2 жыл бұрын
@@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
@ahuaaaa
@ahuaaaa 5 жыл бұрын
Nice video, thnak you.
@Asillyhyena
@Asillyhyena Жыл бұрын
I need help, i keep getting stuck in the walls, is there any fix?
@GameMakerCasts
@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
@Asillyhyena Жыл бұрын
alright, i need the discord link & i will do so!@@GameMakerCasts
@GameMakerCasts
@GameMakerCasts Жыл бұрын
You can hit me up at mickifer on discord. if that doesn't work try discord.gg/VDuZ9QDq for the channel
@Asillyhyena
@Asillyhyena Жыл бұрын
@@GameMakerCasts alright I'll do that tomorrow, it's getting later
@jizosgoescrazy
@jizosgoescrazy 4 жыл бұрын
But if I don't use maxspeed ?
@GameMakerCasts
@GameMakerCasts 4 жыл бұрын
You will need something to control how fast you are able to go. What are you using?
@jizosgoescrazy
@jizosgoescrazy 4 жыл бұрын
@@GameMakerCasts walksp
How to create a Melee Attack in GameMaker Studio 2
9:20
GameMaker Casts
Рет қаралды 15 М.
How to make a Camera for any GameMaker game in 4 minutes
3:58
Sara Spalding
Рет қаралды 57 М.
Quando A Diferença De Altura É Muito Grande 😲😂
00:12
Mari Maria
Рет қаралды 45 МЛН
I Made the Same Game in 8 Engines
12:34
Emeral
Рет қаралды 4,4 МЛН
Let's Program Doom - Part 1
25:13
3DSage
Рет қаралды 469 М.
How To Make Platformer Movement in 5 Minutes
5:27
GameMaker
Рет қаралды 92 М.
The Tragic Decline Of Firefox...What Happened?
12:34
Logically Answered
Рет қаралды 165 М.
Can I 100% Superliminal and Get a Refund?
23:36
Gronf
Рет қаралды 380 М.
Endless Runner [made in GameMaker Studio 2 the easy way]
25:45