praca_magisterska/games/unreal/tutorial
Copilot dd009a0029
Add C++ code-first tutorial for Unreal bullet-hell game (#2)
* Initial plan

* Add C++ code-first tutorial approach for Unreal game

Co-authored-by: kuhyx <147418882+kuhyx@users.noreply.github.com>

* Add quick start guide for code-first approach

Co-authored-by: kuhyx <147418882+kuhyx@users.noreply.github.com>

* Restructure C++ tutorial into part-by-part format and add migration guide

Co-authored-by: kuhyx <147418882+kuhyx@users.noreply.github.com>

* Address PR feedback: improve part-1, add Expected Results, split parts 4-9 into separate files

Co-authored-by: kuhyx <147418882+kuhyx@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: kuhyx <147418882+kuhyx@users.noreply.github.com>
2026-01-08 16:44:56 +01:00
..
.markdownlint.json chore: markdown linter and fixes 2026-01-05 18:43:37 +01:00
.prettierrc chore: markdown linter and fixes 2026-01-05 18:43:37 +01:00
appendix-a-variables.md chore: markdown linter and fixes 2026-01-05 18:43:37 +01:00
appendix-b-troubleshooting.md chore: markdown linter and fixes 2026-01-05 18:43:37 +01:00
appendix-c-unity-conversion.md chore: markdown linter and fixes 2026-01-05 18:43:37 +01:00
lint-markdown.sh chore: markdown linter and fixes 2026-01-05 18:43:37 +01:00
part-1-cpp-project-setup.md Add C++ code-first tutorial for Unreal bullet-hell game (#2) 2026-01-08 16:44:56 +01:00
part-1-project-setup.md chore: markdown linter and fixes 2026-01-05 18:43:37 +01:00
part-2-cpp-create-player.md Add C++ code-first tutorial for Unreal bullet-hell game (#2) 2026-01-08 16:44:56 +01:00
part-2-create-player.md chore: markdown linter and fixes 2026-01-05 18:43:37 +01:00
part-3-cpp-create-bullet.md Add C++ code-first tutorial for Unreal bullet-hell game (#2) 2026-01-08 16:44:56 +01:00
part-3-create-bullet.md chore: markdown linter and fixes 2026-01-05 18:43:37 +01:00
part-4-cpp-create-enemy.md Add C++ code-first tutorial for Unreal bullet-hell game (#2) 2026-01-08 16:44:56 +01:00
part-4-create-enemy.md chore: markdown linter and fixes 2026-01-05 18:43:37 +01:00
part-5-cpp-create-spawner.md Add C++ code-first tutorial for Unreal bullet-hell game (#2) 2026-01-08 16:44:56 +01:00
part-5-create-spawner.md chore: markdown linter and fixes 2026-01-05 18:43:37 +01:00
part-6-cpp-create-game-director.md Add C++ code-first tutorial for Unreal bullet-hell game (#2) 2026-01-08 16:44:56 +01:00
part-6-game-director.md chore: markdown linter and fixes 2026-01-05 18:43:37 +01:00
part-7-cpp-create-ui.md Add C++ code-first tutorial for Unreal bullet-hell game (#2) 2026-01-08 16:44:56 +01:00
part-7-score-manager-ui.md chore: markdown linter and fixes 2026-01-05 18:43:37 +01:00
part-8-cpp-create-game-mode.md Add C++ code-first tutorial for Unreal bullet-hell game (#2) 2026-01-08 16:44:56 +01:00
part-8-game-mode-level.md chore: markdown linter and fixes 2026-01-05 18:43:37 +01:00
part-9-cpp-final-setup.md Add C++ code-first tutorial for Unreal bullet-hell game (#2) 2026-01-08 16:44:56 +01:00
part-9-final-setup.md chore: markdown linter and fixes 2026-01-05 18:43:37 +01:00
QUICKSTART-CODE-FIRST.md Add C++ code-first tutorial for Unreal bullet-hell game (#2) 2026-01-08 16:44:56 +01:00
README.md Add C++ code-first tutorial for Unreal bullet-hell game (#2) 2026-01-08 16:44:56 +01:00

Unreal Engine Bullet Hell Game - Complete Tutorial

This tutorial recreates the Unity "magisterka_1" bullet-hell shooter in Unreal Engine 5.

Game Features

  • Player ship with movement and shooting
  • Enemies that move downward with sinusoidal horizontal motion
  • Enemy spawning that increases over time
  • Radial bullet patterns from enemies
  • Score, lives, and timer UI
  • Special "bomb" ability to clear screen
  • 5-minute game duration with victory/defeat conditions

🆕 Two Approaches Available

This tutorial offers two ways to implement the game:

🚀 QUICK START: 3-Minute Code-First Guide

→ Start the C++ Tutorial:

Best for: Anyone comfortable with C++ or wanting to learn modern game development workflows.

2. Blueprint-Heavy Approach 🎨

Start the Blueprint Tutorial (see below)

  • Visual node editing - see logic flow graphically
  • Instant iteration - no compile time for Blueprint changes
  • Designer-friendly - non-programmers can modify behavior

Best for: Complete Unreal beginners, visual learners, or rapid prototyping.

Comparison

Task Code-First (C++) Blueprint
Define 12+ variables 2 minutes (copy-paste) 15 minutes (clicking)
Version control Readable diffs Binary files
Refactoring IDE tools Manual
Full game time ~2-3 hours ~6-8 hours

💡 Pro Tip: You can combine both! Use C++ for logic/variables, Blueprints for visual assets.

📖 Migrating from Blueprint? See Migration Guide in Quickstart


Table of Contents

Part 1: Project Setup

Part 2: Create the Player

Part 3: Create the Bullet

Part 4: Create the Enemy

Part 5: Create Enemy Spawner

Part 6: Create Game Director

Part 7: Create Score Manager / UI

Part 8: Create Game Mode and Level

Part 9: Final Setup and Testing

Appendices


Quick Start

  1. Read 3-Minute Quickstart
  2. Follow the C++ tutorial parts:
  3. Complete the game in 2-3 hours instead of 6-8 hours!
  4. Already have Blueprint project? See Migration Guide

For Blueprint Approach

  1. Start with Part 1: Project Setup
  2. Follow each part in order
  3. Test frequently using the "EXPECTED RESULT" sections
  4. Use the Troubleshooting appendix if you encounter issues

Navigation

Each page includes:

  • ← Previous and Next → links at the top and bottom
  • Links back to this index
  • Cross-references to related sections

This tutorial is part of a master's thesis comparing Unity and Unreal Engine.