• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

crouch

  1. CapuccinoMachine

    GameMaker position_meeting not reading properly?

    First time poster, hope I'm doing this right. I'm making a platformer where the character can duck and slide when pressing down. However, when you duck under a block and let go of down, you clip into the block. I'm using "position_meeting" instead of "place_meeting" to detect when a block...
  2. A

    Legacy GM [State Machine] Crouch Animation Loop

    How do I stop my crouch animation at the last frame? I tried setting it up like this and it still loops. // Get Input scr_jpgetinput(); // Crouch Animation sprite_index = sp_jplayercrouch; image_speed = 0.4 if sprite_index = sp_jplayercrouch && image_index = 6 { image_speed=0 } // State...
  3. A

    Legacy GM Is a crouch animation possible with this setup?

    Create: grav = 0.3; hsp = 0; vsp = 0; jumpSpeed = 5; moveSpeed = 3; Step: // Get input key_Left = -keyboard_check(vk_left); key_Right = keyboard_check(vk_right); key_Jump = keyboard_check_pressed(vk_up); key_Crouch = keyboard_check_pressed(vk_down); // Use input move = key_Left + key_Right...
  4. M

    Need help with Object Movement Error

    In my game I want the Star Wars Jawa you play as to be able to crouch down when you use the Left Shift key. All the movement and everything works good, including the jumping and switching to crouch mode, except when he stands back up the only thing he can do is jump. I have it set to when L...
  5. Z

    Crouching

    I would like to make a feature where you would be able to crouch by holding down a certain buton, I have looked everywhere and haven't found a suitable thread. All help is appreciated! ~ Thanks :)
  6. S

    Trying to figure out how to make my character crouch.

    So I've got a script that contains all of the player's movement, animations, collisions, etc., and it works just fine. I'm pretty new to programming in gml. I'm trying to make my character crouch when the player presses and holds the down key, but I can't figure out how to get it to work...
  7. I

    I want to make a new state and switch to it

    I created a new state called scr_crouch_state and want to make my character switch to it from scr_move_state by pressing a button. I already made a whole bunch of code about it but accidentally deleted it. I don't really regret it because it was actually flawed. For example,when I pressed the...
Top