Skip to content

nicholaskarlson/hvo-mobile-rts

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Humans vs Orcs Mobile RTS Game

A 2D mobile real-time strategy game developed in Unity, built from scratch to App Store deployment.

Overview

This repository contains the source code for HVO Mobile RTS Game, developed as part of the Mobile RTS Game in Unity 2D: From Scratch to App Store course. The game demonstrates how to create a fully functional RTS game optimized for mobile devices using Unity.

Humans vs Orcs Mobile RTS Game

Features

  1. Setup: Download assets, create tilemaps and characters
  2. Animation: Animate units (builders, warriors)
  3. Management: Implement Game Manager for core functions
  4. UI: Design interactive Action Bar
  5. Building: Develop placement and construction system
  6. Economy: Create resource collection mechanics
  7. Pathfinding: Implement A* algorithm
  8. Combat: Design enemy types and wave system
  9. Audio/Visual: Add sound effects and visual feedback
  10. Events: Create announcement system
  11. Game Conditions: Set victory/defeat scenarios
  12. Cross-Platform: Build and test for iOS/Android
  13. Publishing: Prepare for App Store and Google Play release

Getting Started

Prerequisites

  • Unity Editor: Version 2020.3 LTS or later.
  • Mobile SDKs:
    • Android: Android SDK and JDK.
    • iOS: Xcode and iOS SDK.
  • Git: For cloning the repository.

Installation

  1. Clone the Repository
    Clone the repository by running the following command:

    git clone https://github.com/Jerga99/hvo-mobile-rts.git
  2. Open in Unity
    Follow these steps to open the project in Unity:

    • Open Unity Hub.
    • Click Add and select the cloned project folder.
    • Open the project in Unity Editor.
  3. Configure Build Settings
    To configure build settings for the target platform:

    • Go to File > Build Settings.
    • Select your target platform (iOS or Android).
    • Click Switch Platform.
    • Ensure all necessary scenes are added to the build.
  4. Resolve Dependencies
    Unity may prompt you to install any missing packages required by the project. Follow the on-screen instructions to complete the installation of any dependencies.

Running the Game

To run the game, follow these instructions:

  • In Editor
    Press the Play button to test the game in the Unity Editor.

  • On Device
    To build and run the game on a mobile device:

    1. Connect your mobile device.
    2. For Android, enable USB debugging.
    3. For iOS, set up provisioning profiles.
    4. Click Build and Run in Unity.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Acknowledgments

  • Eincode Academy for the comprehensive course material.
  • Unity Technologies for providing the game development platform.

Contact

For questions or suggestions:

About

2D Mobile RTS Game - Step by Step course, from Zero to Release.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 46.1%
  • ShaderLab 44.7%
  • HLSL 9.2%