Alice Community

Alice Community (http://www.alice.org/community/index.php)
-   Questions and Comments (http://www.alice.org/community/forumdisplay.php?f=9)
-   -   Fahrenheit to Celsius World (http://www.alice.org/community/showthread.php?t=11729)

lgoodsell 05-28-2017 10:43 AM

Fahrenheit to Celsius World
 
Is there a world Fahrenheit to Celsius World that I can download or do I have to create it from scratch?

Dameria 05-29-2017 12:11 PM

Hi lgoodsell,

I have never seen an existing Alice project that does Fahrenheit to Celsius, but it would be very easy to create. Simply create a world method that asks the user to input a value in Fahrenheit and have it stored as a floating point (decimal number) variable, do the mathematical calculation necessary to convert it to Celsius, then display the Celsius value to the user in a message box. If you want to be fancy you could put in some type of character from the library of objects and have the character "ask" the question and then tell you the answer.

Dameria 05-29-2017 05:43 PM

I decided to make an example for you with Socrates giving you the Fahrenheit to Celsius conversion when you click on him.
I also decided to have a little fun and put in some animals animations in the background so it wouldn't be so boring. :)

For some reason the file isn't uploading correctly through this forum, so I'll post a link below where you can download it:
[url]https://www.dropbox.com/s/f6m6v1jd60qwfub/FahrenheitToCelsius.a2w?dl=0[/url]

You can download from the link above by pressing "No thanks, continue to view" on the bottom of the popup and then "Download" and "Direct download"

If you have any questions feel free to ask!


All times are GMT -5. The time now is 09:44 AM.

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