• 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!

attack

  1. FlavoursGames

    Released Astropack Attack - Kill boredom moment

    Dear All, We are working on the perfect videogame for when you are going to take a loooong 💩💩💩💩! So if you need to kill boredom moment, Astropack Attack is released in Soft-Launch in 9 countries! In this game, with one touch, you try to avoid asteroids, comet, missiles, rockets, black holes...
  2. 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...
  3. S

    [SOLVED] How can I make limited attacks and change sprites?

    So for the past day I have been trying to figure out how to make a bomb attack but I had no luck. If you can, try to make this as simple as possible because im still new to gamemaker. What I need is that when you press 'spacebar' a bomb will place where the player is, and the sprite (used in the...
  4. E

    GameMaker Playing Full Animation

    Hello guys, i'm having some trouble making the animation play fully before it stops, right now this is what i have //Melee if (key_melee) { switch(dir) { case "right": spr_prev=sPlayerAtt; danoDelay = danoDelay -1; if (key_melee) and (danoDelay < 0)...
  5. 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...
  6. A

    GameMaker [SOLVED] Burn Damage

    I've been searching google and the forums to no avail. I'm trying to make an on burn effect that only lasts 3-5 seconds. I have used alarms, if statements, case statements, for loops, but have only managed to get the effect to run once or constantly without stopping. I might be going slightly...
  7. H

    Enemy Beam Attack - Help

    Hi guys, I hope i'm posting this in the right place. If not I will fix it. I'm creating a top down 2D action RPG and I'm trying to make an attack for an enemy that shoots a beam with a semi-circle type circumference that scales larger over time so that the hero can dash over it. Much like the...
  8. M

    Jumping and attacking [SOLVED]

    Hello guys: I was trying to figure out in GM2, how to perform a melee attack in the air maintaining the gravity and the previous horizontal and vertical speed. At the moment when I perfom the attack in the air the player stops in the air and execute the animation. This is the moving script...
  9. G

    Design What do you think about the "air-bounce" mechanic for my character's new air attack?

    Hello game devs, I'm just looking for feedback on this new attack I made for my game. Thanks!
  10. X

    Legacy GM (solved) end step event for attack so my player can move while playing animation

    script move state ///scr_move_State //input scr_get_Input(); //jump state //scr_player_jump_State(); // Check for ground if (place_meeting(x,y+1,par_solid)) { doublejump = 1; vspd=0; // Jumping if (key_jump) { vspd = -jspd } } // This is a else statment if the...
  11. I

    GML [Solved] Charged Attack With Sword

    Hello, I'm new to programming with Game Maker's GML. How would I go about creating a charged attack that can be released at any time until fully charged, where it will automatically attack, and deal damage to an enemy based on how long it is charged? I don't have much experience with this and...
  12. Luke Pierson

    Animation Pause Upon Attacking

    Hey all! I'm interested in emulating the brief pause that occurs in Hyper Light Drifter while attacking enemies. It gives a great sense of weight to the combat, something I'd like in my own game. How should I go about doing that?
  13. C

    Platformer Game: Attack animation doesn't work

    I have a problem with my attack animation here is the code: Information about object: obj_player Sprite: spr_player Solid: false Visible: true Depth: 0 Persistent: false Parent: Children: Mask: No Physics Object Create Event: execute code: ///Initialize Variables grav = 0.5; hsp = 0; vsp =...
  14. 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 ==...
  15. Luke Pierson

    Enemy Combo (Solved)

    Hello GM Community! Got a little question for you, concerning enemy states, attacks, and damage code not working correctly. So, the enemies in my game enter attack animations, and when they reach a certain image_index, they create a damage object with a sprite in the shape of their attack. I...
  16. D

    Legacy GM Help Completing Enemy Attack Animation

    Hey, I have an enemy attack animation set up and right now it's running if the player is within a certain range to him. My question is how can I have the enemy finish the animation, even if the player runs out of the attacking range? So if my attack animation is say 10 frames, how do I make...
  17. W

    Enemy Melee Attacks

    I want to know how to do enemy melee attacks with a cool down effect
  18. N

    [SOLVED]Flipping an hitbox that is an object

    Hello I was wondering how you are able to make a hitbox for a melee attack flip with a character when they face to the left in a sidescroller game. When the hitbox is enabled it only is created in the same place and dosen't shift position when the player does. Here is my code // Attack if...
  19. R

    Windows Problem with Attribute System

    Hello, I'm having trouble with adding an attribute system in an RPG I'm making. The stats include speed, attack, defense, and intelligence. I attempted using a debug window with a dialog box in which to input the stat desired when my Experience variable is greater than or equal to 100. This...
  20. J

    Diagonal movement in side scroller.

    Hello. I am working on a 2D side scrolling multiplayer game. What I am trying (and failing) to implement is a dash kick, or a dive kick if you will. I can't seem to make the player object move on the x-axis using my code. Here is my movement code: //Horizontal Collision if...
Top