Skip to content

Latest commit

 

History

History
41 lines (24 loc) · 1.5 KB

README.md

File metadata and controls

41 lines (24 loc) · 1.5 KB

Wheelsprung (Playdate)

Screenshot

A physics-based motocross-platformer for the Playdate console. Made with the Nim programming language and the Chipmunk2D physics library for playdate. It relies on 2 libraries for that:

Playdate-Nim

Chipmunk2D for Playdate

Level Editor

A public level editor is available. See the guide on the Wiki for installation and usage instructions.

Installation

This project should work on MacOS and Windows. See Playdate-Nim for installation instructions.

Troubleshooting

Make sure you can run the playdate-nim sample project

See Playdate-Nim for installation instructions.

Linux support

This project needs Chipmunk as static library. This is provided for the windows simulator(64 bit), MacOs simulator(Apple silicon), and the playdate device. For other platforms, I appreciate a Pull Request.

I compiled the windows lib, by installing Msys2, and adding the C build tools for MinGW (make and cmake). Then, I could build libchipmunk.a with

mkdir build
cd build
cmake --fresh -G "MinGW Makefiles" -D BUILD_STATIC=ON -D BUILD_SHARED=OFF -D BUILD_DEMOS=OFF -D INSTALL_STATIC=OFF -D CMAKE_BUILD_TYPE=Debug -D PLAYDATE=ON ../
cmake --build .

The resulting lib is placed in the lib folder.