crust-engine

Crates.iocrust-engine
lib.rscrust-engine
version1.1.0
created_at2025-06-17 15:09:28.92675+00
updated_at2025-08-15 09:27:54.579076+00
descriptionA Scratch-inspired game development tool with its own text-based programming language
homepage
repositoryhttps://github.com/Muhtasim-Rasheed/crust-engine
max_upload_size
id1715874
size438,417
mutasimos (Muhtasim-Rasheed)

documentation

https://muhtasim-rasheed.github.io/crust-engine/

README

Crust

Contributors Are Welcome!

Crates.io Downloads (recent) GitHub License GitHub Stars

Crust ✨ is a Scratch-like game development tool with its own programming language, also named Crust.

Crust Logo

What is Crust?

Crust is a game development tool that allows users to create games using text-based programming, unlike Scratch, which is drag-and-drop based. Main features include but are not limited to:

  • Text-based programming language
  • A lot of functions from Scratch
  • Runs at a smooth 60 FPS instead of 30 FPS in Scratch
  • Supports all major platforms (Windows, macOS, Linux) except mobile
  • Open-source and free to use

Contributing

We are looking for contributors, even tiny PRs help! Please check out the contributing guidelines to get started, you'll earn a place in the hall of contributors!

Installation

To install Crust, you need to have Rust installed on your system. You can install Rust by following the instructions on the official Rust website. You have the following options to install Crust:

Using Cargo

To install Crust from crates.io, run the following command:

cargo install crust-engine

Building from Source

To build Crust from source, run the following commands:

git clone https://github.com/Muhtasim-Rasheed/crust-engine.git
cd crust-engine
cargo install --path .

Documentation

You can find the documentation for Crust by going here. The documentation covers everything from the Crust programming language to how to run Crust projects.

Example

debug_options = []

[stage]
backdrops = [ "backdrop_0.png" ]

[[sprites]]
name = "example"
code = "example.crst"
sounds = []
costumes = []
x = 0
y = 0
w = 1
h = 1
// example.crst
// This is a simple Crust program that draws a blue circle on the screen

setup {}

update {
    set_color(0, 0, 255) // Set color to blue
    circle(100, 100, 50) // Draw a circle at (100, 100) with a radius of 50
}

The output:

Example Output

License

Crust is licensed under the GNU GPLv3. You can use, modify, and distribute it under the terms of this license.

Commit count: 123

cargo fmt