TheBeginning
TheBeginning copied to clipboard
Getting started making games so easy (Android & iOS)
Base Game Unity (Andorid & iOS), Use Scriptable Architecture
- Unity 6 (LTS)
Description: Gamebase for mobile hyper casual, casual game
-
Use sunflower package
-
GameFlow
flowchart TD
subgraph ServiceScene["<i class="fa-brands fa-unity"></i> Service Scene"]
Initialization(Initialization)
LevelLoader(LevelLoader)
AudioManager(AudioManager)
end
subgraph GameScene["<i class="fa-brands fa-unity"></i> Game Scene"]
GameManager(GameManager)
PopupManager(PopupManager)
end
EntryGame{Entry Game} --> ServiceScene
AudioManager --> SoundComponent{{Pooling: SoundComponent-AudioSource}}
Initialization --Load Game Scene--> GameScene
GameManager --> StartGame{Start Game} --> LevelLoader --Instantiate--> Level(Level)
PopupManager --Show PopupInGame--> StartGame
Level --Win Level--> WinGame{Win Game} --Next Level-->GameManager
Level --Lose Level--> LoseGame{Lose Game} --Replay or Skip Level-->GameManager
Level --Replay Level--> ReplayGame{Replay Game}
ReplayGame --Replay Level--> GameManager
PopupManager --Show PopupWin--> WinGame
PopupManager --Show PopupLose--> LoseGame
Note
GameConfig Window
- Shortcut (
Ctrl + ~orCommand + ~) to open GameConfig Window
- Open the
GameConfigscript to add or edit configs,
DebugView
- Enable Debug View
truein GameConfig window - Swipe up on the edge (left or right) of the screen to open (shortcut in editor (
Alt+DorOption+D))
- Disable Automatically switch service scene when play editor mode via
The Beginning>Auto Switch Service Scene
https://github.com/user-attachments/assets/3f4980a7-2c61-4a6e-b738-535df046b9f5
- Note: Version don't use addressable here