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

YouTube

Game Programming: Assignment 2 and Entity Component System Architecture - Lecture 7

Dave Churchill via YouTube

Overview

Explore game programming concepts in this comprehensive lecture from COMP4300 - Game Programming. Learn about Assignment 2 specifications, including player and enemy design, special abilities, and scoring. Dive into architecture slides, submission instructions, and mathematical concepts for enemy spawning and bullet velocity. Discover entity rendering techniques, lifespan and fading effects, pausing mechanics, and configuration file usage. Follow along with iterative development as the instructor opens the project and explains key classes like Vec2, Entity, and Game. Gain insights into initialization, config reading, entity spawning, rendering, and bug hunting. Master player movement, mouse input for bullet spawning, entity management, and collision systems. Conclude with an explanation of Makefiles for Linux and Mac environments.

Syllabus

- Preroll
- Welcome
- Grade Clarification
- Assignment 2 Demo
- Architecture Slides
- Submission Instructions
- Player Specification
- Special Ability
- Enemy Specification
- Enemy Positions and setOrigin
- Circle Shapes and Point Count
- Spawning Small Enemy Math
- Bullet Velocity Math
- Spawning Enemy Bounds Math
- Calculating Score
- Drawing Entities + Bonus Effects
- Lifespan + Fading
- Pausing
- Configuration File
- Iterative Development
- Opening the Project
- Vec2 Class
- A2 Classes Explained
- Entity Class
- Component Classes
- Game Class
- init and Config Reading
- run and pausing
- spawnPlayer and Entity examples
- spawnEnemy
- sRender all Entity rendering
- Rendering bug hunting
- Found the bug! EntityManager update
- sEnemySpawner
- Player Movement / Input
- spawnBullet and Mouse Input
- EntityManager delete dead Entities
- Collision System
- Makefiles Explained Linux / Mac

Taught by

Dave Churchill

Reviews

Start your review of Game Programming: Assignment 2 and Entity Component System Architecture - Lecture 7

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.