JugiCine HL framework (working name) is a high level game development system for creating 2d sprite based games. It is currently in development and not yet ready for production of complete games.
This application requires nCine engine and should be built as a ncine 'game'.
- Download repository into the same directory where nCine is located.
- Create directory 'JugiCineHL-data' in the same directory and copy directory 'data' from 'examples/testbed' into it.
- Use ncline tool to build the game.
- You may need to copy 'data' directory into the directory where the game has been built.
Before building version for web (emscripten) you must change a cmake file inside your ncine web build.
-
Open file '...nCine_web_build/project/cmake/project_main.cmake'
-
Find line (in emscripten section):
target_link_options(${NCPROJECT_EXE_NAME} PRIVATE "SHELL:--preload-file ${NCPROJECT_DATA_DIR}/data@")
- Replace it with line:
target_link_options(${NCPROJECT_EXE_NAME} PRIVATE "SHELL:-s STACK_SIZE=128KB --preload-file ${NCPROJECT_DATA_DIR}@")