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

Video Game Design and Development: Introduction to Game Programming
Abertay University via FutureLearn
Computer Science for Game Development
Harvard University via edX
Practical Game Development in Unity 4: Level 1
Udemy
Game Development for beginners with Python
Udemy
Code Your First Game: Arcade Classic in JavaScript on Canvas
Udemy