ch 6 Text and Sound in Alice

ch 6 Text and Sound in Alice - Text and Sound in Alice...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Text and Sound in Alice Worlds An Introduction to Programming with Alice Text in Alice Worlds Text in Alice Worlds There are five ways to show text in Alice: • by using the say primitive method • by using the think primitive method • by using the print instruction • by adding 3D text as an Alice object • by placing a picture file with an image of text 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 show an object’s words or thoughts, as in cartoons. The Say and Think Methods The Say and Think Methods Clicking more… in the say or think method tiles will reveal five additional parameters: The Say and Think Methods The Say and Think Methods These parameters can be used to manipulate the look of say and think bubbles. The Print Instruction The Print Instruction The print instruction can be used to display text in a special zone below the playing world 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 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 worlds as flat, two dimensional objects. Billboard Objects Billboard Objects A billboard can be used to show instructions 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 through their properties and methods just like other objects can be. Sound in Alice Worlds Sound in Alice Worlds Sounds can be added to an Sounds Alice world by using an object’s primitive play sound play method. method. Any object can play a sound. Sound in Alice Worlds Sound in Alice Worlds The play sound method has The play a menu of pre-recorded sounds that can be used with an object. with Sound in Alice Worlds Sound in Alice Worlds The play sound method has The play a menu of pre-recorded sounds that can be used with an object. with The menu also has options The to import other sound files or to record your own sounds. to ...
View Full Document

This note was uploaded on 10/17/2011 for the course CIS 106 taught by Professor Alice during the Spring '11 term at Community College of Philadelphia.

Ask a homework question - tutors are online