Prim is a game engine designed to make it easy to build games with just basic shapes.
**Note: Prim is a hobby project, built mostly for learning, and is not even a little production ready.
Here is a non-comprehensive list of what currently exists and what may exist in the future
- Rendering
- 2D shape rendering
- Text rendering
- Lights
- ECS (Thanks Bevy!)
- Game Systems
- Particle Systems
- Collision System
- Animation
- Input
- Keyboard Input
- Mouse Input
- Audio
- Loading
- Shapes files
Examples may be run via cargo with cargo run --example <feature name>
.
The following examples are currently usable:
cargo run --example space_invaders
This is a small, not entirely complete clone of space invaders to demonstrate and test most of the practical bits of making a small game in the engine.
cargo run --example particle_system
This is an example showing off the particle systems and their performance. It can handle 10's of thousands of particles and high FPS.
cargo run --example input
This is an example that displays input codes as a way of displaying how to read keyboard and mouse input as well as display text to the screen.
cargo run --example animation
This example displays how to use the built-in animation and tween packages.
cargo run
Running the main binary itself is currently just a render test, as shown below.