Simple example project that uses the Framework as submodule.
It is automatically deployed to https://raw.githubusercontent.com/TurkeyLeg72/LearningSkills/master/Source/Learning-Skills-1.3.zip and it can be played in browser.
TODO: Expand this page and the sample.
Checkout and build this project like any other CMake project.
Make sure that checked out rbfx folder is next to the folder of this repository (sample-project or however you call it).
If you want to keep rbfx folder somewhere else, you will have to tweak ../rbfx paths in https://raw.githubusercontent.com/TurkeyLeg72/LearningSkills/master/Source/Learning-Skills-1.3.zip.
Check out Scripts/ folder and https://raw.githubusercontent.com/TurkeyLeg72/LearningSkills/master/Source/Learning-Skills-1.3.zip to see how this sample can be built.
Run Editor:
-
Launch
https://raw.githubusercontent.com/TurkeyLeg72/LearningSkills/master/Source/Learning-Skills-1.3.zip; -
Open
sample-project/Projectfolder; -
Open
https://raw.githubusercontent.com/TurkeyLeg72/LearningSkills/master/Source/Learning-Skills-1.3.zipin Editor; -
Press
Ctrl+Pto play the sample.
Run Player:
Launch https://raw.githubusercontent.com/TurkeyLeg72/LearningSkills/master/Source/Learning-Skills-1.3.zip
The engine needs to somehow locate project resources on launch.
By default, the engine attempts to find Data, Cache and CoreData folders next to the executable.
However, this behavior may be inconvenient during development:
DataandCachefolders are located inProjectfolder,CoreDatais located inbinfolder ofrbfxrepository,- The executable is located somewhere in CMake build folder.
This issue can be mitigated by having https://raw.githubusercontent.com/TurkeyLeg72/LearningSkills/master/Source/Learning-Skills-1.3.zip file.
See the comments in https://raw.githubusercontent.com/TurkeyLeg72/LearningSkills/master/Source/Learning-Skills-1.3.zip file in this repository for details.