anScript

Building

System specific differences

In systemSpecific.h you can find following toggles:

#define ANSCRIPT_WEB
#define ANSCRIPT_VS
#define ANSCRIPT_GCC
#define LINUX_SFML_BUG_FIX
#define ANSCRIPT_MOBILE
#define ANSCRIPT_BASE

#define <os_name>
//eg. #define WINDOWS
#define OS_NAME "<os_name>"
//eg. #define OS_NAME "windows"

I believe you know what o do with them.

Requirements

(it may work on previous versions of following software but I haven’t checked)

For Windows:

For Windows or Linux:

For Web

Command to compile in emscripten is:

emcc --bind Main.cpp additionalInstructions.cpp arrayInstructions.cpp basicInstructions.cpp comparisonInstructions.cpp consoleInstructions.cpp debugInstructions.cpp fileInstructions.cpp functionsManager.cpp graphicWindow.cpp graphicWindowInstructions.cpp instructionInstructions.cpp logicInstructions.cpp mathInstructions.cpp nativeInstructions.cpp scanAndRun.cpp runtimeInstructions.cpp  timeInstructions.cpp systemSpecific.cpp textWindow.cpp variable.cpp variableContainer.cpp variableInstructions.cpp windowInstructions.cpp webInstructions.cpp -o experimental.js --std=c++11 -s USE_PTHREADS=1 -s DEMANGLE_SUPPORT=1 -s ALLOW_MEMORY_GROWTH=1

For mobile

Currently I’m rebuilding the anScript Mobile project to fully support graphic window.

Dependencies:

Supported platforms: