1 of 36

Upper Elementary

Computer Science

Game Design

2 of 36

Objective

Design and create a game using multiple programming skills such as loops, conditionals, and variables.

3 of 36

Vocabulary

Design Thinking: A creative process used to solve a problem based on a user’s needs

4 of 36

There are MANY types of games you can create!

Here are a few types:

  • Scrolling.
  • Puzzles and Mazes.
  • Dodging.
  • Role-playing.
  • And more!

5 of 36

Scrolling

6 of 36

Puzzles and Mazes

7 of 36

Aim and Throw

8 of 36

Role-playing

9 of 36

To create your game, you may use several skills.

10 of 36

Think about the types of games we just looked at.

  • Which type of game was the most interesting to you?
  • Why was it the most interesting?
  • Do you want your game to have a score?
  • Is there a goal of getting to a specific place?
  • Is there a goal to gather items?

11 of 36

Do you think you can create the game you have in mind?

  • Do you think you have enough time?
  • Are you willing to learn new things?
  • Are you excited about your game?

12 of 36

Turn and talk.

As you start thinking about the game you want to create, turn and talk to another classmate about your idea.

13 of 36

Get your handout and a pencil ready.

14 of 36

Fill out the plan for your game.

15 of 36

Tips on starting your game.

Start simple.

  • Two to four sprites.
  • Basic movements or interactions.
  • Basic player controls.

Don’t worry about details, yet. Focus on getting a basic start to your game.

16 of 36

Test and debug often, as you go.

17 of 36

Start by adding the sprites and background for the first part of your game.

18 of 36

Scrolling sprites.

Practice:

Pick a sprite and program it to look like it’s scrolling.

19 of 36

Controlling the sprites with the keyboard.

Practice:

Pick a sprite and program it to move with the keyboard.

20 of 36

Changing scenes (backdrops).

21 of 36

Controlling the sprites with the mouse pointer.

22 of 36

Keeping Score.

23 of 36

Scrolling the background using sprites.

Background sprite #1

Background sprite #2

24 of 36

Using “Lists” to store data.

25 of 36

Don’t worry about all of the detail yet.

Get your game to the point that it has some working parts.

26 of 36

Now it’s time to use your Planning Handout!

Some things to think about:

  • What is a basic thing I need to program for a sprite?
  • Do the sprites need to communicate or interact?
  • Is the player going to control a sprite? How will they do that?

Always keep the GOAL of the game in mind!

You may keep or delete your practice code.

27 of 36

Add extras.

  • Create and use variable(s).
  • Add extra sprites as obstacles, treasures, etc.

28 of 36

Share your game with a classmate.

Get their feedback.

  • Did something not work?
  • Was something confusing?

29 of 36

Make changes to your game based on the feedback.

30 of 36

Think about the difficulty of the game.

Is it easy, hard, too hard?

  • Can you add the option for the user to choose the difficulty level?
    • Choose to make the sprite move slower or faster.
    • Choose to make the targets move slower or faster.
    • Choose a different difficulty of maze to navigate (different backdrop).

31 of 36

Would a player like to change their character?

  • Can you add the option for the player to choose a different look for their sprite?
    • Add costumes to the player sprite.
    • Add an event (“space key pressed”, or “when this sprite clicked”) to change the way the player’s sprite looks (“next costume”).

32 of 36

Could the game move to other environments?

  • Would it make sense to have your game move to different locations?
    • Move from the forest to the ocean.
    • Move to the moon or in space.
    • Move from room to room.

33 of 36

Would a player like to have more feedback as they play the game?

  • Can you add more reactions as the game is played?
    • Add sound.
    • Add “say” blocks.
    • Change the look of sprites.
    • Add different scores or change how points are gained.

34 of 36

Continue developing your game.

  • Is it easy, hard, too hard?
  • Can you add the option for the player to choose a different look for their sprite?
  • Would it make sense to have your game move to different locations?
  • Can you add more reactions as the game is played?

35 of 36

Summary of things to think about...

  • Is it easy, hard, too hard?
  • Can you add the option for the player to choose a different look for their sprite?
  • Would it make sense to have your game move to different locations?
  • Can you add more reactions as the game is played?

36 of 36

Ready for more?

  • Add more actions, reactions, sounds, etc. to the sprites.
  • Add additional scenes.
  • Add additional sprites.
  • Add additional variables to keep track of scores for different actions/sprites.