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: about 24 hours 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 (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-18T04:51:11.000Z (2 days ago)
- Last Synced: 2024-11-18T05:35:13.358Z (2 days 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![Screenshot 2024-07-26 093159](https://github.com/user-attachments/assets/11ac42bb-3ea1-489b-afe6-00fabd409ec0)
- Open the `GameConfig` script to add or edit configs,
![Screenshot 2024-07-26 093403](https://github.com/user-attachments/assets/10b0a2ce-7f34-48ea-b6fe-487b640c3cbf)
### 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`))![Unity_9YRD8rJRE1](https://github.com/user-attachments/assets/73692ff8-918a-4721-bd7b-c380d4a9cb14)