#line #line-rider #rider

bosh-rs

A highly customizable physics engine for the game Line Rider

8 releases

0.4.4 Jun 22, 2025
0.4.3 Jun 22, 2025
0.4.0 Aug 19, 2022
0.3.0 Aug 19, 2022
0.1.0 Aug 14, 2022

#406 in Game dev

Download history 1/week @ 2025-09-30

334 downloads per month

LGPL-3.0-only

71KB
2K SLoC

bosh-rs

bosh-rs is a highly configurable physics engine for the game Line Rider.

A frontend for bosh-rs can be found at bosh. The official implementation of Line Rider can be found at linerider.com.

This project was inspired by conundrumer/lr-core, although it is structured entirely differently in order to make it easier to use.

There are very few dependencies. This assures that the project is extremely portable and even can run in WASM if one prefers.

Installation

Add the following to your Cargo.toml:

[dependencies]
bosh-rs = "0"

Development / Contributing

If you use Nix (and Flakes), a flake.nix is provided so that you can run nix develop, which will always install the correct rustc and cargo.

Special Thanks

  • Linerider-Advanced for making physics intuitive to understand without having to look at code
  • LRA-Community-Edition for being an actively maintained fork :)
  • lr-core, my go-to source code whenever I needed to know the actual values for calculations
  • ImHex for being an easy-to-use tool for reverse-engineering binaries, which was very useful for decoding the .trk file format
  • The LineRider Community for being great :)

Dependencies

~0.4–1MB
~23K SLoC