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

YouTube

Space Invaders Clone in C# - Code Review and Optimization

The Cherno via YouTube

Overview

Dive into a comprehensive code review of a Space Invaders clone implemented in C#. Learn valuable programming techniques, optimization strategies, and game development concepts as you explore the project's structure, performance considerations, and gameplay mechanics. Gain insights on topics such as null handling, scope management, loop optimization, code abstraction, state machines, visual editor usage, alien movement algorithms, delta time limitations, and AI behavior programming. Enhance your game development skills and understanding of efficient coding practices through this in-depth analysis of a classic arcade game recreation.

Syllabus

- What we're doing today
- Playing the game
- Looking at the project
- What if it returns null?
- Keep your scopes tight!
- What a big deal is to Cherno
- Optimizing for loops
- Always consider performance
- Organizing and re-using code via abstraction
- We ate an entire chicken for lunch
- Don't go too far with abstraction
- Intro cinematic animation
- State machine
- Using the visual editor to your advantage
- How to move aliens in a space invaders game
- Delta time should be limited
- Alien AI behavior and gameplay programming

Taught by

The Cherno

Reviews

Start your review of Space Invaders Clone in C# - Code Review and Optimization

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.