add auto run
This commit is contained in:
parent
fa57baf212
commit
2555bec8eb
9 changed files with 142 additions and 110 deletions
|
|
@ -26,11 +26,11 @@
|
|||
(pxl8.transition_start transition)))
|
||||
|
||||
(global init (fn []
|
||||
(cube3d.init)
|
||||
(worldgen.init)
|
||||
(pxl8.load_palette "res/sprites/pxl8_logo.ase")
|
||||
(set logo-sprite (pxl8.load_sprite "res/sprites/pxl8_logo.ase"))
|
||||
(set particles (pxl8.particles_new 1000))))
|
||||
(set particles (pxl8.particles_new 1000))
|
||||
(cube3d.init)
|
||||
(worldgen.init)))
|
||||
|
||||
(global update (fn [dt]
|
||||
(set time (+ time dt))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue