Alice Community  

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

Reply
 
Thread Tools Display Modes
Hello i need help
Old
rahmy84
Guest
 
Status:
Posts: n/a
Default Hello i need help - 01-29-2011, 11:32 AM

I need help making a calculation which divides the number of miles by speed which gives me the total of trip time. If someone mind helping me out. The animation is done, i just need to have the calculation right
Attached Files
File Type: a2w CSS562_W2A_GSM.a2w (669.9 KB, 0 views)
   
Reply With Quote
Old
reuben2011
Senior Member
 
reuben2011's Avatar
 
Status: Offline
Posts: 489
Join Date: Sep 2009
Location: Hawaii
Default 02-02-2011, 06:07 PM

Sorry, I'm using the school's computer right now, so I can't download the file. =P So, do you want the user to input the speed and length in distance in the program and then somehow display the time the trip takes? If I were you, I would try to program it yourself and if your still having trouble, post your code and we can find your error. Advice: One can only learn programming skills by experimenting by themselves, not by copying and pasting code.
   
Reply With Quote
Old
dubastot
Senior Member
 
dubastot's Avatar
 
Status: Offline
Posts: 661
Join Date: Apr 2009
Location: Two Steps From Hell
Default 02-03-2011, 11:20 AM

You just need two variables: speed & total travel time

Set the travel time to: speed/ 2


I'm a web developer/ designer now.
   
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 ©2022, Carnegie Mellon University
Alice 2.x © 1999-2012, Alice 3.x © 2008-2012, Carnegie Mellon University. All rights reserved.