"But can it run DOOM?" "No, but it can run Subway Sprigsters"
This project is the realization of a simple dream -- 3D graphics on Hack Club's Sprig.
But wait, ROOM, the sister project of Subway Sprigsters has already achieved this! Yes, but it doesn't run on the real deal. Subway Sprigsters runs on actual hardware, and it's actually playable!
____ __
/\ _`\ /\ \
\ \,\L\_\ __ __ \ \ \____ __ __ __ __ __ __
\/_\__ \ /\ \/\ \ \ \ '__`\ /\ \/\ \/\ \ /'__`\ /\ \/\ \
/\ \L\ \ \ \ \_\ \ \ \ \L\ \\ \ \_/ \_/ \/\ \L\.\_ \ \ \_\ \
\ `\____\ \ \____/ \ \_,__/ \ \___x___/'\ \__/.\_\ \/`____ \
\/_____/ \/___/ \/___/ \/__//__/ \/__/\/_/ `/___/> \
/\___/
\/__/
____ __
/\ _`\ __ /\ \__
\ \,\L\_\ _____ _ __ /\_\ __ ____ \ \ ,_\ __ _ __ ____
\/_\__ \ /\ '__`\ /\`'__\\/\ \ /'_ `\ /',__\ \ \ \/ /'__`\ /\`'__\ /',__\
/\ \L\ \ \ \ \L\ \\ \ \/ \ \ \ /\ \L\ \ /\__, `\ \ \ \_ /\ __/ \ \ \/ /\__, `\
\ `\____\ \ \ ,__/ \ \_\ \ \_\\ \____ \ \/\____/ \ \__\\ \____\ \ \_\ \/\____/
\/_____/ \ \ \/ \/_/ \/_/ \/___L\ \ \/___/ \/__/ \/____/ \/_/ \/___/
\ \_\ /\____/
\/_/ \_/__/
/ w [oooo] i \
\ a s d [oooo] j k l /
w = i = Jump
s = Go Left j = Go Left
d = Go Right l = Go Right
a = k = Roll
Warning: the web version runs a little too fast providing a subpar experience
https://davnotdev.github.io/subway_sprigsters
Download the UF2 from the latest release.
From here, hold the bootsel button on your sprig while plugging it into your computer. Then release. Now, copy the UF2 file into the newly mounted drive. Voilà. Have fun!
-
Install Rust from https://rustup.rs
-
Install Dependencies
I believe installing the SDL2 library will do.
- Play
cargo r
-
Install Rust from https://rustup.rs
-
Install Dependencies
rustup target add thumbv6m-none-eabi
cargo install cargo-binutils
rustup component add llvm-tools-preview
cargo install elf2uf2-rs
cargo install probe-run
cargo install flip-link
- Compile into UF2
You MUST build with release. Otherwise, the game will take many minutes to boot.
cargo build-uf2 --release --target thumbv6m-none-eabi
- Install onto Sprig
From here, hold the bootsel button on your sprig while plugging it into your computer.
Then release.
Now, copy the UF2 file from target/thumbv6m-none-eabi/release/
into the newly mounted drive.
Voilà.
Have fun!