bullet

  1. R

    Windows Mouse sight problem

    I need some help! the bullet is not firing at the center of the crosshairs all the time. It was working I bought a new monitor and I'm still using it at the same 1920 x 1080 resolution it may not be related to the monitor it may be a game maker update! the crosshair and bullet are set to "middle...
  2. M

    GMS 2 Making an enemy shoot at a specific direction

    So i have like a sniper that i want to shoot at a certain place (so the player has to jump over the shots) And i saw a thread about this which said i needed to add this code to the "create" section of the guy whos shooting the bullet: firingdelay = room_speed/6; alarm(0) = room_speed * 5...
  3. N

    GMS 2 How does everyone make bullet collisions?

    Hi! Recently I tried creating a space game but noticed most of my bullets are passing through certain areas of the collision mask. I was wondering how does everyone make these collisions? Is there a better way to do it than using the GMS collision? Could it be that my resolution is the...
  4. V

    Windows FATAL ERROR on shooting bullets

    i am very new to programming and so i am following a tutorial to learn the beginnings. but now i made a gun and a bullet, this bullet contains 2 frames. but when i am in the game and i shoot the game crashes and the Memory usage skyrockets to over 3GB while my game freezes. after that i get...
  5. E

    SOLVED Problems with a code

    Hello, i speak spanish so my english is very bad,i have a problem, i wanna make a shooter game and i cant. Because "instance_create" its variable and not a function. i see tutorials and forums, and they have "instance_create" in orange. Hola, hablo español así que mi ingles es bastante malo...
  6. N

    SOLVED Please help make my bullets spread

    I'm trying to have my gun's bullets spread out upon firing. I found an awesome code that make the bullets spread out but it's universally and my cursor doesn't control it by this code: for(i=0;i<=360;i+=360/"number of projectiles") { n = instance_create(x,y,obj_bullet) n.direction = i; }...
  7. N

    SOLVED Please help making enemy bullets faster over time.

    I created an object bullet that in the create event shoots towards the player //create event acceleration = 1; move_towards_point(obj_player.x,obj_player.y,acceleration); in the step event, I thought by increasing acceleration, it would make the bullet faster. the first time i set up a series...
  8. B

    Player doesn't shoot on bigger room sizes

    Hi everybody, I need a help to fix a problem on my platform-shooter game project that i'm working on. The player in the game should fire when the left mouse button is pressed and when the mouse is pointed within the game area. The shooting system works perfectly as long as the height of the room...
  9. FoufaDjo

    GMS 2 Help With Bullet Collision line

    so am trying to make a fast bullet collision for my game but i have problem with targiting the enemy object sometimes i i think its becaue that the event_preform start sometimes when the enemy object is destroyed so the collision event cant find the enemy id if you guys have any idea to how to...
  10. F

    Procedual GenerationBullet Collision

    So I have a procedual generated level and am trying to get collisions working for the bullets. My trouble is that I am using a ds grid and am unable to find a way to get it into the scope of the bullet object as it wont let me access it there and gives me an error saying the object is undefined...
  11. Rahiokawines

    GMS 2 Platformer gun not firing at certain angles when on ground (Resolved)

    I have this problem where my bullets (Ninja Stars) will not fire when on the ground, specifically when I'm pointing to the right. I've tried changing the size of the bullets, but it showed little difference. Please help!
  12. D

    GMS 2 Collision Event + place_meeting [SOLVED]

    Hello everyone! The problem I have faced with is more or less common, but I didn't find any solutions for my case. I create bullet object and it has a speed. As far as I know, the speed determines the distance in pixels where object would be drown every step. So if the bullet has speed 6, and...
  13. S

    GMS 2 I need help with homing missiles

    I'm making a shoot 'em up which is coming a long nicely, but I want to add homing missiles. It's easy enough to make the enemies shoot them, but I want them for the player. Everything online seems to be for Game Maker 1.4. I have a general idea what I need to do but it's not working.
  14. M

    Bullet collides but not at the same time

    i set a certain type of bullet stop when it collides with a wall, but for some reason in the next step its not colliding with it, this happens randomly but i never use rng(except for visual effects) obj_bullet step event: var block; block = instance_place(x,y,obj_solid); if (block != noone){...
  15. M

    Bullets not spreading correctly

    im making some test attacks, one of them is this: alarm 0: var bull; for(bull = 200; bull != -300; bull -= 100){ with instance_create(x,y,obj_bullet){ direction = point_direction(x,y,obj_playerparent.x,obj_playerparent.y + bull); } } and the result was exactly what i want, if...
  16. Carloskhard

    GMS 2 Normal collisions on phy world

    So I have a space game that uses physics for collisions and interactions between the ship and rocks. The results are super nice, however, for bullets and other enemies I don't use the build-in physics because they give me too much problems and it is easier without it. So I'm making collisions...
  17. O

    Legacy GM Perfect Bullet Collision

    Hello all! This is my first post since the last forum page went down. I haven't quite practiced GMS since then and I am looking for help with bullet collisions. I have looked for similar threads on here but with no luck in figuring out how to do it. The trouble I am running into is either one...
  18. D

    GMS 2 Fatal error in collision between player and bullet

    So i have decided to give my boss bullets so he could damage and annoy the player. It was all working right until one of my colleagues decided to test it. Everything was going ok until he boosted against one of the bullets which prompted the error I thought at first it had to deal with the...
  19. S

    Windows Ascended Dark Matter (Bullet Hell/Shoot Em' Up)

    Hello everybody <3 Demo Build Feb 23rd, 2019 Link: https://drive.google.com/file/d/1h7LHCEqE0rhjzo0g3HwbTuzhTkNhCbsf/view?usp=sharing Company FB page: http://fb.me/Caspiancatgames Gameplay Video: Be sure to watch it in 720p with 60FPS These are the controls: Ascended Dark Matter is a...
  20. M

    Trying to rotate bullets with the player

    Im trying to make my character shoot in a straight line but i cant make make the bullets rotate when the player is rotating too: --------------------------------------------------------------------------------------------------------------------------------------------------- firingdelay = 0...
Top