PDA

View Full Version : Firing Bullet



kinjokids
April 26th, 2003, 02:42 PM
Im workin on some code to figure out moving and collision

I have a ship that can move left right up and down. Also the ship cannot move off the screen.

Now,.... i want to have a bullet fire from the ship.

the movie clip name for the bullet is "bullet"
the moving and walls code is on the ship's actions.

What do i do so the bullet comes off the ship? :cyclops:

kode
April 26th, 2003, 02:47 PM
http://www.kirupa.com/developer/mx/fire.htm

also, run a search in the forum, you'll find a few threads about this.


and welcome to kirupa forum!! =)

fez
April 26th, 2003, 02:50 PM
i dont feel like typing the code...heres the attchment. a lot of this stuff i learned from flex's website...i forgwet ewhat it is

kode
April 26th, 2003, 02:53 PM
http://flex.funkyolive.com/ ;)