Shooting A Bullet Out Of The Tip
Started by torigara, Oct 30 2007 01:46 PM
66 replies to this topic
#61
Posted 20 April 2011 - 02:27 AM
Still one of the best examples on this site. Good work!
#62
Posted 16 May 2011 - 11:45 AM
Wow after ages trying to grasp this lengthdir_x function I came across this 4 year old tutorial and within minutes it all made sense, thanks man you've really helped me with understanding it and how to use this properly.
big hugs, peace and love
big hugs, peace and love
#63
Posted 12 July 2011 - 10:36 PM
I wanted to give you my thanks, as I used this to help my friend out and today had to use it for my own project. I've had it bookmarked for quite some time now and was an excellent discovery. Thank you so much!
-Bretboy129 ~ Bret Hudson
-Bretboy129 ~ Bret Hudson
#64
Posted 02 March 2012 - 06:55 PM
bullet_id = instance_create(x, y, obj_bullet);
bullet_id.direction = image_angle;
bullet_id.speed = 10;
If your turret is facing up (you want to shhot up) then you add + 90 this will go 90 degrees counter clockwise e.g
bullet_id = instance_create(x, y, obj_bullet);
bullet_id.direction = image_angle + 90;
bullet_id.speed = 10;
and if yours is facing down then add - 90
and if yours is facing left then add +180
#65
Posted 13 May 2012 - 04:08 AM
FREAKIN' AMAZING.
Thank you for the original post from 2007. Works great in GM8! Thanks!
Thank you for the original post from 2007. Works great in GM8! Thanks!
#66
Posted 14 May 2012 - 04:09 PM
Worked instantaneously, thanks!
#67
Posted 17 April 2013 - 11:43 PM
Ancient post, but I learned a lot. Thanks! ![]()
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users











