R
RoscoeIII
Guest
Hello, I'm brand new to GML and don't know much about the coding. I've tried looking up countless tutorials and can't find not ONE that can show me how to get an image to just shoot straight, like that of a bullet hell game.
I'm testing the waters and for some reason in my Test, my bullet object wont shoot straight instead and shoots to the right of the player object and I cant find any code to change that and have it just shoot straight. Any help would be appreciative.
Here is the code attached the the Player Object under the Event "Space-Press." :
beam1 = instance_create(x,y,obj_beam1);
beam1.direction = image_angle;
beam1.image_angle = image_angle;
beam1.speed = 15;
player object moves up and down and head of the object always points forward on the Y axis, Bullet shoots to the right every time, I want it to go straight.
Thank You.
I'm testing the waters and for some reason in my Test, my bullet object wont shoot straight instead and shoots to the right of the player object and I cant find any code to change that and have it just shoot straight. Any help would be appreciative.
Here is the code attached the the Player Object under the Event "Space-Press." :
beam1 = instance_create(x,y,obj_beam1);
beam1.direction = image_angle;
beam1.image_angle = image_angle;
beam1.speed = 15;
player object moves up and down and head of the object always points forward on the Y axis, Bullet shoots to the right every time, I want it to go straight.
Thank You.