View Single Post
Boom Boom, out go the lights!
Old
Jabberwocky
Guest
 
Status:
Posts: n/a
Default Boom Boom, out go the lights! - 06-08-2006, 09:47 PM

How do i import 2D images?

File --> Make Billboard

Missile Strike

Yeah, your roket1mala.lock_on_space_craft method needs work. Write some pseudocode, get out pencil & paper and work out the logic of what you want to do in the simplest of terms, then go back to Alice and try to work it out.

For example, you say you want the spaceship and missile to go to zero opacity but you never set the ship's opacity. You do set the missile's opacity to zero if the missile gets within 0 meters of the ship, (it should kick out of the while loop and execute the set opacity command; remember though, the ship is still moving & the missile is coded with some funky herky-jerky random movement, so the missle actually touching the ship might never happen), but inside the while loop you contradict yourself and set the missile's opacity to 100% if the missle is less than 100 meters away. You need to rethink this method.

Good luck!

Last edited by Jabberwocky; 06-10-2006 at 03:12 PM.
   
Reply With Quote