Ch 1 alice

45
Chapter 1 An Introduction to Programming with Alice The Alice The Alice Interface Interface

description

 

Transcript of Ch 1 alice

Page 1: Ch 1 alice

Chapter 1An Introduction to Programming with Alice

The Alice InterfaceThe Alice Interface

Page 2: Ch 1 alice

An Introduction to Programming with Alice

The Alice InterfaceThe Alice Interface

Startup Screen Startup Screen

Page 3: Ch 1 alice

An Introduction to Programming with Alice

The Alice InterfaceThe Alice Interface

Startup Screen Startup Screen

Welcome to Alice!Welcome to Alice!windowwindow

Page 4: Ch 1 alice

An Introduction to Programming with Alice

The Alice InterfaceThe Alice Interface

Welcome to Alice! WindowWelcome to Alice! Window

Five tabs:Five tabs:

•TutorialTutorial

•Recent WorldsRecent Worlds

•TemplatesTemplates

•ExamplesExamples

•Open a WorldOpen a World

Page 5: Ch 1 alice

An Introduction to Programming with Alice

The Alice InterfaceThe Alice Interface

•TutorialTutorial

Page 6: Ch 1 alice

An Introduction to Programming with Alice

The Alice InterfaceThe Alice Interface

•Recent WorldsRecent Worlds

Page 7: Ch 1 alice

An Introduction to Programming with Alice

The Alice InterfaceThe Alice Interface

•TemplatesTemplates

Page 8: Ch 1 alice

An Introduction to Programming with Alice

The Alice InterfaceThe Alice Interface

•ExamplesExamples

Page 9: Ch 1 alice

An Introduction to Programming with Alice

The Alice InterfaceThe Alice Interface

•Open a WorldOpen a World

Page 10: Ch 1 alice

An Introduction to Programming with Alice

The Alice InterfaceThe Alice Interface

Five Main Areas Five Main Areas

• Object treeObject tree

• Details areaDetails area

• World window World window

• Editor areaEditor area

• Events areaEvents area

Page 11: Ch 1 alice

An Introduction to Programming with Alice

The Alice InterfaceThe Alice Interface

Five Main Areas Five Main Areas

• Object treeObject tree

Page 12: Ch 1 alice

An Introduction to Programming with Alice

The Alice InterfaceThe Alice Interface

Five Main Areas Five Main Areas

• Details areaDetails area

Page 13: Ch 1 alice

An Introduction to Programming with Alice

The Alice InterfaceThe Alice Interface

Five Main Areas Five Main Areas

• World window World window

Page 14: Ch 1 alice

An Introduction to Programming with Alice

The Alice InterfaceThe Alice Interface

Five Main Areas Five Main Areas

• Editor areaEditor area

Page 15: Ch 1 alice

An Introduction to Programming with Alice

The Alice InterfaceThe Alice Interface

Five Main Areas Five Main Areas

• Events areaEvents area

Page 16: Ch 1 alice

An Introduction to Programming with Alice

The Alice InterfaceThe Alice Interface

Alice Tools for Deleting and CopyingAlice Tools for Deleting and Copying

• Trash CanTrash Can

• ClipboardClipboard

Page 17: Ch 1 alice

An Introduction to Programming with Alice

The Alice InterfaceThe Alice Interface

Alice Tools for Deleting and CopyingAlice Tools for Deleting and Copying

• Trash CanTrash Can

Page 18: Ch 1 alice

An Introduction to Programming with Alice

The Alice InterfaceThe Alice Interface

Alice Tools for Deleting and Copying Alice Tools for Deleting and Copying

• ClipboardClipboard

Page 19: Ch 1 alice

An Introduction to Programming with Alice

The Alice InterfaceThe Alice Interface

Alice Editing ButtonsAlice Editing Buttons

• UndoUndo

• RedoRedo

Page 20: Ch 1 alice

An Introduction to Programming with Alice

The Alice InterfaceThe Alice Interface

Alice Editing ButtonsAlice Editing Buttons

• UndoUndo

Page 21: Ch 1 alice

An Introduction to Programming with Alice

The Alice InterfaceThe Alice Interface

Alice Editing ButtonsAlice Editing Buttons

• RedoRedo

Page 22: Ch 1 alice

An Introduction to Programming with Alice

The Alice InterfaceThe Alice Interface

Alice Menu BarAlice Menu Bar

Page 23: Ch 1 alice

An Introduction to Programming with Alice

The Alice InterfaceThe Alice Interface

Alice Menu BarAlice Menu Bar

• FileFile

• EditEdit

• ToolsTools

• Help Help

Page 24: Ch 1 alice

An Introduction to Programming with Alice

The Alice InterfaceThe Alice Interface

Alice Menu BarAlice Menu Bar

• File menuFile menu

Page 25: Ch 1 alice

An Introduction to Programming with Alice

The Alice InterfaceThe Alice Interface

Alice Menu BarAlice Menu Bar

• Edit menuEdit menu

Page 26: Ch 1 alice

An Introduction to Programming with Alice

The Alice InterfaceThe Alice Interface

Alice Menu BarAlice Menu Bar

• Edit menuEdit menu

Page 27: Ch 1 alice

An Introduction to Programming with Alice

The Alice InterfaceThe Alice Interface

Alice Menu BarAlice Menu Bar

• Tools menuTools menu

Page 28: Ch 1 alice

An Introduction to Programming with Alice

The Alice InterfaceThe Alice Interface

Alice Menu BarAlice Menu Bar

• Tools menuTools menu

Page 29: Ch 1 alice

An Introduction to Programming with Alice

The Alice InterfaceThe Alice Interface

Alice Menu BarAlice Menu Bar

• Tools menuTools menu

Page 30: Ch 1 alice

An Introduction to Programming with Alice

The Alice InterfaceThe Alice Interface

Alice Menu BarAlice Menu Bar

• Help menuHelp menu

Page 31: Ch 1 alice

An Introduction to Programming with Alice

The Alice InterfaceThe Alice Interface

Alice Menu BarAlice Menu Bar

• Help menuHelp menu

Page 32: Ch 1 alice

An Introduction to Programming with Alice

Playing an Alice WorldPlaying an Alice World

Click the play Click the play button on the button on the standard Alice standard Alice interface to play interface to play the current the current world.world.

Play buttonPlay button

Page 33: Ch 1 alice

An Introduction to Programming with Alice

The World Running WindowThe World Running Window

The world will The world will

play in a play in a World World

Running Running window window

appearing over appearing over

the standard the standard

Alice Interface.Alice Interface.

Page 34: Ch 1 alice

An Introduction to Programming with Alice

The World Running WindowThe World Running Window

The world will The world will

play in a play in a World World

Running Running window window

appearing over appearing over

the standard the standard

Alice Interface.Alice Interface.

Page 35: Ch 1 alice

An Introduction to Programming with Alice

The World Running WindowThe World Running Window

The The World World Running Running window window has viewer has viewer controls at the controls at the top of the top of the window.window.

Page 36: Ch 1 alice

An Introduction to Programming with Alice

The World Running WindowThe World Running WindowThey include:They include:

• Speed Slider Speed Slider controlcontrol

• Pause buttonPause button

• Resume buttonResume button

• Restart buttonRestart button

• Stop buttonStop button

• Take Picture Take Picture buttonbutton

Page 37: Ch 1 alice

An Introduction to Programming with Alice

The World Running WindowThe World Running WindowSpeed Slider Speed Slider

controlcontrol

Used to speed up Used to speed up the world during the world during testing and testing and developmentdevelopment

Page 38: Ch 1 alice

An Introduction to Programming with Alice

The World Running WindowThe World Running Window

Pause button Pause button

Will pause the Will pause the playing world, playing world, like the pause like the pause button on a CD button on a CD playerplayer

Page 39: Ch 1 alice

An Introduction to Programming with Alice

The World Running WindowThe World Running Window

Resume button Resume button

Will continue Will continue playing the world playing the world from where it from where it pausedpaused

Page 40: Ch 1 alice

An Introduction to Programming with Alice

The World Running WindowThe World Running Window

Restart button Restart button

Will restart the Will restart the world from the world from the beginningbeginning

Page 41: Ch 1 alice

An Introduction to Programming with Alice

The World Running WindowThe World Running Window

Stop button Stop button

will stop the will stop the world from world from playing and playing and return you to the return you to the standard Alice standard Alice interfaceinterface

Page 42: Ch 1 alice

An Introduction to Programming with Alice

The World Running WindowThe World Running Window

Take Picture Take Picture button button

Used to capture Used to capture

an image of an image of

currently playing currently playing

worldworld

Page 43: Ch 1 alice

An Introduction to Programming with Alice

The World Running WindowThe World Running Window

Take Picture Take Picture button button

The image file The image file

name and name and

location are location are

preset on the preset on the

preferences tab preferences tab

on Alice’s file on Alice’s file

menumenu

Page 44: Ch 1 alice

An Introduction to Programming with Alice

The World Running WindowThe World Running Window

Take Picture Take Picture button button

The defaults are:The defaults are:

Filename:Filename: capture00.jpgcapture00.jpg

Location:Location: desktopdesktop

Page 45: Ch 1 alice

An Introduction to Programming with Alice

The World Running WindowThe World Running Window

A dialog window will appear to show you A dialog window will appear to show you the saved file’s name and locationthe saved file’s name and location

The defaults are:The defaults are:

Filename:Filename: capture00.jpgcapture00.jpg

Location:Location: desktopdesktop