Year 9 Game Development 2 - Classes and Objects

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

In deze les zitten 20 slides, met interactieve quizzen, tekstslides en 2 videos.

time-iconLesduur is: 60 min

Onderdelen in deze les

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

Slide 1 - Woordweb

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 - Tekstslide

🥈 Silver Badge:


Fully answer the following questions on states and OOP.

Slide 3 - Tekstslide

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 - Open vraag

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 - Tekstslide

Think:
What might "Object Oriented Programming" mean?

Slide 6 - Tekstslide

Pair:
What might "Object Oriented Programming" mean?

Slide 7 - Tekstslide

Share: What might "Object Oriented Programming" mean?

Slide 8 - Open vraag

🥇 Gold Badge
Complete the following questions on objects

Slide 9 - Tekstslide

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

Slide 10 - Tekstslide

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 - Tekstslide

Objects have attributes and methods.

What are attributes and methods?

Slide 12 - Open vraag

🥉 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 - Tekstslide

Slide 14 - Video

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 - Open vraag

3

Slide 16 - Video

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 - Open vraag

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

Slide 18 - Open vraag

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

Slide 19 - Open vraag

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 - Open vraag