2D Racing Multiplayer Game Template
  • 🌟Welcome
  • Getting Started
    • ⚡Import The Template
    • đŸ•šī¸Build Project
    • 📂Project Structure
  • Customization
    • 🏁Add New Race Map ( Classic Mode )
    • đŸšĻAdd New Race Map ( Multiplayer Mode )
    • đŸŽī¸Add New Car
    • đŸĒ™Set Cars Price
    • 💾Save System
    • 💰Monetization ( Admob + Unity IAP )
      • 🔷Ads Manager
      • 🔷Reward Free Coins
    • đŸ’ģPlayFab
    • 📃GDPR
    • đŸŽĩAudio System
    • ✨Lighting Effect
  • 🌠UI Animation
  • đŸĨˆSet Race Lap
  • ⌛Set Countdown Return To Room Lobby
  • đŸ’ļReward System ( Multiplayer Mode )
  • Other Informations
    • 📓Changelogs
    • â˜Žī¸Contact
Powered by GitBook
On this page
  1. Getting Started

Build Project

Build Your Racing Game

PreviousImport The TemplateNextProject Structure

Last updated 1 month ago

For building game and test it before publishing it on a game store, you can follow these steps:

  1. In Unity editor, select File -> Build Settings.

  2. On Build Settings Window, select platform you like -> select switch platform.

  3. Wait for the platform switch to finish.

  4. Choose "Build" to compile your game, or "Build and Run" to test it with your device.

For more details about building game on platforms, refer to the following platform guides:

Guide for building game on Android platform.

Guide for building game on iOS platform.

Guide for building game on Windows platform.

Guide for building game on WebGL platform.

Note about build your racing game on Windows platform or WebGL platform

This template package focuses primarily on the mobile platform, so you need to perform a few steps before building the game on Windows or WebGL platform:

  1. Remove Admob and Unity IAP package because these packages won't work on Windows and WebGL platform.

  2. After finishing remove Admob and Unity IAP, Unity console will show errors log from when some script is calling api from these two packages -> open scripts are shown on console window -> remove or comment lines code are showing error.

  3. Open Main Menu scene -> Select "ButtonShop_IAP" and "ButtonGetFreeCoins" game object -> disable these two buttons.

  4. Open Gameplay Classic Scene -> expand "CanvasGameplay" game object -> select "InputMobile" game object -> disable it.

  5. Open Gameplay Multiplayer scene -> expand "CanvasGameplay" game object -> select "InputMobile" game object -> disable it.

  6. ( For building on WebGL platform ) Select Tools -> Fusion -> Network Project Config -> Enable allow client server mode in WebGL.

I also have this game template is prepared for Windows and WebGL platform. Just contact me through my mail, send me your invoice from buying my game template on Unity Asset Store, and I will send you the game template soon as I can . Please check contact page for knowing my mail. Thank you.

All done, you can build your game now .

đŸ•šī¸
👍
👍
Build Settings Window.