Text and Sound in Alice Worlds
description
Transcript of Text and Sound in Alice Worlds
An Introduction to Programming with Alice
Text and SoundText and Soundinin
Alice WorldsAlice Worlds
Text in Alice WorldsText in Alice WorldsThere are five ways to show text in Alice: There are five ways to show text in Alice: • by using the say primitive methodby using the say primitive method• by using the think primitive methodby using the think primitive method• by using the print instructionby using the print instruction• by adding 3D text as an Alice objectby adding 3D text as an Alice object• by placing a picture file with an image of by placing a picture file with an image of
text in an Alice world as a billboardtext in an Alice world as a billboard
The Say and Think Methods The Say and Think Methods The say and think methods can be used to The say and think methods can be used to show an object’s words or thoughts, as in show an object’s words or thoughts, as in cartoons.cartoons.
The Say and Think MethodsThe Say and Think MethodsClicking Clicking more… more… in the say or think method in the say or think method
tiles will reveal five additional parameters:tiles will reveal five additional parameters:
The Say and Think Methods The Say and Think Methods These parameters can be used to These parameters can be used to manipulate the look of say and think manipulate the look of say and think bubbles.bubbles.
The Print InstructionThe Print InstructionThe print instruction The print instruction can be used to can be used to display text in a display text in a special zone below special zone below the playing world the playing world window.window.
The print instruction is at the bottom of the editor area
It can be used with the string functions found on the world’s functions tab.
3D Text 3D Text 3D text can be used to add titles to Alice 3D text can be used to add titles to Alice worlds.worlds.
3D text objects can be created from the Alice local gallery, or by using the file menu.
Billboard Objects Billboard Objects Billboards are picture files added to Alice Billboards are picture files added to Alice worlds as flat, two dimensional objects.worlds as flat, two dimensional objects.
Billboard Objects Billboard Objects A billboard can be used to show instructions A billboard can be used to show instructions or other messages in Alice worlds.or other messages in Alice worlds.
There is an option on the file menu to create a billboard object from a picture file.
Billboard and 3D Text Objects Billboard and 3D Text Objects Billboards and 3D text can be manipulated Billboards and 3D text can be manipulated through their properties and methods just through their properties and methods just like other objects can be.like other objects can be.
Sound in Alice WorldsSound in Alice Worlds
Sounds can be added to an Sounds can be added to an Alice world by using an Alice world by using an object’s primitive object’s primitive play soundplay sound method.method.
Any object can play a sound.Any object can play a sound.
Sound in Alice WorldsSound in Alice Worlds
The The play soundplay sound method has method has a menu of pre-recorded a menu of pre-recorded sounds that can be used sounds that can be used with an object.with an object.
Sound in Alice WorldsSound in Alice Worlds
The The play soundplay sound method has method has a menu of pre-recorded a menu of pre-recorded sounds that can be used sounds that can be used with an object.with an object.
The menu also has options The menu also has options to import other sound files or to import other sound files or to record your own sounds.to record your own sounds.