Skip to main content
Mr. Helland
  • Home
  • Calendar
  • More
English
Deutsch English Español Français Tiếng Việt Русский العربية 简体中文
You are currently using guest access
Log in
Mr. Helland
Home Calendar
Expand all Collapse all
  1. Game Prog
  2. 2️⃣ Action Games
  3. 11: Catch the Cue Ball (Part 02)

11: Catch the Cue Ball (Part 02)

Completion requirements
Make a submission
Due: Friday, March 6, 2026, 11:59 PM

Target Icon Learning Target

  • Use variables to store information
  • Use randomization to improve decrease predictability
  • Change game behavior based on user input


Pencil Icon Instructions

Step 1: 

If Part 01 of your project isn't already open, then open it in GDevelop from the Build Menu. 

 

Step 2: 

Save the project as "Catch the Cue Ball 02" or something like that. You can save it in the same folder as last time, but saving it with a different name means you can always return to the first version of the game should you need to. 

 

Step 3: 

We'll start by changing the position of the Cue Ball when we click on it with the mouse.
The first half of this video (0:00-04:05) will show how that is done.

CHANGE in GDEVELOP:

    • When you see something that looks like this in the video:
objectName.Variable(variableName)
    • You should use this newer and simpler syntax instead:
objectName.variableName

  

 

Step 4: 

Next, we'll make the ball move in a random direction (

video example
). 

 

Step 5: 

Lastly, we'll use a variable to gradually increase the speed of the object every time we click on it (

video example
).

 

Step 6:

Save your game. Then, preview the game to make sure it is working as shown here (

video example
)!

Make any changes that you think are needed. Then, save your project again.

Repeat this step as needed.

 

Step 7:

Click the Submit Assignment button. Upload your most recent copy of the game file.
If you saved your game to a Google Drive folder, you can submit that instead.


Grading Grading

Your submission... Your grade...

Extended

  • All requirements for an A are met
  • The ball decreases speed each time it hits a wall, but never goes below the starting speed (otherwise, it will get stuck)
A+

Exceptional

  • Exceptional effort 
  • The ball starts moving in a random direction
  • Each time the ball is clicked by the mouse:
    • The ball changes direction randomly
    • All angles from 0 to 359 are possible
    • The ball speeds up
    • The speed up amount permits most people to play the game for at least 20 seconds
A

Good

  • Good effort
  • The ball starts moving in a random direction
  • Each time the ball is clicked by the mouse:
    • The ball changes direction randomly
    • All angles from 0 to 359 are possible
    • The ball speeds up
B

Reasonable

  • Reasonable effort
  • The ball starts moving in a random direction
  • Each time the ball is clicked by the mouse:
    • The ball changes direction randomly
    • The ball speeds up
C

Needs Improvement

  • The ball starts moving in a random direction
  • Each time the ball is clicked by the mouse:
    • The ball changes direction randomly
      -- or --
    • The ball speeds up
D

Insufficient

  • Missing criteria above
  • Limited or no effort
F
Scores may be rounded to the nearest whole number.

 

◄ 10: Catch the Cue Ball (Part 01)
12: Catch the Cue Ball (Part 03) ►
You are currently using guest access (Log in)
Get the mobile app
Powered by Moodle