refactor: add helpers for file I/O, main script detection, safe strncpy, & make hal generic
This commit is contained in:
parent
a33d4c0068
commit
53c88c9069
19 changed files with 323 additions and 452 deletions
4
demo/cart.fnl
Normal file
4
demo/cart.fnl
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
{:title "pxl8 demo"
|
||||
:resolution "640x360"
|
||||
:window-size [1280 720]
|
||||
:pixel-mode "indexed"}
|
||||
|
|
@ -61,8 +61,6 @@
|
|||
:height 64
|
||||
:base_color 4})]
|
||||
|
||||
(pxl8.upload_atlas)
|
||||
|
||||
(let [result (pxl8.world_apply_textures world [
|
||||
{:name "floor"
|
||||
:texture_id floor-tex
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue