SplashKit Manager (SKM) is a command-line interface (CLI) and app tool designed for installing, managing, and building projects with the SplashKit SDK. With SKM, you can easily create, compile, and run SplashKit projects, making it a streamlined tool for beginners and experienced developers alike.
* SplashKit Development in Thoth Tech
Thoth Tech is a people-focused educational technology company within Deakin University's capstone program which provides real-world learning opportunities and allows students to contribute significantly to projects like SplashKit, enhancing its capabilities and resources.
To start a new SplashKit project in C++, follow these steps:
# Navigate to your projects directory
cd /code/projects
# Create and navigate to a new project folder
mkdir helloworld
cd helloworld
# Initialize a new SplashKit C++ project
skm new c++
# Compile your project using SKM
skm clang++ *.cpp -o HelloWorld
# Run the compiled program
./HelloWorld
skm install
: Installs the latest version of SplashKit.skm update
: Checks for and installs the latest version of SplashKit if available.skm help
: Displays a list of available commands and their usage.skm uninstall
: Uninstalls SplashKit Manager.
-
skm new <language>
: Initializes a new SplashKit project in the current directory for the specified language (e.g.,c++
,python
).- Note: Use
skm dotnet new
for .NET projects.
- Note: Use
-
skm resources
: Creates the resources folders used by SplashKit for assets like images, sounds, etc.
-
skm clang++ <args>
: Runs the clang++ (or g++) compiler with the specified arguments and SplashKit settings.- Example:
skm clang++ program.cpp -o HelloWorld
then./HelloWorld
- Example:
-
skm g++ <args>
: Runs the g++ compiler with SplashKit-specific options and any additional arguments. -
skm fpc <args>
: Runs the Free Pascal compiler with SplashKit-specific options. -
python3 <args>
: Runs Python with SplashKit settings (SplashKit is installed globally for Python, soskm
is not needed).- Example:
python3 program.py
- Example:
-
skm dotnet <args>
: Runs the .NET command line tool with SplashKit-specific settings.
-
skm linux
: Installs SplashKit for Linux distributions.- Example:
skm linux install
- Example:
-
skm macos
: Installs SplashKit for macOS.- Example:
skm macos install
- Example:
-
skm global
: Sets up SplashKit for global installation, enabling it to work across multiple projects. -
skm revert
: Downgrades to an earlier version of SplashKit. -
skm fix
: Corrects path issues in SplashKit project files, resolving common setup issues. -
skm help [command]
: Displays usage information forskm
commands.- Examples:
skm help
,skm help clang++
orskm help python3
- Examples:
We welcome contributions to SplashKit Manager! Whether you're reporting an issue, suggesting new features, or submitting code, all contributions help improve SKM. To contribute, please open a pull request or start a discussion in the repository.
This software is free to use, copy, modify, and distribute for any purpose, with or without fee. Please ensure the copyright notice and permission are included in all copies.