Interactive Animations and Games - Lesson 14
Name(s)___Faith Conners____________________________________________ Period __3B____ Date
_______3/3/24____________
Activity Guide - Animated Scene
100 points
Using random numbers and the counter pattern, you’re going to create an animated scene.
Before you jump into programming your scene, you need to plan! Let’s use our handy Problem-Solving Process to help
us! You can refer back to the Problem Solving Process and Programming handout to help you with the steps!
Define- 10 points
Write out a short description of your scene that includes at least 2 sprites, 2 shapes, and 2 lines of text. Include the
sorts of animations your scene will include in your description.
The problem is that I need to create a scene that has movement (animated). My scene is going to have 3 ellipses as
the shapes that are going to be bubbles that will rise up. I am going to have 4 sprites that are going to be a seahorse a
crab a jellyfish a crab and a starfish that are going to move in different directions 3 on the x 1 on the y and one on the x
and y. I am going to have two lines of text that are going to be a joke and the answer to it that will move across the
scene. _______________________________________________________________________________________
_______________________________________________________________________________________
_______________________________________________________________________________________
_______________________________________________________________________________________
Prepare- 20 points
Before thinking about the animations, sketch out exactly what the scene will look like as it just starts. This is the set up
that you will need to code outside of the draw loop. Make sure you know which parts are shapes and which are
sprites.
You need to create and use at least 4 sprites. List the sprites you will use in the box below.
Sprite Label 4 Sprites Description 20 points
Example : cat A white cat
Crab
JellyFish
A small Crab
SeaTurtle
An Invisible Jellyfish
StarFish
SeahorseX
A shaking green sea turtle
A Falling Starfish
A pink Seahorse
For each sprite that will be animated, choose the sprite property that will be updated in the draw loop, and whether you
will use random numbers or the counter pattern
Sprite Property Counter Pattern or Random? 20 points
Example: cant Sprite. Y Counter pattern
Crab
Sprite.X Counter pattern and Random
Number
JellyFish
Sprite. Y and .X
SeaTurtle Counter pattern
StarFish
Sprite. X and Rotation
Counter pattern and Random
SeahorseX
Spite.Y and Rotation Number
Sprite. X Counter pattern and Random
Number
Counter pattern
You need to have at least 2 lines of text. List them in the box below along with how you’d like the text to look.
Text Description (size, color, location) 20 points
Example: Hello world 20 px, 20x, 120 y
Why are sharks so hard to trust? 50x, 25y, textsize:20, fill white
They tell great white lies!
160y, Xposition+1 (the text is moving)! Fill: white
Do you need variables to store information about where something is?
Variable Label Description
SeaTurtle 100x, 250 y scale 0.5(half)
Crab
2
StarFish
330x 370y, Scale:0.23
SeahorseX
Random number:100,70 x,y
bubbleX And 40 Scale:0.20
Ybubble
350x, 80y Scale:0.4
Xposition
JellyFish Random Number 0,400 x,y
Random Number 400 x,y
350x, 80y 0.38 scale 0.8 alpha
Try
Once your teacher has approved your plan, go to Code Studio and start coding.
Reflect- 10 points
Compare your program to the defined problem … Were you successful in solving all aspects of the problem? How do
you know?
_Yes I was successful in solving all aspects of the problem I know because I checked over my
code.______________________________________________________________________________________
_______________________________________________________________________________________
What part of your animation are you most proud of?
I am most proud of adding the bubbles to the
scene._______________________________________________________________________________________
_______________________________________________________________________________________
What was the most challenging?
The most challenging was creating the bubbles (ellipses) in the
scene._______________________________________________________________________________________
_______________________________________________________________________________________
Are there any changes or improvements you can make to this program or another like it in the future?
There are changes that I would like to make to another one in the future.
______________________________________________________________________________________
_______________________________________________________________________________________