1. ashurlee

    Issues occurring when using walk animation

    I have just created a walk animation for my character, which I initially implemented using this piece of code... if (hspd != 0) || (vspd != 0) && (sprite_index != spr_hairdresser_walk) { sprite_index = spr_hairdresser_walk; } else if (hspd = 0) && (vspd = 0) && (sprite_index !=...
  2. anjai

    Windows Animation / sprite change with sprite_index

    Hi, I have two moving objects in my document: obj_playerA and obj_playerB (playerA sticks to the bottom and and playerB to the top, both can only move left, right or jump). I used the same animation code for both, except for small changes, like any vertical stuff. For some reason it works for...
  3. F

    Block walking diagonally

    Is there a way to block my character from walking diagonally? I just want that he walks to left, right, up and down and he already does it, but he also walks diagonally.
  4. sinigrimi

    Graphics how to draw realistic walk?

    How to make walking more realistic? Are there any ways to emphasize the beginning of the foot? share your experience please
  5. L

    GMS 2 problem with walk system

    I'm trying to make a walking system where right, up, and down show the character facing right and left shows him facing left. When you move diagonally up or down to the right it works, but when you move either diagonally left/up or left/down, when you let go of the buttons, it automatically goes...
  6. H

    Grass animation while walking question

    Hi guys, i'm stuck with a problem. I've done an animation that "spit" grass when you are walking. But i can't figure out how to let the animation stop when you're not moving, it stand there even if my character is not moving. How can i do that? Thanks for the future answers!
  7. V

    Android Cant Jump and Run

    Hi, My Name is Colin and my Game doesnt work as I like. I got a simple way to move my object. Also i got a simple way to jump. Objects that you Need to know: obj_left (to walk to left) obj_right (to walk to right) obj_up (to jump) obj_player (player) Walk Way: In both objects is one simple...
  8. C

    GML Sprite walk animation not working?

    I'm relatively new to GML, so bear with me. I'm coding my player's movement/animation etc etc but the problem is, while the player moves and switches to the correct sprite according to the key pressed, the sprite doesn't actually animate. I know I'm doing something wrong but I'm not sure what...
  9. NoConnection_

    Drag And Drop Enemies won't continue walking after they break a wall

    Hi. I'm pretty new to Game Maker, i've watch a couple of tutorial videos to get an idea of the program and mess around with the interface. Anyways i've started a project and found my self a problem. I've been trying to fix this problem but I couldn't, i've searched about this but found nothing...
  10. M

    My player sprite doesn't walk

    I am working on a new project recently I have made a sprite and I animated it, but when I typed in some coding and run it, it doesn't walk (play the animation and move) I don't know how I can fix this can somebody help me?
  11. C

    The player moves too much when it start shooting while walking

    (Sorry for bad english) I know it is a especific problem, and it's a lot of code do analyze, but, i just don't know what to do. When the player is walking, and I command it to attack by pressing "X", he attacks, but in the moment I command it, before it starts to attack, it moves about 5...
  12. M

    setting transparency when walking behind object

    I want my tree sprite to turn transparent when the player walks behind it, but with place_meeting it checks for the collision area, not for the actual sprite area... if place_meeting(x,y,character){ image_alpha = 0.5; }else{ image_alpha = 1; } so right now it only turns the tree transparent...
  13. Posho

    Android How Would You Do A Pedometer or Detect IRL Walking?

    I'm working on a little something that could benefit from counting walking, but I have no idea if it's even possible to do in Studio 1 or 2. The only idea I have is to do something similar to Pokémon GO by somehow using the Google Maps api or GPS and checking location changes and lengths...
  14. D

    Question - D&D How to get perfect walking animations using D&D?

    Making a top down game. Have tried using different sprites for when you stop walking the animation does the same. Now I only use 4 sprites for back, front, left, right but they are walking animations. I just use key pressed functions to change the sprite. This works ok, with a few glitches but...
  15. B

    Walk animated sprite not working

    I have a idle sprite and a walk sprite, Im new so dont judge me if this is sloppy xD. Well I want the sprite to swtich to the walk animation when I move a direction. So I went to object, then commands, and on a left and right key press I have it move in that direction at a speed of 10, and to...
  16. W

    Zombie Moon Walking/Walking Backwards(Solved)

    ///Sprite Zombie if(obj_enemy) mp_potential_step_object(obj_Player.x,obj_Player.y,1,obj_enemy) sprite_index = spr_ZombieMove image_speed = .5