Forum Topic: Game shooting help

(92 views • 5 replies)

This topic is 1 page long.

<< < > >>
Angry

This-Is-Freedom

Reply To Post Reply & Quote

Posted at: 1/10/09 03:17 PM

This-Is-Freedom FAB LEVEL 06

Sign-Up: 07/18/08

Posts: 141

ok well im doing a overhead geometry wars type game and i need help with finding the script or tutorial on how to make it shoot

anyone help?

Its Discusting When Fat People Realise There Fat Only Because There Too Fat To Even kill Themselves


None

StaliN98

Reply To Post Reply & Quote

Posted at: 1/10/09 03:18 PM

StaliN98 LIGHT LEVEL 10

Sign-Up: 07/27/07

Posts: 690

What language? AS2 or AS3? Is it mouse aimed?


None

This-Is-Freedom

Reply To Post Reply & Quote

Posted at: 1/10/09 04:28 PM

This-Is-Freedom FAB LEVEL 06

Sign-Up: 07/18/08

Posts: 141

As2 and no you use the arrows to move and keys to shoot

Its Discusting When Fat People Realise There Fat Only Because There Too Fat To Even kill Themselves


None

This-Is-Freedom

Reply To Post Reply & Quote

Posted at: 1/11/09 04:48 AM

This-Is-Freedom FAB LEVEL 06

Sign-Up: 07/18/08

Posts: 141

anyone help?

Its Discusting When Fat People Realise There Fat Only Because There Too Fat To Even kill Themselves


None

This-Is-Freedom

Reply To Post Reply & Quote

Posted at: 1/11/09 08:33 AM

This-Is-Freedom FAB LEVEL 06

Sign-Up: 07/18/08

Posts: 141

hello?

Its Discusting When Fat People Realise There Fat Only Because There Too Fat To Even kill Themselves


None

EvanHayes

Reply To Post Reply & Quote

Posted at: 1/11/09 01:02 PM

EvanHayes DARK LEVEL 11

Sign-Up: 01/13/07

Posts: 1,833

you have to learn some basic trig.
for example this would be how you calculate the x and y speeds

_x+=(Math.cos(_rotation*(Math.PI/180)))*speed
_y+=(Math.sin(_rotation*(Math.PI/180)))*speed

so if you set the bullets rotation to the guys rotation and duplicate the bullet when it needs to be fired,it will shoot using that math to find the speed of the bullets. you should know basic math so i wont explain what that does.

Grah i feel so unknown, SK8MORE god damn :/ EvanHayes seems like a much more serious name than sk8more,so i changed it.


All times are Eastern Standard Time (GMT -5) | Current Time: 07:45 PM

<< Back

This topic is 1 page long.

<< < > >>
You need a Grounds Gold Account to post on the NG BBS! If you don't have one, click here to sign up now! It's fast, free, and easy — and opens up tons of great NG features!