junk-drawer icon indicating copy to clipboard operation
junk-drawer copied to clipboard

A collection of random tools for gamedev.

Results 6 junk-drawer issues
Sort by recently updated
recently updated
newest added

It **_seems_** like the following example script never exits: ``` janet (import junk-drawer/directed-graph :as dg) (def *graph* (dg/create (dg/node :a) (dg/node :b))) (pp (:find-path *graph* :a :b)) ``` In the...

It seems like sometimes one might need to _remove_ nodes and edges from a digraph as well as adding them. These new methods accomplish that (while also, in the case...

Last time I rewrote the FSM and gamestate modules I represented them as directed graphs. Im not a huge fan of how they ended up. Specifically I've grown to like...

I've personally transitioned to representing vectors as tuples instead of tables. Some reasons - Matches how library's such as jaylib represent vectors - allows me to override operators to work...

the hope is that janet will be eventually added to tic, WIP here --> https://github.com/dressupgeekout/TIC-80/pull/1. I've been thinking about what it would look like to use junk-drawer in tic80, given...

right now gamestates have 2 main "loop functions", `draw` and `update`. Those are good defaults, but sometimes you want more functions like this, or different names entirely. TODO: make an...