Mobile RTS Game in Unity 2D - From Scratch to App Store
Create a Mobile RTS Game in Unity 2D. Build, Design and Code in C# (A* Pathfinding). Publish to iOS and Android.
Welcome to Mobile RTS Game in Unity 2D - From Scratch to App Store! This comprehensive course guides you through the entire process of creating, testing, and publishing a real-time strategy (RTS) game for mobile using Unity 2D. Starting from scratch, we’ll build a complete game packed with practical features and polish it for release on both iOS and Android platforms.
Setting Up Your Game Environment: Start by downloading free assets to create an immersive game world using tilemaps, animated tiles, and custom character designs.
Character Creation and Animation: Bring your game to life by animating unique units such as builders and warriors, each with their own actions and abilities.
Core Game Management: Build a centralized Game Manager to control essential gameplay functions, including unit selection, movement, and resource management.
Interactive Action Bar: Design a dynamic Action Bar UI where units have unique actions like building structures (for builders) or choosing defensive/aggressive stances (for warriors).
Building and Placement Mechanics: Develop a placement and building system with visual feedback for available spots. The builder unit will gather resources like wood and gold to construct towers, keeps, and train units.
Resource Collection and Economy: Design a resource system where builders can mine gold and chop wood, keeping your economy flowing as you defend against waves of enemies.
Pathfinding with A* Algorithm: Implement your own A* pathfinding to enable smooth, obstacle-free navigation across the map.
Enemy Waves and Combat System: Develop enemy types like goblins and demolishers, and create a spawn manager for enemy waves, making each battle more challenging.
Audio and Visual Effects: Build an Audio Manager to add immersive sound effects, including footsteps, attacks, and resource gathering. Use floating text to display damage, resource gains, and attack announcements.
Announcements and Events: Implement custom announcements to alert players to incoming waves or critical events in the game.
Victory and Defeat Conditions: Define game-winning and losing scenarios, challenging players to defend their King unit against all enemy waves.
Cross-Platform Building and Testing: Learn how to build and test your game on both iOS and Android devices to ensure smooth performance and a great player experience.
Publishing on the App Store and Google Play: We’ll cover all the steps needed to publish your game, including filling in required information, setting up a store page, creating preview videos, and adding a terms and policy page.
This course is highly practical and code-focused. Each feature is built from scratch—no third-party libraries—using only free, open-licensed assets. It’s designed for all skill levels, from beginners eager to learn Unity to experienced developers aiming to master mobile RTS game development.
Unity Fundamentals
Setup the project
FREE PREVIEWTilemaps
FREE PREVIEWMore tilemaps
Animated Tile
Rocks and water tilemap
Builder and Warrior
FREE PREVIEWCreate Unit class and move
Builder and Warrior Animations
Check if unit is moving
Apply speed to animator
Create Game Manager
FREE PREVIEWSingletonManager
Get Input Position
Prevent touch and mouse slides
Move the active unit
FREE PREVIEWSelect active unit
Flip the unit
Outline material
FREE PREVIEWDisplay highlight on Selection
Load material from Resources
Point to click effect
Fadeout effect
FREE PREVIEWAnimation Curve
Check for humanoid unit
Change build target
Deselect active unit
Action Bar Start
FREE PREVIEWAction Bar Background
Clear and display actions
Detect UI clicks + new getters
Clear bar on Deselect
Build Tower Action
Register actions
Pass image to button
Hook function to button
Placement Process
Show Placement Outline
FREE PREVIEWMove Placement outline
HvoUtils
Code refactor
Snap To Grid
Store highlight tiles
Set tile color
Offset the position
Overlay tilemap
Clear Highlights
Display blocked tiles
Unreachable tilemaps
Check for blocked gameobjects
Confirmation Bar
Import new font
Resource requirements display
Show confirmation bar
Setup Hooks
Cancel build placement
Try finalize placement
Finalize placement process
Try deduct resources
Display required resources
Start building process
Move to structure
Structure unit prefab
Building process update
Proximity Detection
Task and State
Set unit target
Reset worker state
Add and remove worker from building process
Reassign worker to building
Check for construction
Building animation
Finish Construction
Construction Effect
Display click build effect
Pathfiding start
Tilemap Manager
Initialize Node Grid
Check if tile is walkable
Filip Jerga
Every video contains a discussion where you can create a post describing an issue. The instructor usually responds within 1 business day.
Within 30 days of the purchase, you can ask for a full refund. No questions asked. Your happiness is our priority.
Of course not! Every lecture is committed (explained in the introduction section). You can start watching at any lecture. Just download the correct version of the project attached to lecture resources.
Single Course Access
$29.00
Access to this course only.
Get started nowMonthly Membership
$19.00 / month
Cancel Anytime!
Get started nowAnnual Membership
$190.00 / year
Cancel Anytime!
Get started now