Git Product home page Git Product logo

subway_sprigsters's Introduction

Subway Sprigsters

"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!

Gameplay

gameplay.gif

 ____                 __
/\  _`\              /\ \
\ \,\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

Playing

On the Web

Warning: the web version runs a little too fast providing a subpar experience

https://davnotdev.github.io/subway_sprigsters

From UF2

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!

From Local PC Build

  1. Install Rust from https://rustup.rs

  2. Install Dependencies

I believe installing the SDL2 library will do.

  1. Play
cargo r

From Local Sprig Build

  1. Install Rust from https://rustup.rs

  2. 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
  1. 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
  1. 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!

subway_sprigsters's People

Contributors

davnotdev avatar

Stargazers

YoungChief avatar Lucas Honda avatar Aram avatar zach latta avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.