as someone who is returning to GM after 4 years this series is extremely helpful to see what has changed in movement and collisions. So a huge thank you from me
@matthewlawton92419 ай бұрын
"The coyote man, he tries to hit the chikin and he misses"... ~chef's kiss~
@seabeast39659 ай бұрын
You rock for making this series! This is already the best platformer tutorial I've come across for gamemaker, absolutely stoked to be following along with this 👏
@peytonburnham43169 ай бұрын
Thank you!! I'm glad you're liking it!
@wumfumblus9 ай бұрын
been loving this series so far! excited to see the next vid!!
@coxyofnewp9 ай бұрын
This is just what I needed to help me get my movement sorted for a platformer I been wanting to make for a while.. Many thanks and keep up the amazing content..
@dennyforthewin9 ай бұрын
Thanks for posting this series. Its been fun and easy to follow along.
@alexschamban55994 ай бұрын
This series is by far the best and most well put together gamemaker tutorial I have come across! thank you so much
@lksxxtodin52924 ай бұрын
if you set the coyoteHoldFrames to zero then the jump just stop working. That's because every time you add the gravity you change onGround to false, that would be every frame. You could make a simple check like: if ( coyoteHangFrames >= 0) { setOnGround(false); }
@geekpotion5 күн бұрын
sadly this was the end of the road for me, never got coyote to work and now my jump wont work either, Gonna need to revisit this project but it want be today.
@katincko6 ай бұрын
may God bless u bro, this is one of the only coding tutorials that i understood completely. Thanks brah
@DJaycerOfficial9 ай бұрын
You’ve reminded me that I hate the word coyote. Either way I now know what coyote time is. And its origin.
@funmaster84599 ай бұрын
Thank u so much
@johnniefinney32669 ай бұрын
I'm just curious if you had some videos or KZbinrs that could educate on art/drawing sprites. The thing about your series is that I've seen pretty much everyone of your videos and even have some bookmarked basically to where my problem lies not in the mechanics but the art because Im terrible at sprites
@peytonburnham43169 ай бұрын
I don’t personally have any videos or have first hand experience with pixel art youtubers but there should be plenty!! I would just say do a little bit of searching for tutorials and ALSO take looks back at your favorite pixel art games and really look at how they’re drawn and animated!
@johnniefinney32669 ай бұрын
@@peytonburnham4316 thanks
@AnthonyGourmand7 ай бұрын
Hey I watched your tutorial on the coyote jump and I wanted to try doing it solo before watching how you did it but I realized that you put a lot more variables than I thought so I wanted to know if what you think knowing that the result is the same. So her was my code : for the create section: coyotejump = 5; coyoteHangFrame = coyotejump; For the step section: //Coyote jump if !place_meeting(x, y + 1, obj_wall) && coyoteHangFrame > 0 { coyoteHangFrame-=1;} //count jump if you fall into the air if !place_meeting(x, y + 1, obj_wall) && jump_count =0 && coyoteHangFrame=0 { jump_count = 1} else if place_meeting(x, y + 1, obj_wall){jump_count =0; coyoteHangFrame =coyotejump} //Multiple jump if jump_count < max_jump && space_key { jump_count += 1 yspeed = -power_jump; }
@ShaolinMonkster9 ай бұрын
What a legend.
@HauteOroute8 ай бұрын
Making our first game step by step with you is a real please to do! Impressive how fast you manage to analyse what''s wrong in your code when you do a mistake. Do you use the debug mode sometimes to see what's happening? I'm struggling a bit with this part.
@SouryaLeFunentoi9 ай бұрын
Let's gooooo!
@CraigHodson-e8m2 ай бұрын
1 spelling mistake cost me an hour again, at least it works now. on to the next
@NicheXCCАй бұрын
What word was it?
@Clownin-round2 ай бұрын
I put in all the code for the first half of the video to get the coyote jump working, but neither the hang time nor the jump buffer are doing anything. I might be blind or something
@geekpotion5 күн бұрын
Did you ever find a way around this? I have the same problem.
@Milu_Indie7 ай бұрын
"People don't like me, so in my video I do whatever I want hahahah very cool!"
@WicaugenАй бұрын
HE TRIES TO GET THE CHICKEN?!?
@lost504 ай бұрын
Peyton, did you realize the pink square's bottom is slightly below the platform's top?
@lksxxtodin52924 ай бұрын
That's a sub pixel problem. Gamemaker is drawing on the application surface (that are the size of the screen most of the time), so one pixel in the surface is the size of many pixels because of our resolution. So, lets say, the application's dimensions are 1280 width and 720 height and our camera is 320 width and 180 height, so the size of one pixel in camera will be actually 4 pixels in the application, and if I am 1.5 pixels down (because of the _subPixel variable), there are space in the application for it, but in reality they are just fine. Hope you get it! I'm not so good at teaching
@lost504 ай бұрын
@@lksxxtodin5292 it can easily be fixed. If player bbox_bottom is > platform.bbox_top, then set player y = platform.bbox_top
@lost504 ай бұрын
@@lksxxtodin5292 fix: if player.y > ground.bbox_top, then player.y = ground.bbox_top
@ethanstefura53593 ай бұрын
I spent about 20 mins rewatching trying to understand where i went wrong... This is what I caught after three full reviews of the step event + create event: //Y Movement //Gravity if (coyoteHangTimer > 0) { //Count the timer down coyoteHangTimer--; } else { //Apply gravity to the player yspd += grav; //we've realized we're no longer on the ground setOnGround(false); } yspd += grav; Just a reminder to everyone to take a break from looking at your code once in awhile when you're trying fix or find a problem. Otherwise you might end up as a goof like me!!
@SpaceBittt5 ай бұрын
the Coyote Time isnt working because im adding gravity everytime im not jumping but, if i make variable jumping just cut of the JumpHoldTimer, it won,t actually be a variable jump height, and i have no idea why, even tho the code's the same
@orions29085 ай бұрын
I'm able to double jump now for some reason, despite setting the jumpMax to 1
@orions29085 ай бұрын
nevermind setting onGround to false after initiating the jump fixed
@o2arya1047 ай бұрын
Man m running into a problem with the collisions when my pink square sometimes gets stucks in the walls while jumping and wouldn't move until told to move in the opposite direction. Don't know where i messed up. Pls help!
@lazydust11006 ай бұрын
Tbh, i don’t know how to solve it. I think you should pay a big attention to the variables(specially about the coyote´s variables bc it could be very easy to confuse each of them) as i has a similar problem to yours and i saw that i confuse the coyoteJumpFrames variable with the coyoteJumpTimer. It was five minutes ago that i figure it out 😂
@matthewlawton92419 ай бұрын
This video appears to have broken the jump buffer. It no longer functions for me no matter how large I make it...
@peytonburnham43169 ай бұрын
Good catch!! It's actually not broken but may not be working how you expect it to, which is something I wish I had noticed. As long as you're holding the button, the buffer still works, so you still don't have to be as precise with your button timing, but if you just want to tap the button, basically the jumpHoldTimer will be reset the second the player hits the ground. So if you want to change that behavior just move the code commented as "//Cut off the jump by releasing the jump button" (where we set the jumpHoldTimer to 0) AFTER the next little bit of code labeled as "Jump based on the timer/holding the button" and that'll fix it! Thanks for pointing this out to me!
@matthewlawton92419 ай бұрын
@@peytonburnham4316Thank you so much for replying! And for this series, it's been incredible!
@matthewlawton92419 ай бұрын
@@peytonburnham4316 Not that you probably needed it said, but for my fellow new coders, this worked perfectly!
@Sentientashtray9 ай бұрын
Hell yeah
@peytonburnham43169 ай бұрын
💅🏻
@skippy15002 ай бұрын
I finished this tutorial and the player doesn’t have a delay and I can double jump when falling of a ledge even though I set my jumps to only 2. Anyone know what might’ve caused this?
@azuli44409 ай бұрын
HELLO
@peytonburnham43169 ай бұрын
HELLO
@XaraHollowKnight3 ай бұрын
my character is stuck on the ground now how do i fix this
@CraigHodson-e8m2 ай бұрын
did you figure this out? ive got jumpMax of 2, it lets me jump once, then no more jumping
@XaraHollowKnight2 ай бұрын
@@CraigHodson-e8m nope, i just removed coyote time all together. my character's floaty anyway, it'd be hard to notice
@CraigHodson-e8m2 ай бұрын
@@XaraHollowKnight I figured it out. I had an "x" where there should have been a "y".
@XaraHollowKnight2 ай бұрын
@@CraigHodson-e8m OOOOHHHHh, nice
@dparon1272 ай бұрын
I'm having the same issue, I hit space to jump and it comes up as illegal array use at gml_Object_Obj_o_Player_Step_0 (line 84) - if yspd > termvel { yspd = termvel}
@BeardedHokage1886 күн бұрын
I ma having a weird issue, it may be discussed later or another video. I am 9 minutes in here. this is my error: ERROR in action number 1 of Step Event0 for object oPlayer: Push :: Execution Error - Variable Index [-1] out of range [2] - -6.jspd(100026,-1) at gml_Object_oPlayer_Step_0 (line 92) - yspd =jspd[jumpCount-1]; ############################################################################################ gml_Object_oPlayer_Step_0 (line 92) This is happening when I spam the jump button and I am using an array for 2 jumps. I can tell, I think, that this error is happening because its trying to get to an array that does not exist and causing it to crash. Is there a way to fix this so when people spam jump it doesnt crash? I discovered this initially when I fell off a platform, and tried to double jump. and then loaded back again and spam jumped and got it.