Alice Community  

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

Reply
 
Thread Tools Display Modes
Awesome
Old
MrMoke
Senior Member
 
MrMoke's Avatar
 
Status: Offline
Posts: 501
Join Date: Sep 2007
Location: Austin, Texas
Talking Awesome - 05-19-2014, 12:36 PM

Mark says it all. I was going to say much the same, but got distracted working on a test.
Attached vid test asks the viewers to guess how many vehicles were set, and how many "as seen by" statements were invoked.

Watch carefully: requires a click and open to view the .wmf file.

Post your Guesses.

Will post the Alice3 proggie later :-)
Attached Files
File Type: zip TrollInTruck02.zip (4.10 MB, 1 views)

Last edited by MrMoke; 05-22-2014 at 08:57 PM.
   
Reply With Quote
Okay, okay!
Old
jrrTolkien
Senior Member
 
jrrTolkien's Avatar
 
Status: Offline
Posts: 166
Join Date: Feb 2014
Location: Middle-Earth (Merrimack, NH)
Red face Okay, okay! - 05-19-2014, 01:28 PM

@MrMoke: Very funny video. I just noticed that you never seem to post your actual code, just a video. Is there a specific reason for this? Also, where did you get those characters? Did you model them yourself?

@chickentree: You make a good point, although that whole skateboard thing would be funny if you forgot to change the vehicle!

Also, thanks for correcting me on this, both of you!

And have you ever tried telling an object to turn to face one of it's subobjects? It just spins around infinitely!

-Jrr
   
Reply With Quote
It's an Alice3 World
Old
MrMoke
Senior Member
 
MrMoke's Avatar
 
Status: Offline
Posts: 501
Join Date: Sep 2007
Location: Austin, Texas
Default It's an Alice3 World - 05-19-2014, 05:39 PM

I don't normally post the code because I tend to use them in lessons after I cobble them together, or submit them to the Alice Team for Debugging when something seems broken. Too easy for someone to copy and say "Hey Teacher, Look what I did!".

Giving someone the answer doesn't encourage them to use their brains.
   
Reply With Quote
Yeah, I thought so!
Old
jrrTolkien
Senior Member
 
jrrTolkien's Avatar
 
Status: Offline
Posts: 166
Join Date: Feb 2014
Location: Middle-Earth (Merrimack, NH)
Wink Yeah, I thought so! - 05-19-2014, 06:32 PM

I figured you'd say something like that It is a good reason.

-Jrr
   
Reply With Quote
Updated Video
Old
MrMoke
Senior Member
 
MrMoke's Avatar
 
Status: Offline
Posts: 501
Join Date: Sep 2007
Location: Austin, Texas
Default Updated Video - 05-22-2014, 08:59 PM

Had a few minutes, so I updated the video I posted earlier. It's in the post above now.
   
Reply With Quote
Another option
Old
ohioboater
Junior Member
 
Status: Offline
Posts: 5
Join Date: Apr 2014
Default Another option - 05-23-2014, 12:57 PM

Setting the camera's vehicle to the object you want to track is good if you want to mimic the way most first person and third person shooter games behave. If you want the camera to behave more like it's being carried by a human camera operator following your subject, take a look at how the Flight Simulator world in the Examples section of Alice 2 uses a simple distance check to keep the camera pointed at its target.
   
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 ©2023, Carnegie Mellon University
Alice 2.x © 1999-2012, Alice 3.x © 2008-2012, Carnegie Mellon University. All rights reserved.