Setting up
This helps you install the CORE Framework in the first place.
Available branches
You can choose one of the following branches to install CORE with:
- develop
- stable
The develop branch features the latest commits to the framework but contains experimental and breaking changes. It should never be used in production, not even in testing unless you know what you're doing or directly contributing to the framework.
The stable branch features the latest update to the framework and does not break often. Alphas, betas and release candidates will not show up on the stable branch, only releases will. This branch of the framework should always be used in production and testing as it doesn't break without a framework-breaking bug or you not being able to read the changelog correctly.
Using the Godot Asset Library
This will install the CORE Framework without the ability to easily download updates. You will need to look for updates yourself and install the latest version from the Asset Library yourself. If you don't want that hassle, use a git installation instead.
This will install the latest stable version.
- Open your project in the Godot Editor and click on the AssetLib tab
- Search for
CORE Framework
- Click on the first result and hit Install
- Follow the usual asset installation procedure
Using git
Using git to manage a CORE installation is a bit harder than using Godot's Asset Library, but comes with more advantages. One of them being able to switch branches or trying out experimental features.
You'll need to execute all commands in your project root.
Installing CORE
- Develop branch
- Stable branch
- Develop branch (submodule)
- Stable branch (submodule)
git clone https://git.staropensource.de/StarOpenSource/CORE-distrib-git.git CORE
cd CORE
git checkout develop
git clone https://git.staropensource.de/StarOpenSource/CORE-distrib-git.git CORE
cd CORE
git checkout stable
git submodule add https://git.staropensource.de/StarOpenSource/CORE-distrib-git.git CORE
cd CORE
git checkout develop
git submodule add https://git.staropensource.de/StarOpenSource/CORE-distrib-git.git CORE
cd CORE
git checkout stable
Updating CORE
- Develop branch
- Stable branch
- Develop branch (submodule)
- Stable branch (submodule)
cd CORE
git pull
cd CORE
git pull
cd CORE
git pull origin develop
cd ..
git add CORE
git commit -m "Update CORE Framework"
cd CORE
git pull origin stable
cd ..
git add CORE
git commit -m "Update CORE Framework"
Changing branches
Changing branches is not supported by the CORE Framework maintainers and contributors.
Doing so anyway will result in missing features, potential refactoring work and you need to manually review every single commit since the last release (if coming from the stable branch).
Again, we don't recommend switching branches. Doing so anyway may lead to issues!
- Develop » Stable
- Stable » Develop
- Develop » Stable (submodule)
- Stable » Develop (submodule)
cd CORE
git fetch
git checkout stable
cd CORE
git fetch
git checkout develop
cd CORE
git fetch
git checkout stable
cd ..
git add CORE
git commit -m "Switch CORE branch from develop to stable"
cd CORE
git fetch
git checkout develop
cd ..
git add CORE
git commit -m "Switch CORE branch from stable to develop"