Ch 1 alice
-
Upload
chaffey-college -
Category
Documents
-
view
714 -
download
1
description
Transcript of Ch 1 alice
Chapter 1An Introduction to Programming with Alice
The Alice InterfaceThe Alice Interface
An Introduction to Programming with Alice
The Alice InterfaceThe Alice Interface
Startup Screen Startup Screen
An Introduction to Programming with Alice
The Alice InterfaceThe Alice Interface
Startup Screen Startup Screen
Welcome to Alice!Welcome to Alice!windowwindow
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
An Introduction to Programming with Alice
The Alice InterfaceThe Alice Interface
•TutorialTutorial
An Introduction to Programming with Alice
The Alice InterfaceThe Alice Interface
•Recent WorldsRecent Worlds
An Introduction to Programming with Alice
The Alice InterfaceThe Alice Interface
•TemplatesTemplates
An Introduction to Programming with Alice
The Alice InterfaceThe Alice Interface
•ExamplesExamples
An Introduction to Programming with Alice
The Alice InterfaceThe Alice Interface
•Open a WorldOpen a World
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
An Introduction to Programming with Alice
The Alice InterfaceThe Alice Interface
Five Main Areas Five Main Areas
• Object treeObject tree
An Introduction to Programming with Alice
The Alice InterfaceThe Alice Interface
Five Main Areas Five Main Areas
• Details areaDetails area
An Introduction to Programming with Alice
The Alice InterfaceThe Alice Interface
Five Main Areas Five Main Areas
• World window World window
An Introduction to Programming with Alice
The Alice InterfaceThe Alice Interface
Five Main Areas Five Main Areas
• Editor areaEditor area
An Introduction to Programming with Alice
The Alice InterfaceThe Alice Interface
Five Main Areas Five Main Areas
• Events areaEvents area
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
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
An Introduction to Programming with Alice
The Alice InterfaceThe Alice Interface
Alice Tools for Deleting and Copying Alice Tools for Deleting and Copying
• ClipboardClipboard
An Introduction to Programming with Alice
The Alice InterfaceThe Alice Interface
Alice Editing ButtonsAlice Editing Buttons
• UndoUndo
• RedoRedo
An Introduction to Programming with Alice
The Alice InterfaceThe Alice Interface
Alice Editing ButtonsAlice Editing Buttons
• UndoUndo
An Introduction to Programming with Alice
The Alice InterfaceThe Alice Interface
Alice Editing ButtonsAlice Editing Buttons
• RedoRedo
An Introduction to Programming with Alice
The Alice InterfaceThe Alice Interface
Alice Menu BarAlice Menu Bar
An Introduction to Programming with Alice
The Alice InterfaceThe Alice Interface
Alice Menu BarAlice Menu Bar
• FileFile
• EditEdit
• ToolsTools
• Help Help
An Introduction to Programming with Alice
The Alice InterfaceThe Alice Interface
Alice Menu BarAlice Menu Bar
• File menuFile menu
An Introduction to Programming with Alice
The Alice InterfaceThe Alice Interface
Alice Menu BarAlice Menu Bar
• Edit menuEdit menu
An Introduction to Programming with Alice
The Alice InterfaceThe Alice Interface
Alice Menu BarAlice Menu Bar
• Edit menuEdit menu
An Introduction to Programming with Alice
The Alice InterfaceThe Alice Interface
Alice Menu BarAlice Menu Bar
• Tools menuTools menu
An Introduction to Programming with Alice
The Alice InterfaceThe Alice Interface
Alice Menu BarAlice Menu Bar
• Tools menuTools menu
An Introduction to Programming with Alice
The Alice InterfaceThe Alice Interface
Alice Menu BarAlice Menu Bar
• Tools menuTools menu
An Introduction to Programming with Alice
The Alice InterfaceThe Alice Interface
Alice Menu BarAlice Menu Bar
• Help menuHelp menu
An Introduction to Programming with Alice
The Alice InterfaceThe Alice Interface
Alice Menu BarAlice Menu Bar
• Help menuHelp menu
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
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.
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.
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.
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
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
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
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
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
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
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
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
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
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