Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

2D All the way! / Uh help please gun and weapons

Author
Message
Cros Jovil
20
Years of Service
User Offline
Joined: 27th Jan 2004
Location:
Posted: 11th Feb 2004 03:06
ok let's say I wanted to make asteroids how do i get the bullet sprite to move in the direction the top of the ship is pointing I found a long hard way but it didnt work very well or look realistic
glint
20
Years of Service
User Offline
Joined: 9th Feb 2004
Location: the Synth
Posted: 11th Feb 2004 06:49
When you rotate your ship, preserve the angle in a variable x (from 0 to 360). Go to "the whirl" forum here ot find out how to make the bullets move using the angle.

Login to post a reply

Server time is: 2024-05-13 20:04:21
Your offset time is: 2024-05-13 20:04:21