attacking

  1. E

    Legacy GM change sprite when button is pressed

    .
  2. B

    Design Attacking in the air, to use gravity or not - best practices

    Several 2D games allows players to jump. While aireborne, attacking can be designed in a few ways: 1. While airborne and pressing "attack", hsp=0; vsp=0; and the attack animation/hitbox happens. (ignore physics and attack) 2. While airbone and pressing "attack", player continues to move upward...
  3. D

    GameMaker how to make object remember collisions?

    Nevermind, I figured it out just now.
  4. NimNom1234

    Game runs extremely slow

    Hi. I'm having a problem in my game. If i spam the attack button, the game slows down to fractions of 1 fps. Help? Thanks :)
  5. NimNom1234

    Trouble with attack animation (AGAIN!)

    Okay So another member of this forum helped me with my problem a day or two ago. I feel his instructions were helpful but i did something wrong. Im trying to get my character to play through his attack animation once at the press of the space bar. However, every time i press the space bar, he...
  6. G

    Asset - Objects Attacking with knockback (Now for free!)

    Marketplace link: https://marketplace.yoyogames.com/assets/6108/attacking-with-knockback Are you making an action rpg? Need knockback? Then this is for you. Attacking and knockback. In the video below you can see it in action. Unfortunately I'm not good at animating so it maybe doesn't look so...
  7. B

    GameMaker [SOLVED] Trouble with attacking animations

    I'm pretty new to GMS2 and I'm not even sure if I'm posting this in the right place but I'm having some trouble with the attacking animations for my game. I've set it up so that you press space to attack but the full animation only works if you press space at the exact same time as when you...
  8. P

    Legacy GM [SOLVED] Attack only work when I'm holding "attack_key"

    ///scr_move_state scr_get_input(); //Movement phy_rotation = -point_direction(x,y,mouse_x,mouse_y) global.rotation = phy_rotation var xaxis = (right_key - left_key); var yaxis = (down_key - up_key); // Get direction var dir = point_direction(0, 0, xaxis, yaxis); // Get the length if(xaxis ==...
  9. K

    GML Trouble with attack while moving

    Im currently having trouble getting my character to attack while he is moving. 1. I can get him to move and attack separately 2. I can get him to start the attack animation and move while the animation is going but I CANT get him to start the attack animation while mid movement, and after I...
  10. Luke Pierson

    Nevermind

    Discovered my error. Can't find a way to delete this post
  11. P

    beginner cant seem to get code to work

    So ive recently started using game maker studios and have been watching a few tutorials. I have been able to make my player power up and kill enemies by jumping on them but his sword swing attack doesn't work. Any help would be greatly appreciated. Here is the code ( and the code in /// is just...
  12. W

    Multi attack key

    So I decided against actually making my character's attacks a series of just 1 then 2 then 3 in favor of just having a few different slashing animations that all are done with the 'A' key, in addition to a stabing attack, and a hammer drop kinda animation. The spear and hammer are fine, trouble...
Top