17
An Introduction to Programming with Alice Text and Sound Text and Sound in in Alice Worlds Alice Worlds

Text and Sound in Alice Worlds

  • Upload
    kass

  • View
    31

  • Download
    0

Embed Size (px)

DESCRIPTION

Text and Sound 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 - PowerPoint PPT Presentation

Citation preview

Page 1: Text and Sound in Alice Worlds

An Introduction to Programming with Alice

Text and SoundText and Soundinin

Alice WorldsAlice Worlds

Page 2: Text and Sound in Alice 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

Page 3: Text and Sound in Alice Worlds

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.

Page 4: Text and Sound in Alice Worlds

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:

Page 5: Text and Sound in Alice Worlds

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.

Page 6: Text and Sound in Alice Worlds

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.

Page 7: Text and Sound in Alice Worlds

The print instruction is at the bottom of the editor area

Page 8: Text and Sound in Alice Worlds

It can be used with the string functions found on the world’s functions tab.

Page 9: Text and Sound in Alice Worlds

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.

Page 10: Text and Sound in Alice Worlds

3D text objects can be created from the Alice local gallery, or by using the file menu.

Page 11: Text and Sound in Alice Worlds

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.

Page 12: Text and Sound in Alice Worlds

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.

Page 13: Text and Sound in Alice Worlds

There is an option on the file menu to create a billboard object from a picture file.

Page 14: Text and Sound in Alice Worlds

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.

Page 15: Text and Sound in Alice Worlds

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.

Page 16: Text and Sound in Alice Worlds

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.

Page 17: Text and Sound in Alice Worlds

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.