rustyNails
December 19th, 2006, 08:52 PM
hi,
im trying to build a shooting game and i have a question.
how can i get the effect of bullet emerging from the canon?
i used to code it as bullet_.x = canon._x and bullet_.y = canon._y so the bullet starts from the middle of the canon. if the canon moves in the meantimes it looks a bit odd.
how can i make the bullet starts from the end of the canon, no matter where canon is at the moment???
reg,
rustyNails
im trying to build a shooting game and i have a question.
how can i get the effect of bullet emerging from the canon?
i used to code it as bullet_.x = canon._x and bullet_.y = canon._y so the bullet starts from the middle of the canon. if the canon moves in the meantimes it looks a bit odd.
how can i make the bullet starts from the end of the canon, no matter where canon is at the moment???
reg,
rustyNails