Sense and Sense Ability
-
Upload
nigel-gibson -
Category
Education
-
view
618 -
download
2
description
Transcript of Sense and Sense Ability
Welcome
Before we start please check that your audio is setup and working
Use Tools->Audio->Audio Setup Wizard and following the instructions
We’re aiming to start at 20:00; from 19:45 until then is for sorting out the technologies
BEFORE WE START...........• I’d like to record this session for those unable
to attend
• If you would rather the session was not recorded, i.e. if you do not consent, please click the red cross. Otherwise click the green tick
• The session will only be recorded if everyone agrees to it
Sense and Sense Ability
Elluminate session IITU100 11J
We’re going to cover.....
• Palettes and where to find the various blocks
• Distinguishing between types of block
• Creating and running scripts
• Editing scripts
• Loading and saving scripts
• Trouble-shooting
Multi task
• Open Sense in the background – I’ll leave time for experimenting and looking around as we work through this tutorial
• We’re going to take it slowly so don’t worry
• Let me know that you are ready to continue by showing a green tick
Naming of the parts
• The next slide shows the names for some of the bits of the UI (user interface)
• If I use any term which you don’t understand you must stop me and ask!
• Note that the UI has a number of right-click menus; if you can’t see what you need try the right-click
• You won’t see a sprite just yet but don’t worry.........
Creating a sprite
Give the sprite a name
At this stage you will draw your sprite using “Paint”
Use “Show” (on the right-click menu) to put your sprite on the stage
http://screenr.com/SR4s
An exercise
• Create, name and paint your sprite
• Green tick when you’ve finished
Now we can look at the palettes
Making them do something
• Drag components from the palette to the “scripts” tab
• Create a “Start” event
• Add actions
• Tell it to stop
• String them together and run the script
http://screenr.com/qm4s
Tracking progress
• If you want to see where the cursor has been use the pen
• Start the pen drawing by putting it down
• Stop it by lifting it and get rid of the lines by using “clear”
An exercise
• Put it together a script to draw a line for 50 steps
http://screenr.com/fm4s
Space and time• Use the “go to” to set the sprite position –
handy to reset the script........
• Use the speed slider to control how quickly the script runs
• Show and hide are applied to the sprite and do just that
An exercise
• Make your line start at 0,0 and hide the sprite when the line is complete
http://screenr.com/3m4s
Using blocks
• Duplicating a block
• Right click
• Deleting a block• Right click
• Splitting a block• Click and drag down
Saving and loading
• As with most applications use the “Save” or “Save as” options to save the project
• Use the “About this project” section to keep a note of what the project is about
• Load projects using the “Open” option
Planning the programme
• As the programs become more complex it’s important to plan them first
• Use “pseudocode”
Start
Draw Sprite – circle?
Place sprite in the right place
Move it X steps
Rotate Y degrees
Do something else
Stop
An exercise
• Draw a square with a side length of 75 steps and starting at 0,0
An exercise
http://screenr.com/jm4s
Troubleshooting
• Stepping through the code – use “Single step”
• Take out sections and run without them to see what breaks
• Walk through the code (Bench test) looking at what you’ve asked it to do
Q&A
• Hope this has been of use
Futures
• The next tutorial will be on 7th December at 19:00 (repeated on 10th December) and cover Sense programming using loops and variables