selfsame 345a955856 readme | 1 year ago | |
---|---|---|
files | 1 year ago | |
src | 1 year ago | |
.gitignore | 2 years ago | |
Cargo.lock | 1 year ago | |
Cargo.toml | 1 year ago | |
HelvetiPixel.ttf | 2 years ago | |
JOURNAL.md | 1 year ago | |
README.md | 1 year ago | |
consola.ttf | 2 years ago | |
coure.fon | 2 years ago | |
fennel.lua | 1 year ago | |
reloader.fnl | 1 year ago |
app.fnl
, can require other files normallyinput
and update
routing[/] "operating system" is just a fennel app that can manage window draw_targets, focus
[x] img section blitting
[ ] pattern fill
[ ] post processing that enforces 2 bit color
[ ] fen2 user storage
[ ] sandbox filesystem access
(load_img "img/foo.png")
(draw_img x y "img/foo.png")
(draw_sprite x y sx sy w h "img/foo.png")
(draw_text "HELLO" x y true)
(draw_rect x y w h false)
(draw_rect_lines x y w h thickness true)
(load_sound "bar.wav")
(play_sound "bar.wav" false 0.2)
(mouse_pos)
(mouse_down 0)
(mouse_pressed 0)
(key_down "tab")
(key_pressed "q")
(key_released "x")
(list_files "dir/")
(quit)