2023-06-29 17:22:13 +02:00
< p align = center > < img width = 200px height = 200px src = "https://git.staropensource.de/staropensource/core/raw/branch/develop/soscore.png" / > < / p >
2023-03-27 13:14:35 +02:00
# StarOpenSource CORE (aka. SOSCORE aka. CORE) [![Please don't upload to GitHub](https://nogithub.codeberg.page/badge.svg)](https://nogithub.codeberg.page)
2023-03-19 22:54:59 +01:00
SOSCORE/CORE is a framework that simplifies development for games and applications made in Godot 4.
# Development status
CORE is not yet ready for production as it is in rapid development. Only use it in temporary/testing projects for now.
2023-03-18 16:34:12 +01:00
2023-03-18 18:11:57 +01:00
# Documentaton
[You can access the documentation by clicking this text. ](https://git.staropensource.de/StarOpenSource/core/wiki )
2023-03-18 16:34:12 +01:00
# For whom is it useful?
2023-03-18 18:43:40 +01:00
CORE is only useful for new projects. Already existing projects could break because CORE has certain requirements that must be met.
2023-03-18 16:34:12 +01:00
# Requirements
2023-03-19 13:15:14 +01:00
- Godot 4.0 (only stable releases)
2023-03-18 16:36:07 +01:00
- No autoload singletons are allowed before CORE has initialized
2023-03-19 13:14:30 +01:00
- Startup scene must be `res://CORE/coreinit.tscn`
2023-03-18 16:34:12 +01:00
- Scene management must be done with smgr (the CORE scene manager)
- Logging should be handled using the CORE logger
# How to install
2023-03-19 13:37:47 +01:00
- Clone CORE into your project root using `git clone https://git.staropensource.de/StarOpenSource/core.git CORE` \
**NOTE:** Please execute `git submodule init` and then `git submodule add https://git.staropensource.de/staropensource/core.git CORE` instead if you are using a git repository for your app/game already.
2023-03-18 18:11:57 +01:00
- Remove any autoload singletons
2023-03-18 16:34:12 +01:00
- Add three scripts to your autoload:
2023-03-18 18:45:00 +01:00
| Name | Path |
| ------------ | ---------------------------- |
| Logger | `res://CORE/logger.gd` |
| Preprocessor | `res://CORE/preprocessor.gd` |
2023-03-19 13:14:30 +01:00
- Select `res://CORE/coreinit.tscn` as your startup scene
2023-03-19 14:35:34 +01:00
- Duplicate `config.gd.example` and name it `config.gd`
2023-03-18 18:11:57 +01:00
- [Follow the post-installation guide ](https://git.staropensource.de/StarOpenSource/core/wiki/Using-CORE )
2023-03-18 16:34:12 +01:00
# How to update
2023-03-18 18:11:57 +01:00
- Close your project
2023-03-18 16:34:12 +01:00
- Pull new changes using `git pull`
2023-03-19 13:30:51 +01:00
- [Check for commits that break things ](https://git.staropensource.de/StarOpenSource/core/wiki/Updating-CORE )
2023-03-18 18:11:57 +01:00
- Reopen your project