Skip to content
Lokathor does stuff, ium.
Branch: master
Clone or download
Latest commit 631e806 Apr 3, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.cargo
SDL2-2.0.9
benches
book back to hotloading ability Mar 30, 2019
src
tests
.gitignore
.travis.yml
Cargo.lock
Cargo.toml
LICENSE-0BSD.md
README.md
appveyor.yml
build.rs
rustfmt.toml
todo_check.bat

README.md

License:0BSD travis.ci AppVeyor crates.io docs.rs

thorium

Lokathor does stuff, ium.

This repo isn't about any particular thing right now. It's just about doing some exploratory coding to try out new stuff.

Requirements

  • By default the library portion of the code attempts to be no_std and use sdl2's allocator as the global allocator. Naturally, this requires Nightly.
  • That's all feature gated, so you can turn it off if you want to build with just Stable.
  • Either way you also need SDL2 v2.0.9 or later.

Stuff So Far

  • An sdl2_sys based binary that opens a window, dynamically loads the game code, processes all the input, calls the code, and then blits whatever the game put into the bitmap. The platform will automatically reload the game code if it detects a new compilation on disk.
  • The "game code" can draw Game Boy style 4-color graphics.

Check out the the dev log if you want more detail about where we've been so far.

The Future

If you wanna see where we're going you should check the issue tracker, which is where I've written down notes about things I might wanna do. I'm easily distracted, so we might do something else at any time.

Crate Versioning

I don't currently follow semver at all. You're not yet meant to use this as a library. Feel free to look around if you want to use different code bits, but you can't just add it to a project and expect it to work usefully.

The version scheme is something like

0 . major_features_i_want_to_count . pushes_since_the_last_major_feature

Contribution

This crate is released under the Zero-Clause BSD license, and any contributions of yours must be under the same license. It's similar to the MIT license but with even fewer restrictions.

This crate uses SDL2 (zlib license) to interface with the local OS. Windows/MSVC builds of the SDL2 library are kept in the repository for easy building. See the SDL2 download page for other versions of SDL2 if needed.

You can’t perform that action at this time.