1 / 10

Creating Greenfoot Backgrounds

Creating Greenfoot Backgrounds. GIMP: is a software graphics editor is similar to Adobe Photoshop – but FREE. stands for: G – GNU (GNU’s Not Unix) I – Image M – Manipulation P – Program runs on Windows, Apple OS, and Linux. can be downloaded at: http://www.gimp.org/.

rafi
Download Presentation

Creating Greenfoot Backgrounds

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Creating Greenfoot Backgrounds

  2. GIMP: • is a software graphics editor • is similar to Adobe Photoshop – but FREE. • stands for: • G – GNU (GNU’s Not Unix) • I – Image • M – Manipulation • P – Program • runs on Windows, Apple OS, and Linux. • can be downloaded at: http://www.gimp.org/

  3. Please watch the online videos to see the: • 1. Demo: Creating a Road and • 2. Activity: Creating Outer Space

  4. Once you have created your background you are ready to insert it into Greenfoot. • 1. Create A New Scenario In Greenfoot.

  5. 2. Create Your World Class • Right-Click on World • Select “New Subclass” • Give your subclass a name. • Click “OK”

  6. 3. Make the image file available. • Using Windows Explorer, open the folder for you Greenfoot scenario. • Find the “images” folder. • Copy your JPEG image into that “images” folder • This folder is where we will save all of our images.

  7. 4. Set the image in Greenfoot: • Go back into Greenfoot • Right-click on your World sub-class that you created. • Select “Set image” • Select your image file and click “Okay”

  8. 5. Your image should appear as the background for the World! • But notice how the size is not correct. We have to fix that!

  9. 6. Double-click the World sub-class that you created to edit it. • The default World size in the constructor is: super(20, 20, 10); • Change the settings so that they match the width and height of your image (in pixels). For example, if your world is 500 pixels wide by 400 pixels high, you would set the size to: • super(500, 400, 1);// 1 is for the height and width of one cell in Greenfoot.

  10. 7. We are finished setting the background!

More Related