Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Growing Your Code Library with Each New Project

GDC via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore techniques for building and maintaining a reusable code library across multiple game development projects in this 2021 Game Career Seminar talk. Learn how to repurpose old scripts, organize code effectively, and implement generalized systems to tackle more ambitious games without requiring a large team. Discover practical examples of reusable components, including sound effects controllers, dialogue systems, and enemy AI, while understanding the benefits of code sharing and avoiding reinvention. Gain insights into increasing project scope, improving accessibility, and streamlining development processes through efficient code library management.

Syllabus

Intro
What is a freelancer
Making Games is Hard Already
I Got Through It
I Have To Make Another Game
What Is A Code Library
Shark Repellent Metaphor
How to Maintain a Code Library
What Doesnt Go In
The Basic Process
Dont Worry About Perfect
Nonshark Based Model
Queens Gambit
Game Pieces
Core Loop
Metal Loop
Chess
Tournament Venues
Prompt Saving Systems
Where to Store Code
Organizing Code
Examples
Midautumn
Sound Effects Controller
Singletons
Singletons Overview
Singletons Generalization
Singletons Dialogue System
Black Current and Midautumn
Generalized Script
Character Data Script
Dialogue
Storybeat
Conclusion
Example 3 Generic Enemy Controller
Virtual Methods
Functionality
Melee Enemy
Ranging Enemy
Shields
Boss
Second Boss
Evolved Enemy
Toxic Enemy Controller
Summary
Reusing Code
Shareability
Accessibility
Increasing Scope
Sharing Resources
Reinventing the Wheel
Final Thoughts
Outro

Taught by

GDC

Reviews

Start your review of Growing Your Code Library with Each New Project

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.