1 of 54

2 of 54

Introduction to Game Development

Faculty of Mathematics and Physics

Charles University, Prague

Vojtěch Černý

3 of 54

What genres do games have?

4 of 54

What is a game?

5 of 54

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
  • An interactive leisure activity in an artificial environment, containing rules, challenge and a goal, and is sometimes fun. – class of 2023
  • A fun, leisure activity with given rules, a goal, and challenge. – class of 2024

6 of 54

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 54

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 54

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 54

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

10 of 54

The effects of games

  • Tetris effect
  • Super Mario effect

11 of 54

A lot of roles

12 of 54

13 of 54

14 of 54

15 of 54

16 of 54

A lot of roles

17 of 54

Making games is very complicated

18 of 54

It wasn‘t always like this...

19 of 54

20 of 54

Pitfall (1982)

21 of 54

Nidhogg (2014)

22 of 54

The rise of the indie game

23 of 54

What is an indie game?

24 of 54

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 54

How do you come up with an idea?

26 of 54

A bunch of indie games

27 of 54

What is the opposite of an indie game?

28 of 54

29 of 54

How do they do it?

  • Engines!

30 of 54

31 of 54

Game Engine

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

32 of 54

Common engine capabilities

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

33 of 54

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 54

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 54

Digital games

Games for which an engine is useful

36 of 54

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 54

Example engine features

38 of 54

Editor

39 of 54

Animation

  • Show movement

40 of 54

3D Animation

  • Skeletons

41 of 54

Collision detection

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

42 of 54

Rendering

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

43 of 54

Lightning & Shadows

44 of 54

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 54

About this course

46 of 54

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 54

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 54

People behind GameDev

  • Vojta Černý
  • Tom Holan
  • Jiří Pelc
  • ...

49 of 54

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
  • Some practicals are mandatory
  • Deadline for HW can be as short as 5 days
  • Journal entries on itch.io
  • Possible teamwork (further in the course)

50 of 54

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 54

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 54

GameJAM

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

  • Most probably 28-30 March!

53 of 54

Last Info

  • We have a Discord! Join it! discord.gg/vykKyBzrBT

  • We have a webpage

gamedev.cuni.cz

  • Prepare for 1st practical

bit.ly/npgr038-prep

54 of 54

See you around!