@nes32ify Make sure that when you draw the turret, it's facing to the right. There's a temptation to draw everything facing up - but rotation starts from the right in Flash!
You weren't drunk, you can see at timecode 12:50 "import flash.events.MouseEvent;" is not in the turret.as but after you type the fire function out at timecode 13:16 flash added it for you. I know this, because flash didn't add it for me and I thought I was drunk. Yay! Learning!
My turret points at another point, at the left of my mouse! How can I fix that?
nes32ify 4 days ago
@nes32ify Make sure that when you draw the turret, it's facing to the right. There's a temptation to draw everything facing up - but rotation starts from the right in Flash!
PointClickWin 4 days ago
@PointClickWin Tank you. Very good tutorials.
nes32ify 3 days ago
This has been flagged as spam show
You weren't drunk, you can see at timecode 12:50 "import flash.events.MouseEvent;" is not in the turret.as but after you type the fire function out at timecode 13:16 flash added it for you. I know this, because flash didn't add it for me and I thought I was drunk. Yay! Learning!
jaklucid 3 weeks ago
Thank you for share u knowledge.
Great! from brazil
walterbringer1986 1 month ago
This is a brilliant series, by the way, I learned more here than I did reading several books on AS3.
techkrill 4 months ago
@techkrill Hehe, maybe I should get writing then ;)
PointClickWin 4 months ago
This is the most helpful AS3 tutorial series I've found on youtube.
RELKONSTUDIOS 5 months ago