Using SplashKit (Overview)
Here is a basic overview of how to compile and run SplashKit programs in C++, C# and python.
To compile C++ SplashKit code, you will use the following command (assuming the code file is named program.cpp
):
g++ program.cpp -l SplashKit -o test_program
Then you can run the program with:
./test_program
To run C# SplashKit code with dotnet, you will need to first run the command below:
dotnet add package SplashKit
This will add the SplashKit NuGet package, to link the SplashKit SDK to your project.
Then you can run the program using:
dotnet run
To run SplashKit python code, you will use the following command (assuming the code file is named program.py
):
skm python3 program.py