Alice Community  

Go Back   Alice Community > Alice 2 > How do I...?

Reply
 
Thread Tools Display Modes
Alien Zap
Old
rerodriguez13
Junior Member
 
Status: Offline
Posts: 4
Join Date: Jul 2013
Location: west palm beach
Default Alien Zap - 07-19-2013, 09:17 PM

I'm working on a project and I'm trying to figure out how to make an alien spaceship zap at objects and make the objects disappear after being zapped. Any help is greatly appreciated! Thanks in advance!
   
Reply With Quote
Old
sfunk
Senior Member
 
sfunk's Avatar
 
Status: Offline
Posts: 1,112
Join Date: Mar 2011
Location: I don't know
Default 07-19-2013, 09:44 PM

Be a little more specific, how do you want the "Zap" to look? just a beam straight down like an abduction beam, or more like a laser gun effect?


If you are stuck on a project, check out the tutorials I made here at this link:

http://alice.org/community/showthread.php?p=36778#post36778

There are lots of tutorials on it so far, including some youtube videos, check it out

Or..

Go to my youtube channel to check out my alice 2.2 tutorials I have there..

http://www.youtube.com/user/sfunk1992?feature=mhsn
   
Reply With Quote
The medium bang
Old
chickentree
Super Moderator
 
Status: Offline
Posts: 212
Join Date: Dec 2012
Location: Frosno, Ca
Default The medium bang - 07-21-2013, 09:46 AM

Quote:
Originally Posted by rerodriguez13 View Post
I'm working on a project and I'm trying to figure out how to make an alien spaceship zap at objects and make the objects disappear after being zapped. Any help is greatly appreciated! Thanks in advance!
Quote:
Originally Posted by rerodriguez13 View Post
I'm working on a project and I'm trying to figure out how to make an alien spaceship zap at objects and make the objects disappear after being zapped. Any help is greatly appreciated! Thanks in advance!
1. Pick your weapon for this example lets say it is a cannon that fires spheres. This is just conceptual the ship does not need to actually have a cannon but you do need to decide where on the ship it would be.
2. Select an object you will use to represent the cannon add it to the movie and position it where the cannon would be on the ship. Don't worry about what the cannon looks like it won't be seen in the final movie. You can use a dummy object for this but I would suggest a physical object if you are just getting started as it is easier to visualize what is going on.
3. We want the cannon to stay "glued" to the spaceship so that when the ship moves the cannon moves with it. To do this, set the vehicle of the cannon to the spaceship (look for the vehicle property.)
4. Select the object to use as your projectile, this does matter as it will be seen in your movie. Lets say we pick a sphere, size it appropriately.
5. To start with, set the opacity to .6 or .7 so that you can see it but can also see what is behind it.
There are several things that will be needed to "clean up" the movie but for a start this should give you the basic setup.
Now firing the weapon will involve a "cycle" of steps that need to be done each time your cannon is fired.
1. Initially the projectile should be invisible.
2. Move the projectile to the cannon. This is the real purpose of the cannon to give a point on the ship where the projectile starts.
3. Make the projectile visible.
4. Move the projectile to the target.
5. Turn the projectile invisible.
There are of course numerous variations to this scenario. Some steps can be done together, the timing of steps can be changed, explosions at the target can be added and the projectile can be changed but the basic steps are basically spelled out above.
When the cannon is working the way you want you can make the cannon invisible. In the case of the cannon this can be done before the movie starts, just set isShowing to false. In contrast the visibility of the projectile will need to change dynamically (as the movie is playing) so you will need to change the isShowing, or better still the opacity, during the firing sequence.

Hope this is enough to get you started.

Mark
   
Reply With Quote
Old
rerodriguez13
Junior Member
 
Status: Offline
Posts: 4
Join Date: Jul 2013
Location: west palm beach
Default 07-31-2013, 07:46 AM

Thank you so much!
   
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Copyright ©2017, Carnegie Mellon University
Alice 2.x 1999-2012, Alice 3.x 2008-2012, Carnegie Mellon University. All rights reserved.