Engines, Tech & Hardware

⚙   🎮   💻
CS 470 | Game Development

Week 1 • Lecture 3

Game Engines

What is a Game Engine?

  • A framework for building games without starting from scratch
  • Handles: Rendering, Physics, Input, Audio, Scripting
  • Like a car chassis — you add the body and paint

Engine vs Custom Code

Game Engine

  • Pre-built systems
  • Visual editors
  • Fast iteration
vs

Custom Engine

  • Full control
  • Optimized for needs
  • Longer development

The Major Players

Godot
Unity
Unreal
GameMaker

Godot Engine

Godot 4.x editor interface with node tree, 2D/3D viewport, inspector panel

Godot Features

Open Source

100% free, MIT license

GDScript

Python-like, easy to learn

Node System

Everything is a node

2D & 3D

First-class support for both

Cross-platform

Export to PC, mobile, web

Active Community

Growing fast

Made with Godot

Collage: Dome Keeper, Cassette Beasts, Brotato, Cruelty Squad

2K+

Steam games

90K+

GitHub stars

$$$

Brotato made millions

Notable: Sonic Colors Ultimate, Cassette Beasts, Dome Keeper

🎬 Godot Engine - 2025 Showreel

Unity

Unity editor interface showing hierarchy, scene view, inspector, project panel

C# Scripting

Industry-standard language

Asset Store

Huge marketplace

Documentation

Extensive tutorials

Note: 2023 pricing controversy shook developer trust

Made with Unity

Collage: Hollow Knight, Cuphead, Among Us, Genshin Impact, Beat Saber

70%+

Mobile games

Top Hits

Hollow Knight, Cuphead

VR

Beat Saber, Among Us VR

Notable: Hollow Knight, Cuphead, Among Us, Genshin Impact

Unreal Engine

Unreal Engine 5 editor with Lumen lighting, Nanite demo, Blueprint visual scripting

Blueprints

Visual scripting system

Nanite & Lumen

Next-gen graphics tech

Free until $1M

Then 5% royalty

Made with Unreal

Collage: Fortnite, Valorant, Final Fantasy VII Remake, Rocket League

AAA

Fortnite, FF VII Remake

Esports

Valorant, Rocket League

Film

The Mandalorian sets

Beyond games: Architecture, automotive, virtual production

GameMaker

GameMaker Studio 2 editor showing room editor, sprite editor, code window

GML Language

Simple syntax

Drag & Drop

Visual coding option

2D Focus

Pixel art friendly

Notable: Undertale, Hyper Light Drifter, Hotline Miami

Custom Engines

Logos: id Tech, Frostbite, Decima, RE Engine

id Tech

DOOM, Quake

Frostbite

Battlefield, FIFA

Decima

Horizon, Death Stranding

Why? Specific needs, full control, competitive edge

Choosing an Engine

Godot

Best for: 2D, learning

Curve: Low

Cost: Free

Unity

Best for: Mobile, indie

Curve: Medium

Cost: Free to $$$

Unreal

Best for: 3D/AAA visuals

Curve: High

Cost: Free to 5%

GameMaker

Best for: 2D pixel art

Curve: Low

Cost: $0-800

Why Godot for This Course?

  • Free and open source — no licensing headaches
  • GDScript is beginner-friendly (Python-like)
  • Lightweight — runs on any laptop
  • Excellent 2D support (our focus)
  • Growing industry adoption

Hardware 101

What Runs Your Game?

Diagram showing CPU, GPU, RAM, Storage with labeled arrows indicating data flow

CPU vs GPU

CPU

🧠

"The Brain"

  • Few powerful cores
  • Sequential tasks
  • Game logic, AI, physics
vs

GPU

"The Army"

  • Many small cores
  • Parallel tasks
  • Rendering, shaders

What the CPU Does

CPU Pipeline: Input → Logic → AI → Physics → Audio (sequential, one task at a time)

Logic

Game scripts & state

AI

Decision making

Physics

Collision & movement

Sequential: One task at a time, very fast

What the GPU Does

GPU Pipeline: Vertices → Vertex Shader → Rasterization → Fragment Shader → Pixels (parallel, thousands of cores)

Pixels

Drawing millions per frame

Shaders

Visual effects & lighting

Post

Bloom, blur, color grading

Parallel: Thousands of cores working together

Frame Rate

30 FPS

Cinematic, budget

60 FPS

Standard, smooth

120+ FPS

Competitive, premium

16.67ms

Time budget per frame at 60 FPS

Resolution

Side-by-side: 720p, 1080p, 4K pixel density

720p

0.9M pixels

1080p

2.1M pixels

4K

8.3M pixels

Trade-off: 4K = 4x the GPU work of 1080p

Input Devices

Keyboard & Mouse
Controller
Touch Screen
Motion / VR

Design for your target input — each has different strengths

Console vs PC

Console

  • Fixed hardware
  • Optimization target
  • Closed ecosystem
vs

PC

  • Variable hardware
  • Settings flexibility
  • Open ecosystem

Modern Game Tech

Rasterization

Rasterization rendering pipeline

Fast

Traditional, proven approach

Approximate

Fakes lighting with tricks

Reality: Most games still use rasterization

Path Tracing

Path tracing rendering

Realistic

Simulates actual light physics

Expensive

Requires modern GPU hardware

Trend: Hybrid approaches combining both techniques

Rasterization vs Path Tracing

Side-by-side comparison of rasterization and path tracing

Physics

Ragdoll, rigid bodies, cloth, destruction

Rigid

Solid body dynamics

Collision

Detection & response

Soft

Cloth & deformables

Goal: Make worlds feel real

Procedural Generation

Minecraft, No Man's Sky, roguelike dungeons

Infinite

Content from algorithms

Variety

Randomness + rules

Examples

Minecraft, Spelunky

Week 13: We'll build this

AI in Games

A* pathfinding, behavior trees, state machines

Pathfind

A*, nav meshes

Behavior

Decision trees

State

Enemy state machines

Note: Believable, not intelligent

Networking

Client-Server, P2P, Rollback netcode

C-S

Authoritative, anti-cheat

P2P

Lower latency, no server

Rollback

Fighting games, prediction

Challenge: Latency is the enemy

Tech Overview Recap

  • Rendering — Rasterization & Ray Tracing
  • Physics — Collision, rigid bodies, dynamics
  • Procedural — Algorithms create content
  • AI — Pathfinding, behavior, decisions
  • Networking — Synchronizing players

Resources & Community

GDC Talks

GDC logo and GDC Vault screenshot

What

Game Developers Conference

Free

Talks on YouTube (GDC Vault)

Content

Postmortems, design deep-dives

Tip: Goldmine of industry knowledge

🎬 GDC YouTube Channel

itch.io

itch.io homepage, indie games, game jams

Platform

Indie game marketplace

Pricing

Name your own price

Jams

Game jams every week

Great for: Publishing your first game

Game Jams

Ludum Dare, GMTK, Global Game Jam logos

Ludum

48-72 hours, twice yearly

GMTK

48 hours, theme-based

GGJ

48 hours, worldwide

Best way: Learn fast, finish something!

YouTube Channels

Game Maker's Toolkit

Design analysis

GDC

Industry talks

Brackeys

Tutorials (archived)

Sebastian Lague

Coding adventures

Masahiro Sakurai

Smash creator insights

Jonas Tyroller

Indie dev journey

Godot Resources

Godot documentation website, Discord server screenshot, r/godot subreddit

Docs

docs.godotengine.org

Discord

Active community support

Reddit

r/godot tips & showcase

Community: Welcoming & helpful

Course Roadmap

Weeks 1-15 Overview

course-timeline.png
Visual timeline: Phase 1 (Weeks 1-5: Foundation, Pong to Mario), Phase 2 (Weeks 6-7: 2D Mastery), Phase 3 (Weeks 8-12: Physics + 3D), Phase 4 (Weeks 13-15: Advanced), Finals Week 16

Grading

15%

Participation

15%

Quizzes (5)

30%

Assignments

15%

Midterm

25%

Final Project

Next Time

We Start Coding!

godot-first-project.png
Godot new project screen, simple "Wanderer" game with character moving around

Install Godot 4.x before class!

See You Next Class!

Questions? Come chat after class.