2025-09-17 21:22:35 -05:00
2025-09-17 21:22:35 -05:00
2025-09-17 21:22:35 -05:00
2025-09-17 21:22:35 -05:00
2025-09-17 21:22:35 -05:00
2025-09-17 21:22:35 -05:00

lref is a c99 reference implementation of the physics of line rider beta 2 revision 6.2.

the goal is to byte-for-byte match beta 6.2's results on any given track, such that it can be a drop in replacement for unit tests of more modern physics engines. it is also the goal to be readable enough to reference for future physics engines.

it is currently incomplete, but the raylib frontend in this repository can be used to test it against existing .sol track files. the quality of that code and program is significantly lower than lref.h and only exists for testing purposes.

references used to create lref

  • OpenLR
  • line rider beta 2 revision 6.2, decompiled
Description
c99 reference implementation of the physics of line rider beta 2 revision 6.2
Readme 52 KiB
Languages
Zig 77.6%
C 21.3%
Shell 1.1%