Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/virtuesky/thebeginning_2
Help you make the game easier! (Android & iOS)
https://github.com/virtuesky/thebeginning_2
game-core gamebase singleton singleton-pattern unity unity3d-games
Last synced: 3 months ago
JSON representation
Help you make the game easier! (Android & iOS)
- Host: GitHub
- URL: https://github.com/virtuesky/thebeginning_2
- Owner: VirtueSky
- Created: 2023-03-14T12:38:35.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-11-18T04:51:11.000Z (3 months ago)
- Last Synced: 2024-11-18T05:35:13.358Z (3 months ago)
- Topics: game-core, gamebase, singleton, singleton-pattern, unity, unity3d-games
- Language: C#
- Homepage:
- Size: 97.1 MB
- Stars: 8
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Base Game Unity (Android & iOS)
- Unity 2022.3 (LTS)
Description: Gamebase for mobile hyper casual, casual game(Use: [Sunflower2 Package](https://github.com/wolf-org/sunflower_2))
- GameFlow
```mermaid
flowchart TB
subgraph LauncherScene[" Launcher Scene"]
Loading(Loading)
endsubgraph ServiceScene[" Service Scene"]
Initialization(Initialization)
SceneLoader(SceneLoader)
LevelLoader(LevelLoader)
AudioManager(AudioManager)
VisualEffectsSpawner(VisualEffectsSpawner)
Advertising(Advertising)
IapManager(IapManager)
endsubgraph GameScene[" Game Scene"]
GameManager(GameManager)
PopupManager(PopupManager)
endGameScene --> AudioManager --> SoundComponent{{Pooling: SoundComponent-AudioSource}}
Loading --Load (LoadSceneMode.Additive)--> ServiceScene
Loading --> LoadGameScene --> SceneLoader --Load--> 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 + ~` or `Command + ~`) to open GameConfig Window
- Open the `GameConfig` script to add or edit configs,

### DebugView
- Enable Debug View `true` in GameConfig window
- Swipe up on the edge (left or right) of the screen to open (shortcut in editor (`Alt+D` or `Option+D`))