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

projectile

  1. K

    GML [Solved]Problem: Projectile Won't Slow Down

    So I've got an object called obj_projectile that's supposed to be a bullet. What I'm trying to do is figure out how to slow down the bullet from another object or script. This is from the player object that creates the projectile to go in the direction you are facing. It works. (Who knows...
  2. A

    Legacy GM [Solved] Physics: How to shoot projectile towards mouse?

    Hello, I was previously making a game without physics, but now I decided to try convert my code to physics. I got movement and enemy movement done, but I am having issues with shooting. This was my shooting code before physics: var spread = 8; var dir = point_direction(x, y, mouse_x, mouse_y)...
  3. T

    Projectile powerup

    How do I make a power up that makes the player able to shoot projectiles, and after some time the powerup runs out and you can't use the projectiles?
  4. N

    shoot per 10 frames instead of each frame

    Hello! I am wanting to find a way to shoot with 'Mouse Left Button action' rather than with the 'Left Button Pressed' action, as I'd rather not have to click a bunch of times. With 'Mouse Left Button action' it seems that it fires each frame. I would like to fire say.. every 3 frames instead...
  5. Z

    Projectile Piercing

    Hello Community! Can I have any assistance in making this projectile system, my idea was to enable my projectiles to hit multiple enemies but only deal damage once, my script works but when 2 enemies are within each other it starts to screw up instantly killing 2 of them. this is my script...
  6. mar_cuz

    Legacy GM Instance nearest in direction

    Hi Guys, I'm making a top down game and I'm trying fire a projectile at the nearest instance in my current direction only. The instances I'm trying to fire at are different but share the same parent. I'm trying to use the parent as the target so I can just hit the nearest instance in my...
  7. S

    Legacy GM (SOLVED) Projectile tail's spacing is off

    can someone tell me why my first projectile is way ahead of the rest of its tails? they should be evenly spaced but it seems something is getting messed up in the code I was trying to debug it but the variables are always in a different order and the watches tab is broken here is my project It...
  8. VentKazemaru

    Legacy GM how to make a projectile return to sender?[solved]

    Trying to figure out projectiles properties. if it's tagged to be destroyable, it would be able to be destroyed when attacked if it's tagged reflect, it would return back to it's shooter. But how to do this? I figure using instance_nearest and move_towards_point would be an option. but then...
  9. Weastøne Entertainment

    Setting up a projectile [solution found]

    We're experimenting a "nice" trouble; projectiles. We tried solving this by using collisions (https://forum.yoyogames.com/index.php?threads/change-collision-depending-on-the-sprite-gms-1.12080/) but we prefer to go back and ask you "how would you design a projectile". They can move in 4...
  10. D

    Legacy GM HELP Player Dodging a Projectile

    Hey! If I want to include a dodgine mechanism, example the player presses "E" and when he does the player gets out of the way and even if a projectile touches him it "misses" and goes past him. Would that be done with an if statement in a collision with the projectile? Would I use an if...
  11. Luke Pierson

    instance_create after audio cue

    Hey folks! Got another question. Is there a way to have an object be created after an audio cue? If so, help on coding that would be stupendous! :) My goal is to get an enemy to shoot a projectile and play a sound for it BEFORE it shoots. Initially, I tried making a visual cue, but I want to...
  12. T

    Legacy GM Mouse aiming and bullet trajectories in isometric game

    I've tried to google for a mathematical solution to my problem, but I've drawn a blank. I'm working on an "isometric" shooter game, which means that the x and y-axis are different lengths. I've managed to get the bullet ranges to work, i.e. they fly twice as far on the x-axis as they do on the...
  13. X

    Legacy GM Transfer local impulse or force

    I belive I've made a thread about this before, although I did not get any help there really and it seems like it was a tough nut to really comprehend. I'm talking in terms of recoil and impact force which get applied by shot projectiles at a target or basically an enemy or yourself. Obviously...
  14. S

    Windows Arrow physics, make them stick into things

    So I made a little game and the last thing that's missing is arrows sticking to the objects they hit. This isn't the first place I went for lazy answer. I literally searched everywhere, trying to make it on my own always ended up really ugly and sometimes it even didn't. So any help would be...
  15. S

    Making bullets move at speed relative to the player

    I cannot find anywhere for a way of making projectiles move at speed relative to the player game maker so if the player is moving fast to the right and the player fires to the left, the bullet will move slowly to the left and if the player fires to the right, the bullet will move even faster to...
  16. X

    Legacy GM Physics based recoil?

    I've been trying to set up a recoil for when I shoot a projectile for my game. The game is physics based and currently the projectile, after being spawned in will trigger an alarm, which will occur after 1 frame upon it being spawned. Within the alarm is the following code: with(obj_hull) {...
  17. R

    Make an object go towards an object

    I'm trying to get a projectile object to go towards my player object. can't figure out how to do it. please and thanks. (not sure if i'm posting this in the right place, i'm new here)
Top