Tutorial 7: How to make your character shoot towards your mouse in Game Maker 8
Loading...
6,946
Loading...
Uploader Comments (masteranimation2008)
see all
All Comments (45)
-
thnx, bro
-
hey man i can't catch all codes!anyone avable to help???
-
help me my guy goes through the wall and he doesn't move towards my mouse
-
how do u make your character move
-
is there a way to make it shoot towards an object instead of mouse?
-
@TheLiam236 lol you spelt mouse wrong
-
THANK YOU SO MUCH WORKED 100%
-
this sucks, it wont even point to my mouse
will only point in opposite direction :(
-
hello when i followed every step in your video and it works fine but when i try to shoot it says this
ERROR in
action number 1
of Create Event
for object Bullet:
Error in expression:mouce_x position 1: Unknown variable mouce_x
CAN U HELP ME?
-
Lol all those error are self explanatory :P
Loading...
Do you need pro version for this?
robertjackFunEvideo 1 year ago
@robertjackFunEvideo I have the lite version, so what do you think? If you have the pro version, skip the animating part and change the following line(s):
image_index=direction-90;
to:
image_angle = point_direction(x,y,mouse_x,mouse_y);
masteranimation2008 1 year ago
ERROR in
action number 1
of Mouse Event for Glob Left Pressed
for object Snopp obj 1:
Error in code at line 1: f=instance_create(x,y,sperma_obj) ^
at position 23: Unknown variable sperma_obj
What should i do=?
AnonymGangster 1 year ago
@AnonymGangster It's pretty much self-explanitory really, make sure sperma_obj actually exists as an object and that the object is named like that, not the sprite.
masteranimation2008 1 year ago
@masteranimation2008 when it's done loading my arrow is autotmaticly moving the character instead of me clicking in that spot, this means it is shooting off
thecamraeye 1 year ago
@thecamraeye It's intended to be like that...
masteranimation2008 1 year ago