Year 9 Game Development 2 - Classes and Objects

What do you remember about:
Agile project management?
Assets?
Iterative development?
1 / 20
suivant
Slide 1: Carte mentale
Computer ScienceLower Secondary (Key Stage 3)

Cette leçon contient 20 diapositives, avec quiz interactifs, diapositives de texte et 2 vidéos.

time-iconLa durée de la leçon est: 60 min

Éléments de cette leçon

What do you remember about:
Agile project management?
Assets?
Iterative development?

Slide 1 - Carte mentale

Game Development 2 - OOP
Key Vocabulary:
Interactive
Gameplay
State
Player
AI
Class
Parent
Inheritance
Object
User interface

Today's lesson objectives:
Explore what states are
Learn how states contribute to the way games are played
Learn the features of Object Oriented Programming and why it’s so useful for creating games
Start thinking about the importance of how games feel to play – the user experience

Slide 2 - Diapositive

🥈 Silver Badge:


Fully answer the following questions on states and OOP.

Slide 3 - Diapositive

🥈 Silver badge:
How many different ways are there to set these switches?
How might you be able to use these switches to communicate something?

Slide 4 - Question ouverte

Answers
There are 4 ways to set these switches:
off, off
off, on
on, off
on, on

We could communicate by turning on different lights, for example. The combinations of the two switches would give us four different options for what we want to communicate.

Slide 5 - Diapositive

Think:
What might "Object Oriented Programming" mean?

Slide 6 - Diapositive

Pair:
What might "Object Oriented Programming" mean?

Slide 7 - Diapositive

Share: What might "Object Oriented Programming" mean?

Slide 8 - Question ouverte

🥇 Gold Badge
Complete the following questions on objects

Slide 9 - Diapositive

Objects
Everything is an object
What makes a cat, a cat?

Slide 10 - Diapositive

Objects
Everything is an object
What makes a cat, a cat?

Two things:
Attributes (a cat has/is...) and Methods (a cat can do...)

Those two things make up all objects in programming.

Slide 11 - Diapositive

Objects have attributes and methods.

What are attributes and methods?

Slide 12 - Question ouverte

🥉 Platinum Badge: State Classy 

The video and questions are for your platinum badge, answer depth should be appropriate.

Take notes on the video and then answer the question to a platinum standard.

Slide 13 - Diapositive

Slide 14 - Vidéo

Think of a game you have played recently.

Write a list of what you think its states might be, and then explain what the player does to move between them.

In your answer, explain how using these states helps the game keep track of what is happening.

Slide 15 - Question ouverte

3

Slide 16 - Vidéo

Pick one:
What data might you store in the class for:
A zombie, in a shooter, like Call of Duty?
A hat, in a fashion game, like Dress To Impress?

Slide 17 - Question ouverte

06:17
Think of a game you've played recently.
Name two features you think are classes.

Slide 18 - Question ouverte

06:50
In the game you thought of, how has the developer reused a class?

Slide 19 - Question ouverte

07:22
Pick one:
What data might you store in the class for:
A zombie, in a shooter, like Call of Duty?
A hat, in a fashion game, like Dress To Impress?

Slide 20 - Question ouverte