YoVDO

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

Offered By: Dave Churchill via YouTube

Tags

C++ Courses User Interfaces Courses Collision Detection Courses Entity Component System Courses SFML Courses

Course Description

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
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

Related Courses

Ask Me Anything About Unity
Udemy
Introduction to the Entity Component System in Unity
Pluralsight
Learn A-Frame (VR)
Codecademy
Basic Python Tutorials Series - Create a Roguelike
YouTube
Code a 2D Game Engine using Java - Full Course for Beginners
freeCodeCamp