1 of 53

2 of 53

Introduction to Game Development

Faculty of Mathematics and Physics

Charles University, Prague

Vojtěch Černý

3 of 53

What genres do games have?

4 of 53

What is a game?

5 of 53

What is a game?

  • A series of meaningful choices. Sid Meier
  • Voluntary engagement in unnecessary obstacles. – Jane McGonigal
  • A rule-based formal system with a variable and quantifiable outcome, where different outcomes are assigned different values, the player exerts effort in order to influence the outcome, the player feels attached to the outcome, and the consequences of the activity are optional and negotiable. – Jesper Juul
  • An entertaining activity governed by rules where you try to reach a goal. – class of 2022

6 of 53

Prices of Game Development

GTA V (2013)

  • $265M (total cost)
  • $137M (dev. cost)
  • $128M (marketing)

CoD: MW2 (2009)

  • $250M (total cost)
  • $50M (dev. cost)
  • $200M (marketing)

(prices unadjusted for inflation)

Cyberpunk 2077 (2020)

  • $313M (total cost)
  • 8M pre-orders (payed itself)

KC:D (2018)

  • $36.5M (total cost)
  • 1M sold copies = break-even

Star Citizen (?)

  • $430M+ (funding)

7 of 53

Prices of Movie Production

  • Pirates of the Caribbean: On Stranger Tides: $378M
  • Avengers: Endgame: $356M
  • The Hobbit: The Battle of Five Armies: $250M
  • Avatar: $237M
  • Titanic: $200M
  • Terminator 2: Judgement Day: $94M
  • Ben Hur: $15M

(prices unadjusted for inflation)

8 of 53

Why does it cost so much?

  • Game design
    • Rules
    • Core mechanics
    • Game loops
  • Code
    • System/engine
    • Game code
    • Tools
  • Assets
    • Graphics
    • 3D models,
    • Animations
    • Sounds / Music
    • Game levels
    • Story
    • ...

9 of 53

https://twitter.com/RedDead2Info/status/1051652882515324929

10 of 53

The effects of games

  • Tetris effect
  • Super Mario effect

11 of 53

A lot of roles

12 of 53

13 of 53

14 of 53

15 of 53

16 of 53

A lot of roles

17 of 53

Making games is very complicated

18 of 53

It wasn‘t always like this...

19 of 53

20 of 53

Pitfall (1982)

21 of 53

Nidhogg (2014)

22 of 53

The rise of the indie game

23 of 53

What is an indie game?

24 of 53

Indie games

  • A big rise from ~2005
  • Independent development
    • Small teams / individuals
    • No longer „the bigger the better“
    • Creative freedom
    • More innovation
  • Hard to get noticed?

25 of 53

How do you come up with an idea?

26 of 53

A bunch of indie games

27 of 53

What is the opposite of an indie game?

28 of 53

29 of 53

How do they do it?

  • Engines!

30 of 53

31 of 53

Game Engine

  • „Universal“ game creation framework
  • Contains common functionalities for games

32 of 53

Common engine capabilities

  • Renderer
  • Simulation
  • Physics
  • Network
  • Audio
  • Scripting
  • Asset management
  • Level Editor

33 of 53

Engines in the wild

Commercial:

  • Unity
  • Unreal Engine 4
  • Source
  • CryEngine

In-house:

  • EA: Frostbite
  • Rockstar: RAGE
  • Bethesda
    • Creation (Skyrim, Fallout 4)
    • id Tech 7 (Doom Eternal)
  • Ubisoft
    • Anvil (AC, Ghost Recon Wildlands)
    • Dunia (Far Cry)
    • Disrupt (Watch Dogs)
    • Snowdrop (Division)

34 of 53

Game Engine

Advantages

  • Provides boilerplate
  • Major systems implemented
  • Has editor
  • Manages assets
  • Help & Tutorials
  • Multiplatform support

Disadvantages

  • Updates may break your game
  • Access to source?
  • May be inefficient for your game
  • Bugs of other people

35 of 53

Digital games

Games for which an engine is useful

36 of 53

Unity engine

  • Released in 2005
  • Today popular and multiplatform
  • Written in C++, scripting in C#
  • Easy to use
  • Free (for low revenue) or paid
  • Good for prototyping and small games
  • Closed source

37 of 53

Example engine features

38 of 53

Editor

39 of 53

Animation

  • Show movement

40 of 53

3D Animation

  • Skeletons

41 of 53

Collision detection

  • Intersects / collides between any objects?
  • Act upon it correctly
  • Efficiently and robustly

42 of 53

Rendering

  • Rendering a 3D world into screen space
  • Cameras
  • Lighting, raytracing, etc.

43 of 53

Lightning & Shadows

44 of 53

Takeaways

  • What engines are
  • Engines are your friend
    • Except when they‘re not

  • They help you not reinvent wheels
  • Perhaps daunting at first sight
  • Bugs!

45 of 53

About this course

46 of 53

What‘s this course?

  • Quick hands-on intro to game-development
    • Design
    • Development
    • Feedback and tuning

„Absolute basics of most Gamedev MSc courses“

  • Get a head start for the MSc programme!

47 of 53

Course structure

  • Lectures
    • Different parts of game dev
    • Guest lecturers

  • Labs - 3 projects
    • Project A – design doc
    • Project B – platformer
    • Project C – another platformer or something else

48 of 53

People behind GameDev

  • Vojta Černý
  • Lukáš Kolek
  • Karel Vlachovský
  • Martin Kahoun
  • ...

49 of 53

Prepare for tough work!

  • All HW is mandatory
  • All HW must be submitted on time
    • Exceptions for important reasons dealt with individually
  • HW may be assigned on lecture, don‘t skip them
  • Deadline for HW can be as short as 5 days
  • Journal entries on itch.io
  • Possible teamwork (further in the course)

50 of 53

Formal Requirements

  • Lab credit (zápočet)
    • Fullfill all HW and projects

  • Exam
    • Mixed written-oral
    • Questions about knowledge from the lectures and discussion about the projects (mainly Project C)

51 of 53

Rewards

  • Wide knowledge
  • You will know lots about Gamedev
  • Much easier time to study Game Development Master course
    • You‘ll know how the courses fit together upfront

52 of 53

GameJAM

  • Make a game in 48 hours
  • In person, at MFF
  • Highly recommended to attend
    • Redeemable credits for MSc course

  • 22nd of April!

53 of 53

See you around!