ERROR in action number 3 of Mouse Event for Glob Left Button for object obj_Player: Error in expression:point_direction x,y_mousex_mousey position 1: Unknown variable point_direction ___________________________________________ ERROR in action number 3 of Mouse Event for Glob Left Button for object obj_Player: Error in expression:point_direction x,y_mousex_mousey position 1: Unknown variable point_direction
Hey, I was wondering what I did wrong... Everytime I try testing my game, my guy just spins around in circles, I can walk towards the most and shoot, but he just spins..? I was wondering what I did wrong :P ???? Please help...
have you put image_index = direction /5 in the Step event of the obj? if not he would only spin around as in an Animation. because with image_index = direction /5 you are simply dividing the direction number into frames.
this is pretty much my first game so i've been taking some lessons from all the tutorial on youtube. Basicly I need to know the y,x coordernates for an object to make a bullet fly towards it
Allright ill make an Tutorial on how to define your enemy's X and Y. Do you want an Advanced Tutorial ( this will be going about how to define different instances with the same obj_* name ) or just simple with only one obj_ at the time?
MrPivits 2 years ago
you have point_direction x,y_mousex,mousey
but it needs to be point_direction(x,y,mouse_x,mouse_y)
glad to help
comepost 2 years ago
woot!
zzdesolatezz 2 years ago
that was alot of help thx soo much!!!!!
but one thing, with my shooting, the bullets stop at my mouse and it glitches up.
can u help me??
linkrox4 2 years ago
Sure can you tell me how you created your shooting?
comepost 2 years ago
what do u mean? i did it the same way u did...
linkrox4 2 years ago
then it shouldnt stop at your mouse ??
comepost 2 years ago
i know but it did...
linkrox4 2 years ago
check if you have done ererything right if not try again, sorry thats all i can give you
comepost 2 years ago
Hey, I was wondering what I did wrong... Everytime I try testing my game, my guy just spins around in circles, I can walk towards the most and shoot, but he just spins..? I was wondering what I did wrong :P ???? Please help...
mommyimacow 2 years ago
have you put image_index = direction /5 in the Step event of the obj? if not he would only spin around as in an Animation. because with image_index = direction /5 you are simply dividing the direction number into frames.
comepost 2 years ago
it would be cool if you'd make a "progress" video on that game! like what there is so far and the trouble your encountering :o
InterCoreStar 2 years ago
Ill make it right away
comepost 2 years ago
cool
InterCoreStar 2 years ago
i'm having alot of trouble making my ENEMY shoot bullets. Also making the enemy shoot "homing missles" towards the main player
InterCoreStar 2 years ago
Ohw what kind of trouble? you see ive just finished my advanced AI work on the game i was talking about.
comepost 2 years ago
this is pretty much my first game so i've been taking some lessons from all the tutorial on youtube. Basicly I need to know the y,x coordernates for an object to make a bullet fly towards it
InterCoreStar 2 years ago
Allright ill make an Tutorial on how to define your enemy's X and Y. Do you want an Advanced Tutorial ( this will be going about how to define different instances with the same obj_* name ) or just simple with only one obj_ at the time?
comepost 2 years ago
Umm...how about you do both at the same time?? lol
InterCoreStar 2 years ago
its online ^^
comepost 2 years ago
yeh the annotations helped alot, but i still could use some sprites...lol
InterCoreStar 2 years ago
maybe you shud add some "read along annotations" again. When you're writing the code, some things are a little blurry, even in high detail.
InterCoreStar 2 years ago
Ofc ill be right on it !
comepost 2 years ago
do you have any TDS sprites I can use? like the player or an enemy? i'm a crappy pixel artist =\
InterCoreStar 2 years ago
Hm wel i could try to make an Pixel tut.. i'll see what i can do.
comepost 2 years ago
omg..thank you..
InterCoreStar 2 years ago
Np if you have any further questions I'd like to help ^^
comepost 2 years ago