Skip to content

Laputa-Unity/unity-mobile-gamebase

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mobile Game Base - Core Singleton Architecture (Android & Ios)

👋 Hi there, I'm HoangVanThu. This repository help you to build games on mobile devices.

  • Project is a sample gamebase for mobile game using singleton design pattern, you can get used to it very easily and build a complete game quickly. Besides, the utilities of the custom packages will help you a lot in searching, displaying and programming.
  • However, I do not recommend using it for large game projects. Anyway it is a bad pattern, you can see or read about it everywhere on the internet.

The Goals of the Project

  • Coin System: add animations when player coin increase.
  • Gameplay: simple gameplay with ui ingame, win and lose.
  • Setting: setting for the game.
  • Shop: shop to buy skins.
  • Daily Reward: daily reward feature.
  • Lucky Spin: daily spin feature.
  • Debug: simple debugging.
  • Data Storage: easy to save player data, also fast and secure.
  • Custom Inspector: adjust variables showed on inspector.
  • Custom Hierachy: hierachy now more features
  • Find Reference: find all reference of an asset
  • Build Report: report build
  • Custom Tween: like dotween but faster and customizable
  • PlayerPref Editor: to read data which saved by playerPref
  • Debug Console: advanced debugging
  • Laputa Thirdparty: window to install third party like firebase, ads
  • Localization: localization system
  • Rank: online ranking
  • Inventory: player inventory
  • Push Notification: mobile notification

Installation

  • Version: Unity 2022.3.33f1 LTS
  • Type select: Android, IOS image

Folder Structure

├── _Project
│   ├── Animations
│   ├── Effects
│   ├── Fonts
│   ├── Materials
│   ├── Prefabs
│   ├── Resources
│   ├── Scenes
│   ├── Scripts
│   ├── Sounds
│   ├── Spines
│   ├── Sprites
│   ├── ~ExtensionPackage
│   │   ├── CustomDataStorage
│   │   ├── CustomBuildReport
│   │   ├── CustomHierarchy
│   │   ├── CustomInspector
│   │   ├── CustomReference
│   │   ├── CustomTween
└── ...

Documentation

Third Party

  • Lean Packages (LeanTouch, LeanPool)
  • TextMeshPro

Support

  • If you like this topic, you can give this repository a star ⭐
  • I would greatly appreciate it if you could support me with a cup of coffee