User Guide
Table Of Contents
94
To import a .jpg or .png file:
1. In the Paint Editor, click Import.
2. Browse to the file, click it, and then click OK.
If you are importing graphic files for use as sprites, you may need
to remove the solid-color background in the Paint Editor. In the
color palettes area, click the transparent color (the grey and
white checkerboard pattern) and then use the Fill tool to clear
the sprite’s background.
4.10 Automatic Startup of Scratch Projects
Scratch has a full-screen option that it calls “presentation
mode”, where only the Stage and three buttons are shown on
the screen. By editing a few configuration files in Raspbian, you
can open a project in presentation mode when the Pi starts.
There are two steps you should take before you do this. First,
save your project in a folder that does not contain spaces. For
example, /home/pi/MyGame.sb. Next, you will need to disable
remote sensor connections for your project. Open the file in
Scratch, and then:
1. In the Blocks Palette, click Sensing.
2. Right-click one of the two sensor value blocks at the
bottom of the Blocks Palette, and then click
disable remote sensor connections.
3. On the Menu, click File and then click Save.
Now, use the raspi-config tool to change the boot order:
1. On the Application Launcher, click LXTerminal.
2. Type the following command and then press Enter:
sudo raspi-config
3. Use the Down Arrow key to highlight Enable Boot
to Desktop/Scratch, and then press Enter.