For PSP V5Home   >   Tutorials   >   PSP Effects
Jumping Jack-In-A-Box
Download this tutorialDownload (154kb)
E-mail this tutorial to a friendEmail to Friend

Jumping Jack-In-A-Box
Created by: Graham

This is a simple animated image tutorial, whose end result is any child's favorite - a Jack in the Box. You can use the clown I used or your own image. This tutorial was written for PSP 5 but can be used for version 6 and up.

Download the imagesDownload (2kb)
To use our Clown image, click on the Download link on the left.
 
Standard Toolbar - New (image) button

Image 1

Create a New Image with the following New Image dialog box settings:

  • Image Dimensions:
    • Width = 100
    • Height = 100
    • Resolution = 72 Pixels per Inch
    • Pixels Wide x 100 Pixels Height
  • Image Characteristics:
    • Background Color = White
    • Image Type = 16 Million Colors
  • Click on the OK button. The system displays a new 100 x 100 pixels white image.
 
PSP5 & PSP6 Foreground/Background Color Palette

Click on your Foreground Color in the Color Palette and change it to Black, then click on the Background Color in the Color Palette and change the color to green (we used #40FF40). Look at the Controls Palette, and make sure your Fill Style = Solid Color.

 
PSP5 Tool Palette - Shapes tool

Click on the Shapes Tool, then use the Controls Palette, to change:

  • Shape = Square,
  • Style = Outlined,
  • Outline Width = 1,
  • Antialias checkbox = Unchecked.
 

At the bottom of your image (and in the center), draw a square box - approximately 31 Pixels x 31 Pixels (as shown in the image on the left).

 
Tool Palette - Magic Wand tool



Tool Palette - Flood Fill tool



Tool Palette - Text tool








Using your Magic Wand tool, click once on the inside of the box (selecting the white area inside the black outline).

Click on your Flood Fill tool, and right-click once inside the selected area (filling the black outline with green). Deselect your selection [CTRL+D].

Click on the Text Tool, and in the Add Text dialog box, change the settings to:

  • Font Name = Arial
  • Style = Bold
  • Size = 10
  • Antialias checkbox = checked
  • Floating checkbox = checked

In the " Enter Text Here" field, type a Capital J, then click on the OK button. The system places a 'floating' J in your box. If its not right in the center of your box, click on the Mover Tool, and Move it over to center it. Deselect your floating selection [CTRL+D].

Your Image 1 should look like that shown on the left.

 









Tool Palette - Zoom tool

PSP5 Tool Palette - Line tool









Duplicate your image [SHIFT+D] FOUR TIMES (so that you end up with 5 images - named Image1 - Image5 respectively).

Image 2

Click on the Image 2 Title Bar (to make it the active image).

Zoom in on the image to 3:1.

Click on the Line Tool, and change the Controls Palette settings to:

  • Line Type = Normal
  • Width = 1
  • Antialias checkbox = checked

Click on the top left pixel of your black square, and draw a line up and to the right - at about 65 degrees and 31 pixels long.

While doing this, watch the settings displayed on your Status Bar at the bottom of the screen. Then release the left mouse button.

Your Image 2 should like that shown on the left.

 





Tool Palette - Zoom tool

PSP5 Tool Palette - Line tool



Image 3

Click on the Image 3 Title Bar (to make it the active image).

Zoom in on the image to 3:1.

Click on the Line tool again, then click on the top left pixel of your black square, and draw a line up and to the right - at about 55 degrees this time, and still 31 pixels long.

While doing this, watch the settings displayed on the Status Bar. Then release the left mouse button.

Your Image 3 should like that shown on the left.

 





Tool Palette - Zoom tool


PSP5 Tool Palette - Line tool




Image 4

Click on the Image 4 Title Bar (to make it the active image).

Zoom in on the image to 3:1.

Click on the Line tool again, then click on the top left pixel of your black square, and draw a line up and to the right - at about 31 degrees and 31 pixels long.

While doing this, watch the settings displayed on the Status Bar. Then release the left mouse button.

Your Image 4 should like that shown on the left.

 





Tool Palette - Zoom tool





PSP5 Tool Palette - Line tool




Image 5

Click on the Image 5 Title Bar (to make it the active image).

Zoom in on the image to 3:1.

Click on the Controls Palette, and uncheck the Antialias checkbox.

Click on the Line tool again, then click on the top left pixel of your black square, and draw a line staright up - at 90 degrees and 31 pixels long.

While doing this, watch the settings displayed on the Status Bar. Then release the left mouse button

Your Image 5 should like that shown on the left.

 




Tool Palette - Magic Wand tool


Selections > Invert menu option

Copying and pasting the Clown Clip-Art

Get a piece of clipart to place in your box. I've used a clown but you can use anything you want.

Resize the clipart picture (using Image || Resize, and check the Maintain Aspect Ratio box, and resize the image to 100 x 100 pixels.

Use the Magic Wand, and click on the background of the clipart.

Now click on the Selection || Invert menu option [CTRL+I]. The clown part of the clipart should now have a broken line around it.

Copy the clipart [CTRL+C], then Paste As New Selection [CTRL+E] onto Image 2, then Image 3, then Image 4 and finally onto Image 5.

Click on the Image 2 title bar, and move the clown, so that the top of his hat is touching the top black line. Deselect your selection.

Repeat this step for Images 3, 4 and 5, as shown in out image on the left. Don't worry - the clown's covering our box. We're about to fix that ;).

 

Copying the bottom half of Image 1

Click on Image 1.

Click on your Selection Tool, and check in the Controls Palette that the Antialias checkbox is unchecked, and that your Selection Type is Rectangle.

Because we want to copy from the top of the box to the bottom of the image, make a selection from the top of the Black Box Frame to the bottom of the image, going from the far left of the image to the far right, as shown in our image on the left.

Press CTRL+C to copy the box.

 

Pasting the bottom half of Image 1 onto Images 2, 3, 4 and 5

Click on Image 2.

Click on the Paste as New Selection [CTRL+E], and while the copies image is still selected, move it exactly over the top of the box underneath. This covers up the clown's body, and just leaves a bit of his hat showing.

Repeat this step on Images 3, 4 and 5

Your images should look like that shown on the left.

Save your images as jack1.jpg (image 1), jack2.jpg (image 2), jack3.jpg (image 3), jack4.jpg (image 4), and jack5.jpg (image 5),

 











Adding your images to an animation

Open Animation Shop, and click on the Animation Wizard button.

Click on the Next button 4 times (accepting the defaults), until you get to the fifth screen asking you to Add an Image.

In the fifth screen of the Animation Wizard dialog box, click on the Add Image button. The system displays the Open dialog box, alllowing you to choose your images.

In the Open dialog box, locate and click on jack5.jpg, then hold down your SHIFT key, and also click on (to highlight) jack1.jpg, jack2.jpg, jack3.jpg and jack4.jpg. Once they're all selected, click on the Open button. The system adds these images to the Animation Wizard dialog box. In the list, you may need to highlight an image and use the Move Up or Move Down buttons (as required) until they are displayed in the order as shown on the left.

Now click on the Next, then Finish buttons (in the following two Animation Wizard screens). The systems displays your animation as a series of Frames.

To View the Animation, click on the View > Animation menu option.

To slow down the Animation, click on the Edit > Frame Properties, and increase the Display Time number of seconds per frame.

To limit the number of times the Animation displays, click on the Edit > Animation Properties, and change the " Play it "X times" (where X is the number of times you want it to repeat).

To Save the Animation, click on the File > Save As menu option, and save the animation as Jackinabox.gif. Click on the [Next], [Next] and [Finish] buttons to save.

This is the end of the tutorial.