Alice Community  

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

Reply
 
Thread Tools Display Modes
How do I?
Old
masmoit
Guest
 
Status:
Posts: n/a
Default How do I? - 02-24-2010, 10:43 PM

Hi!

How do I firstly, make a plane crash when its below the ground,
the fire animation only appear when the bomb hits the boat,
and how to make the bomb hit the boat when dropped?

Haha sorry im very new to alice now :P

Would appreciate it!
Attached Files
File Type: a2w SeaFighter.a2w (2.48 MB, 1 views)
   
Reply With Quote
Old
jediaction
Senior Member
 
jediaction's Avatar
 
Status: Offline
Posts: 5,064
Join Date: Jul 2009
Location: Bel Air, Maryland
Default 02-25-2010, 07:33 AM

This is a hard one. I would have to make an example. Oh, try my jet flying engine, that has it in there


Website: www.salokingames.com
FaceBook: www.facebook.com/SalokinGames
   
Reply With Quote
Old
masmoit
Guest
 
Status:
Posts: n/a
Default 02-25-2010, 08:02 AM

thanks man!
   
Reply With Quote
Old
jediaction
Senior Member
 
jediaction's Avatar
 
Status: Offline
Posts: 5,064
Join Date: Jul 2009
Location: Bel Air, Maryland
Default 02-25-2010, 08:21 AM

me?


Website: www.salokingames.com
FaceBook: www.facebook.com/SalokinGames
   
Reply With Quote
Old
Taterific
Guest
 
Status:
Posts: n/a
Default 02-25-2010, 02:47 PM

Uhm, I was playin' your game and it looks pretty good for starting out. =]

For the plane crashing below sea level? I actually JUST got done getting that question answered myself.
I think the second page of MY thread on this "How do I...?" section goes into it.

The Topic thing is called "Freeze controls? Idk what to call it"

But basically what you do is, create a method that is "Everything that happens when he crashes". Things like Sounds, the fighter planes "crash" method it already comes with. SOMETHING like that.

I noticed what you had already. It's great! You're so close, you have no idea.
Take that part in your "crash" method That says "Fighter plane Distance above ground blah blah" and stick it in the "TRUE" part of the WHILE event. Got it?

Then get rid of all that Loop and IF/ELSE stuff in you're world.crash method. Stick all the stuff that was inside into a "Do Together"
In the PROPERTIES section of the Fighterplane, you can drag and drop the isShowing = true into the method, and change it to FALSE.
in the world PROPERTIES section, go down to where it says "Seldom used properties" Drag and drop speedMultiplier in and set it to 0.

Now when you're plane hits the ground, everything will slowly freeze, the plane will disappear, and "GAME OVER" will be printed.

That's the first part. =]

This was tricky to figure out due to your camera method. Where it follows the plane like that.


Fire to an object at a certain point.
Alright, I'm going to ignore the stuff you already have about the "YOU WIN" and focus on making the fire appear. Once I got that much, you can do the rest yourself.

In World.Myfirstmethod, add a Fireanimation isShowing = False. So when the worlds starts.. NO FIRE!
Now add a While ________ IS TRUE event. In the true box, from your Bomb function section, drag a "BOMB is within DISTANCE away from THINGYJIGGER" thing.
Now for distance I'd use 10, or 5. Because the actual BIG BOAT, is like, a tiny pixel in the middle of the whole model. So when it's about 10 meters it'll be around the deck of the ship.
Now make a method, i recommend from scratch so that you're not messing things up, that says "FIREanimation2 isShowing = True" and "Fireanimation.Flicker" and maybe something about YOU WIN and making the world slowly stop. Something like that.

Let me know if you're lost or if there are any problems. =D

Last edited by Taterific; 02-25-2010 at 02:59 PM. Reason: [Added the fire to the bomb part]
   
Reply With Quote
Old
zonedabone
Senior Member
 
zonedabone's Avatar
 
Status: Offline
Posts: 577
Join Date: Nov 2008
Location: In the interwebs
Default 02-26-2010, 08:27 PM

Be sure to post an updated version soon! I can't wait to see it!


'Apple Macintosh' - An anagram of 'Complaints Heap'

M.A.C.I.N.T.O.S.H. - Machine Always Crashes, If Not, The Operating System Hangs.

You're *such* a mac person.
   
Reply With Quote
Thanks!
Old
masmoit
Guest
 
Status:
Posts: n/a
Default Thanks! - 02-28-2010, 06:12 AM

hey guys thanks a lot! am working on it

however, i could not find the speed multiplier for this particular plane. is there a reason? and somehow for some reason the plane still goes down with yr advice?O.o i think i did it wrongly.
attached!
Attached Files
File Type: a2w SeaFighter.a2w (2.48 MB, 3 views)

Last edited by masmoit; 02-28-2010 at 06:29 AM. Reason: Attached file?
   
Reply With Quote
Old
jediaction
Senior Member
 
jediaction's Avatar
 
Status: Offline
Posts: 5,064
Join Date: Jul 2009
Location: Bel Air, Maryland
Default 02-28-2010, 11:43 AM

There is a simple way to do that. Make it crash when it hits the ground but it does not work for me very well. I like this


Website: www.salokingames.com
FaceBook: www.facebook.com/SalokinGames

Last edited by jediaction; 03-01-2010 at 08:26 AM.
   
Reply With Quote
Hey
Old
masmoit
Guest
 
Status:
Posts: n/a
Default Hey - 03-01-2010, 06:11 AM

however, im not sure how to crash it! and the fire part to only appear. i followed all the steps though... ):
   
Reply With Quote
Reply


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 ©2024, Carnegie Mellon University
Alice 2.x © 1999-2012, Alice 3.x © 2008-2012, Carnegie Mellon University. All rights reserved.