Shall We Learn

  • Increase font size
  • Default font size
  • Decrease font size

How to use Stage Screenshots

E-mail
alt
Want to know how to use stage screenshots? Ever wonder how to create a background with a special area of the exact length and width? Read on to find out more. We will first draw our background using a drawing sprite, instead of the editor. Say we want our background to contain a special rectangular area that is called HAPPY ZONE-whenever a sprite enter that area it will stay happy. To do so, we will make use of a drawing sprite.
Create a new sprite which looks just like a small dot and create its script as followed:


alt

Start the program and after the dot finished moving, you should see a square on the stage. Decorate the stage with extra sprites.

alt

alt

alt

Right click on the stage and select “save picture of stage”. Save this image to a convenient place. Now you can delete all sprites, including the dot sprite, as well as any decorative sprites, as the palm sprites we use here. We don't need them any more, because we have taken a snapshot of the stage. To use this image as the new stage background, simply import it in the stage's Paint Editor. You can further decorate the stage. I filled the square with a bit pink. Now we are ready to use the stage.


alt

Create a sprite that has this script that says if 0 < x of sprite < 100 and 0 < y of sprite < 100, then this sprite says Happy. Move this sprite in the pink square and she should say “Happy” ^_^.

Only registered users can write comments!

!joomlacomment 4.0 Copyright (C) 2009 Compojoom.com . All rights reserved."

Last Updated on Sunday, 02 May 2010 20:33  

85px-Scratchcat.svg                       Java               python-logo