https://github.com/dotmos/gameframework2
Lightweight Unity core framework. Based around Gamestates, Services, async Tasks and a parallel worker thread. Used in production by https://github.com/Gentlymad-Studios
https://github.com/dotmos/gameframework2
Last synced: 4 months ago
JSON representation
Lightweight Unity core framework. Based around Gamestates, Services, async Tasks and a parallel worker thread. Used in production by https://github.com/Gentlymad-Studios
- Host: GitHub
- URL: https://github.com/dotmos/gameframework2
- Owner: dotmos
- License: mit
- Created: 2022-06-28T10:11:52.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2025-01-16T13:23:43.000Z (over 1 year ago)
- Last Synced: 2025-01-16T14:29:59.552Z (over 1 year ago)
- Language: C#
- Homepage:
- Size: 125 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README



# GameFramework2
Requires Unity 2022.1 or later
# Getting Started
Clone the repo and open it with Unity.
Press play.
Have a look at ExampleCore and ExampleGamestate to get an idea of how things work.
# TODO
Implement missing functions for non-Unity projects
Services:
- Service dependecies during initialization?
- Create a service for enabling/disabling a loading screen as well as updating the loadingscreen progress
Gamestates:
- GamestateService.Switch is not threadsafe. That should not be a problem though, just switch from main thread?
- Create a list of followup gamestates that should be loaded when the current gamestate is finished?
Generator:
- Components: Abstract serialization so the implementation works with different serializers
- Services: Automagically create "serviceData" and implement serialization for it