for shooting towards the mouse, there is an event called "global mouse left"
in this event, add an action called "create object moving". select the obj_bullet
(by now you should have this object created) X:mouse_x, Y:mouse_y ,speed:30
and your done. add enemies with a collision event to the bullet and add destroy instance:self.
You can use the geometric line functions to make a 'laser'. Check if the obj_enemy collides with the laser-line.
force
I think an object vibrates to make sound.
One way to make an object slow down is by applying force to the object
the object your holding is an object.
Depends. You could have it make a new object, for bullets as an example, you could have it make a line, for lasers as an example, you could have it do all sorts of things.
A sprite cannot do anything. If you meant "How do you make anobject shoot in game maker 7?" then it's easy.Create an object for your bullet and give it a sprite. Then in the object you want to shoot the bullet add a "create instance with motion" actionwith the bullet specified.Alternatively you could use a "create instance" action and then add an on creation, "move" action to the bullet.
A sprite cannot contain code.
by doing programming and cordial
Create a bullet object and then use Create Moving Instance (I think that's what it's called)Should hopefully soon be merged with How_do_you_make_a_player_shoot_in_a_Game_Maker_gameUntil then, check out the answer over there.
Je moeder is gay.
use the instance_create function
Create a bullet object and then use Create Moving Instance (I think that's what it's called)Should hopefully soon be merged with How_do_you_make_a_player_shoot_in_a_Game_Maker_gameUntil then, check out the answer over there.
First Make a Sprite of the question make it an object, same with the answer
Have it move without gravity keeping it on the ground.
with (instance_create(x,y,objecttobecreatedbehind)){depth = objectinfront.depth + 1;}
in code:move_towards_point(object.x,object.y,speed)