Commit graph

12 commits

Author SHA1 Message Date
9369bf4da5 create a launcher.
this lets you launch into a duktape engine or a quickjs engine, but the
quickjs engine isn't implemented yet.
2024-06-25 16:39:04 -07:00
63bb2916ca move duktape code into a static library.
this means i can try out making a launcher that launches into other
javascript engines like quickjs.
2024-06-25 14:08:04 -07:00
easrng
ad4dc2332b use JS classes 2024-06-24 18:52:43 -07:00
easrng
7158cd3b29 make typescript happy 2024-06-24 18:37:10 -07:00
123d151c57 add pipes to the game.
they can move! no collision yet.
the numbers still need a bit of tweaking though.
2024-06-24 17:37:38 -07:00
fc7ca18fd7 get the bird to jump!
i added deltatime so the bird should hopefully have the same speed if
the framerate drops or if you play in PAL 50hz mode.
2024-06-21 22:57:08 -07:00
3362687710 get the bird to draw.
the bird now draws! i also got a font loaded too.
2024-06-21 00:45:28 -07:00
9f1b00d39d add file support
file loading is implemented with an asset generator script that reads
all the files in the data folder and converts them into c arrays and
puts them inside a c source file.
2024-06-20 18:41:49 -07:00
d1dca0720c draw a square with color. 2024-06-19 23:37:41 -07:00
e9349f026a add grrlib.
also restructure the code so the js file has an update and start
function that gets called.
2024-06-19 21:08:16 -07:00
e5dfbf0e0c read javascript code from a js file!
the wii does the game loop now, as i passed some c functions to javascript. those functions are inside objects to make the js api easier to read and use.
2024-06-19 00:39:01 -07:00
c6be391b8b initial commit 2024-06-18 21:51:59 -07:00