Setup
This guide will walk you through setting up Pill and creating your first project.
Prerequisites
Before you begin, make sure you have the following installed:
Required
Rust (1.70 or later)
- Install from rustup.rs
- Verify installation:
rustc --version
Cargo (comes with Rust)
- Verify installation:
cargo --version
- Verify installation:
Recommended
- Visual Studio Code with rust-analyzer extension
- Git for version control
Installation
1. Clone the Repository
bash
git clone https://github.com/Pillware/Pill-Engine.git
cd Pill-Engine2. Install Rust
Install from rustup.rs
3. Build Pill Launcher
bash
cargo build --release --manifest-path <ENGINE-PATH>\Pill-Engine\crates\pill_launcher\Cargo.toml4. Add Pill Launcher to PATH (optional)
bash
set PATH=%PATH%;<ENGINE-PATH>\Pill-Engine\crates\pill_launcher\target\releaseCreating new project
1. Create a new project
The empty template project will be created.
bash
PillLauncher.exe -a create -n Hello-Pill2. Run it!
bash
PillLauncher.exe -a run -p ./Hello-PillExamples
The easiest way to get started is to use one of the example projects:
Available examples:
Empty- Minimal starting templateFloating-Pills- Basic 3D sceneTrucks- Vehicle controls and physicsItalian-Brainrot- Custom shaders loadingNet-Minimal- Networking basics
To run selected example use:
bash
PillLauncher.exe -a run -p <ENGINE-PATH>\Pill-Engine\examples\<EXAMPLE_NAME>Next Steps
Now that you have Pill set up, learn about:
- ECS (Entity Component System) - Core architecture
- Resources - Managing assets
- Next Steps - Building more complex features