Stick Page Forums Archive

I need some help [ACTIONSCRIPT 2.0 (I think)]

Started by: Bonk | Replies: 1 | Views: 446 | Closed

Bonk
2

Posts: 2,778
Joined: Mar 2008
Rep: 10

View Profile
Jul 8, 2009 1:08 PM #455484
I'm making a sort of top down shooter game, and so far regarding shooting, my bullet correctly spawns on command and facing the right angle (calculated using the mouse coordinates), but I've run into a real problem now: no matter what I do, I can't get the bullet to move in the right direction. Everything I've tried has the bullets flying in crazy directions at ridiculous speeds.

All I need is the few simple lines of code that use trigonometry to figure out and propel the bullets in the direction they're facing. Help please!
Bonk
2

Posts: 2,778
Joined: Mar 2008
Rep: 10

View Profile
Jul 10, 2009 5:40 AM #456649
K solved, stop responding guys!
Website Version: 1.0.4
© 2025 Max Games. All rights reserved.