PART III: The ANIMATION
Step 20: Flying Through Space open online photoshop
Back to homepage

All we have left to do is bring our spaceship into our space scene and make it move. While intricate and complicated animations are certainly possible in ToolPic, let's do something simple so we can get an idea of how creating motion in ToolPic works. Keep in mind that the same process we are about to go through can be expanded to make the animation as complex as we want.

Let's start by turning all of the existing layers and layer folders of our Space17 file into a single layer. This will reduce the file size of our image which will help to prevent the program from lagging when we are creating the multiple layers we need to make our spaceship fly.

  1. Open your Space17 file in ToolPic
  2. Make sure the visibility of all of your layers and layer folders is turned on so you can see all of your wonderful work (you should be able to see your Star Field, Nebula, Sun, Planet1, Planet2, Comet, Asteroids, and Lens Flare)
  3. Right-click your Flare layer, which should be at the top of your layer stack, and click Flatten Image...

    Notice that you now have a single layer...

Flatten Image takes everything within the image, doesn't matter if it is an individual layer or an entire layer group, and turns it all into a single layer.

At this point we should save a new version of our space scene so that our Space17 file (that contains all of our separate layers) will still be saved in our folder in case we want to make changes to it at a later time (and so that our work up to this point can be graded).

AGAIN, DO NOT SAVE YOUR SPACE17 FILE WITH THE LAYERS MERGED -
YOU WILL NOT BE ABLE TO SEPARATE THE LAYERS LATER
AND YOU WILL LOSE POINTS WHEN YOUR WORK IS GRADED!

  1. Click File then click Save as PSD
  2. Name the file Step20.psd
  3. Click Save - notice that the title bar for your image still says that you are working with the Space17 file...

We now have our Step20.psd file with a single layer saved to our device, but also have our original Space17.psd file with all of the separate layers still intact. Now let's get our spaceship into our space scene. We want to continue working with the Step20 file, so let's take a second to close the Space17 file and open up the Step20 file.

  1. Close the Space17 file by clicking the X indicated below...
  2. Click Open From Computer (or click File and then click Open) and then double-click the Step20 file to open it in ToolPic
  3. Rename the layer (there should only be one) to Space
  4. Open your Spaceship19 file in ToolPic
  5. Click on the Pilot layer folder and drag it onto the Step20 file tab...

    Notice that ToolPic places your spaceship in a new layer group...
  6. Right-click the Pilot layer folder and then click Merge Layers...

    Your spaceship should now be sitting on a normal layer that is still named Pilot
  7. Rename the Pilot layer to _a_1 (yes, it's a strange name - I'll explain why we are using that in just a second)...
  8. Close your Spaceship19 file

Your wonderful spaceship image should now be sitting in the upper-left hand corner of your space scene...

  1. Determine how large you want your spaceship to be - I am going to leave mine the size it is - feel free to make yours smaller if you wish (DO NOT make it larger), but be sure that no matter what size you make it that you can still read your name easily


To create an animation in ToolPic, we first need to create the individual layers that will become the frames of the animation. When viewing an animation, nothing is actually 'moving', instead you are being shown a series of pictures where the items that appear to move are in a slightly different place in each image. Talk a look at this image...

Notice how the cartoon giraffe is in a different position each time. If I show you each image quickly in order, you will see this...

Kinda freaky to realize that when you watch a movie or TV show that you are not actually watching anything move.....it's just a bunch of pictures flashed at you really quick (usually 24 pictures a second). We can use this method to make an animation in ToolPic by placing each individual image on its own layer. When we export our image as a GIF, PNG, or WEBP file (all file types that support animation), ToolPic detects all layers starting with _a_. By using _a_ in the name of the file, ToolPic knows we want our image to animated (the a is short for animated). Every layer, or even a layer folder, whose name starts with _a_ will be a frame in the animation. The first layer named with this pattern is shown in the first frame (others starting with _a_ are hidden on that frame), the second layer is shown in the second frame, and so on. This is why we named our first layer _a_1 back in direction 13.


We now need to move our spaceship into the correct position to start our animation. We want our ship to appear to come in from the left and fly off the right, so we need to start with it off the screen to the left then have it gradually appear as it flies to the right. If you are not getting this, don't worry - you will understand as we do this.

  1. Using the Move Tool, click in the center of your spaceship and drag it all the way to the left of your image until it is off of your canvas and out of your space scene - yes, we want it to be out of the picture to the left (don't worry, you are not getting rid of it, just moving it so far to the left that it can't be seen) - note that you may need to zoom out to see the area to the left of your image
  2. As you move your spaceship, keep an eye on the left side of your space scene and look for a red line like the one circled below...

    Decide where you want your spaceship to come into your space scene at - it can be anywhere along the left side - and release the mouse to drop your spaceship at a spot where you can see the red line along the edge

The red line along the edge is letting you know that the right edge of your spaceship file is aligned with the left edge of your space scene file. This system also works in other locations while your image is off the canvas. For example, if you drag your spaceship to the top of your canvas a red line will appear...

This red line indicates that that the top of the object you are moving (which for us is our spaceship) is now aligned with the top of the canvas. These red lines are very helpful in getting things lined up. Note that a red line will appear in the center when your spaceship is aligned in the center, and a red line will appear at the bottom when the bottom of the spaceship is aligned with the bottom of your canvas. Remember that you can place your spaceship anywhere you want along the left edge of your space scene.

We now need to create additional layers and gradually move our spaceship across the screen.

  1. Right-click the _a_1 layer and click Duplicate Layer - note that ToolPic names the duplicate layer _a_1 copy...
  2. Rename the new layer _a_2
  3. Use the Move Tool to click and drag your spaceship to the right until you can just see the side of your head...
  4. Repeat the above three directions over and over and over and over and over and over, each time moving your spaceship little by little to the right and naming each new layer you create in sequence (_a_3, _a_4, _a_5, _a_6, etc.) until your spaceship is no longer visible off the right side of your image (on the last layer you should see the red line down the right side of your image)

Try to move your spaceship by the same distance each time so that the animation runs smoothly. If you move it too far on any of the new layers then your ship will appear to leap great distances as it flies through space. When you reach the other side of your space scene you should have multiple numbered layers and your image should look something like the image below...


This is with the visibility of all layers turned on

Remember that your spaceship can follow any path you like - you can even have it do loops or get smaller so that it appears to fly away from us, then larger again if you want. You can even have it disappear behind one of your planets (be sure to make it really small at it goes into orbit) and appear on the other side.


Let's take a quick look at our animation to make sure everything moves like we want.

  1. Click File and point at Export as and then click GIF...

    This will open the Save for web window...

If you allow the Save for web window to sit for just a second, you should see your ship fly by. Because our image is so large, we can't see the entire scene in the window at 100% zoom. This is easy to fix.

  1. Point at the space scene and roll the mouse wheel down until the zoom indicator reads 50.00%...

    You should now be able to see your spaceship move across your entire space scene

Using the various options in the Save for web window, we can control the appearance of our animated image.

Format - Defines the type of image we are creating

Width and Height - Allows us to change the size that the image is saved at

Quality - Lowering the percentage will not only create a lower quality image, but will also decrease the file size of the image (this is helpful if file size is more important than image quality)

Speed - Controls how quickly our object moves through the image, so in our case clicking and dragging the slider will either increase or decrease the speed at which our spaceship travels through our space scene

Repeat - Defines how many times the animation repeats before stopping - setting this to 0 causes the animation to repeat continuously

reverse frames - Will flip our frames so that the animation runs in the opposite directions (in other words, your spaceship will fly backwards if you select this option)

We are going to leave most of the setting above alone, but we do need to make a small adjustment to the Speed. We want our spaceship to move as smoothly as possible through our space scene (and we want it to get quickly to the other side). With Speed set to 100%, this is the animation we get...

It's not bad, but the slight pauses between the display of each frame (meaning each layer) is noticeable. If we get our spaceship to move a little faster, we can smooth out the animation.

By default, each frame will be shown for 50 ms before being replaced by the next frame. In fact, ToolPic allows you to specify the exact amount of time each layer will be visible in the animation. To do this, simply place a comma after the layer name and then indicate the number of milliseconds (thousands of a seconds, so 1000 would be one second) the frame should display before being replaced by the next frame. For example, if I named my first layer _a_1,500 then that frame would stay on screen for half a second.

Being able to specifically control the amount of time each frame displays is important, because it allows us to create variations in our animation...

Notice how the spaceship in the above animation comes in quickly, slows down as it reaches the center, and then speeds up again as it exits the scene. I did this by gradually increasing the number on each layer to make that frame display longer, as you can see from the several layers shown below...

When my spaceship reached the center of the image, I simply reversed the numbers so that it sped up as it exited. For this project, you do not have to worry about trying to pull off anything like this (though if you have time and want to try, go for it), we will go with the much easier method of letting ToolPic set the same value for all frames.

  1. Increase the Speed setting to a value between 120 and 160 - I'm not going to give you an exact amount here, you are free to set it to whatever you like...

    I'm going to set my value to 140 as shown in the image above - to change the value you can either click on the blue dot and drag it to the right, or you can type the amount in directly (if you type the amount in, you can just click on the area with the red circle in the above image to commit the number change)

Note that when you change the Speed that ToolPic will pause for a second and then show you the animation at the new speed, so don't freak out when things don't happen instantly.

  1. Once your spaceship moves in a way that you are happy with, click the Save button...
  2. Go to the folder where you are saving your ToolPic work and name the file Final (ToolPic will add the .GIF extension automatically)
  3. Click the Save button
Let's have a quick look at our image to make sure everything saved correctly and it works like it should.
  1. Go to the folder where you saved your animated file and right-click on your Final file then point at Open with and click the browser of your choice...

    If you want, you can go directly to Chrome and press Ctrl+O on the keyboard to bring up the Open window and select the Final file from there
  2. You should now be able to see your flying spaceship...

    If you are not flying through space, or if you do not have a smooth animation, return to ToolPic and correct any problems
  3. Close the browser
  4. Save your Step20.psd file (remember, you should NOT be saving the work you did on this step as Space17!)

We are now done with the Astronaut Space Scene project - good job!

  1. Close your image
  2. Close ToolPic

    
Hey, you're done! Way to go - I knew you could do it!
Hopefully by now we have learned that if we read and follow the directions that this stuff is really easy.

If you have completed this project ahead of the deadline, now is your chance to add in some additional details to make your space scene stand out from the rest.
A bunch of great ideas and some additional instructions on how to do them can be found on the super secret bonus Step 21 page
.
Shhhhh...don't tell anyone about it.

We have a little more work to do in ToolPic which will teach us some additional tools -
yes, there are still some important tools we haven't used!

Once you have completed your Astronaut Project work, begin the next project - and have fun!!
    


01 | 02 | 03 | 04 | 05 | 06 | 07 | 08 | 09 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20