Getting Information From the User

This video will show you how you can get the user to put in some information for your animation. In this case how many starjumps they would like Trollolol to do for them.

When you get information from the user, you need to choose what data type the information will be. In Alice there are four different data types:

Boolean: True or False

String: A sequence of characters. (eg Fred, hr4&*#, 234merton)

Double: A number with a decimal point

Integer: A whole number (eg 3, 89, 0, -234458)

 

Activity - User Interaction

Build your own animation that uses information from the user.

 

home   left arrow   right arrow