/unity-2d-fundamentals

This repository contains the complete source code for Unity 2D Fundamentals, an educational course project designed to teach the core concepts of 2D game development using the Unity Engine.

Primary LanguageC#

Unity 2D Fundamentals – Complete Educational Course (2025)

This repository contains the complete source code for Unity 2D Fundamentals, an educational course project designed to teach the core concepts of 2D game development using the Unity Engine. It is intended as a hands-on learning resource for students, indie developers, and anyone starting their journey in game programming with C#.

⚠️ Note: This repository does not include detailed comments inside the code. All explanations are provided as part of the live course sessions and training materials.


🎮 Project Overview

  • Built with Unity 6000.0.57f1 (latest stable LTS).
  • Covers the fundamentals of 2D game development.
  • Includes a clean Unity project structure for easy exploration and modification.
  • Designed as a practical demo for educational purposes.
  • Uses free assets from -> Kenney - Pixel Platformer

🧑‍💻 Features

This project covers all the topics presented in the course, including:

  • 🎮 2D Player Controller – movement, physics, and actions.
  • 🕹️ Basic Enemy AI – movement patterns & collisions.
  • 🎨 Pixel Art assets for 2D design.
  • 🧱 Physics & Collision system adapted to 2D.
  • 🧩 Layers for better collision and object interaction control.
  • 📂 Organized project folders: Assets, Scripts, Prefabs, Scenes.

📚 Learning Goals (Course Syllabus)

This project is aligned with the Unity 2D Fundamentals educational course, covering the following topics:

  • ❓ Why use Unity?
  • ⚙️ Unity Engine Features.
  • 🧩 Component-Oriented Design.
  • 🔄 MonoBehaviour Lifecycle.
  • 🖼️ Images and Sprites.
  • 📐 Coordinate Systems.
  • 🕹️ Game Mechanics Creation.
  • 🎛️ Inputs & Input Manager.
  • ⚡ 2D Physics.
  • 🚧 Triggers & Collisions.
  • 🗺️ Level Design with Tilemaps.
  • 🎞️ Animations.
  • 🖥️ User Interface (UI).

✨ Extra concepts included in this demo:

  • 🧩 Layers for organizing collisions and interactions.

🚀 How to Run


👨‍🏫 Instructor

Developed and taught by Manuel Bacallado.

🔍 Keywords (for discoverability)

Unity2D · Unity Fundamentals · Game Development · Indie Game Development · C# · Programming · Scripting · Code Examples · Educational Project.