View Single Post
Old
Mr Kidnapper
Senior Member
 
Status: Offline
Posts: 442
Join Date: Feb 2011
Default 05-28-2012, 03:03 PM

A University? Oh you're cool.
Either way, the link isn't very helpful since the user is still thinking of a plane crash in terms of an actual plane crashing. Thinking like that in any programming class will become a trainwreck.
What you need to learn how to do is break down a plane crash into separate events: So what happens?
Code:
The plane hits the ground
Explosion
Fire everywhere
Plane turns into a giant robot
Something like that. Deal is, everything in Alice is nothing but a series of animations (using that term loosely here) and events.
So: What happens if the plane hits the ground? There's an explosion.
There will be fire everywhere.
The plane will turn into a giant robot.
And you have to make all of these. The explosion can be a few dark spheres and rocks flying everywhere, the fire can be fire objects all around the place, and the giant robot—Alice has one so you're covered.

For a study on collision detection, or having the plane touch the ground and have Alice react, then you'll have to search the forums for various collision methods. The one you're trying to do probably involves using lists, threshold, and distance away (left, top, etc).
   
Reply With Quote