Commit graph

135 commits

Author SHA1 Message Date
f88d632767 WIP: Put a pin in this. It's broken but I'm moving on for a minute 2023-12-29 07:28:43 -08:00
819a6dc1b6 [oden] More debugger! More more!
All the way through websockets and JSON RPC (kinda)
2023-09-27 16:44:30 -07:00
3ef1a8e806 [oden-js] Value construction functions
Makes building composites a lot easier
2023-09-27 16:44:04 -07:00
a0afae092a [oden-js] Value implements AsRef
Makes working with temporaries a lot easier
2023-09-27 16:43:41 -07:00
c990de5ad6 [oden] Start on a debugger interface compatible with chrome
This is trying to implement the chrome devtools protocol as documented
here: https://chromedevtools.github.io/devtools-protocol/v8/

Doing it in rust and hoping to meet in the middle in quickjs, because
I don't like how many decisions I need to make building a stand-alone
quickjs debugger.
2023-09-24 11:24:58 -07:00
743a1cc623 [quickjs] More debugger work 2023-09-24 11:24:28 -07:00
0531387498 [quickjs] Turn off asan again 2023-09-23 09:11:35 -05:00
26fb773b0b [quickjs] Oops the breakpoint op can't be defined here or bad things
I should have read the very important comment. :(
2023-09-23 09:11:07 -05:00
3570c7a55b [quickjs] Remove CONFIG_DEBUGGER for now
I will add it back later once the debugger is done
2023-09-23 09:10:48 -05:00
5c08cd4acc [quickjs] Makefile shenanigans 2023-09-23 08:53:02 -05:00
c4142cce60 [quickjs] Warnings and debug qjsc 2023-09-23 08:48:33 -05:00
de77e9e6b9 [quickjs] More debugger work
- Helpers for frame position stuff
- Debug Frame manipulation
2023-09-22 22:11:47 -05:00
6fa3e64b8d [quickjs] Debugger 2023-09-22 13:26:33 -05:00
c96a1a4979 [quickjs][oden][oden-js] Source maps
The worst support but it should cost very little if nobody is using
them (psst we're using them)
2023-09-21 01:51:55 -05:00
eb9fed759a [oden] Explain myself. 2023-09-16 22:56:27 -07:00
c02eb25873 [oden] Use deno_ast instead of raw swc for typescript
OK, look, I hate SWC and I really don't want to use it if I can help
it, but the other options are worse.
2023-09-16 22:56:21 -07:00
7a1bf5a19b [oden][oden-js] Notes on source maps 2023-09-15 07:59:49 -07:00
93d4e3eb91 [oden][game] Multiple screens, logging, pre/post, bluescreen
Better blue screens and also logging and whatnot
2023-09-11 20:41:11 -07:00
95d626c15f [oden] Upgrade cargo 2023-09-11 20:40:28 -07:00
aa5c80f74b [game] Rock sprites, level changes 2023-09-10 07:52:27 -07:00
66b9fb99b2 [game] Some notes 2023-09-10 07:30:55 -07:00
1cb30034f8 [oden] Move scaling entirely into JavaScript
Now the game controls its own resolution. We might want to further
copy Love2D and generate resize events, I don't know.
2023-09-02 09:58:58 -07:00
994be3e493 [oden] Re-work the way that scaling works
This is part of making the text scale properly, you'll see.
2023-09-02 08:34:42 -07:00
21cd767140 [oden] Notes on multisampling
I tried to enable it and was unable to.
2023-09-01 11:28:02 -07:00
22732c2b05 [oden] Catch and render script errors, stop crashing
This is kinda nice actually
2023-08-31 21:14:27 -07:00
a08bc07cbb [oden] Color and position for text 2023-08-31 20:39:07 -07:00
079006acdc [oden] I gotta re-think scale and whatnot. 2023-08-31 18:19:59 -07:00
ecce7b64eb [oden] Text is mildly functional 2023-08-31 17:18:37 -07:00
8914b1795f [oden] It doesn't crash but it doesn't work either 2023-08-31 14:46:04 -07:00
71aa3c39f7 [oden] Let's get started on text
This has already been a journey and it will keep being a journey I think.
2023-08-31 08:22:59 -07:00
44130cf22a [oden] Stop doing passes per draw mode that's silly 2023-08-29 17:31:12 -07:00
796c6cc2a4 [game] Debug lines and whatnot for actor collision
I'm just leaving it on for now, I need to get text rendering working
for reals.
2023-08-27 09:29:30 -07:00
df49143885 [oden] Some perhaps unadvised factoring
Traits for fun and profit. I was nervous about the amount of magic
"you have to get this right" coupling between runtime structures (the
draw mode) and types (the various instance types) and I didn't want to
get them wrong. So now some things are more generic than they were
before, and maybe that's good? Who can say in the end.
2023-08-27 09:28:14 -07:00
40992f840f [game] Render tiles from all layers, support multiple IntGrid layers 2023-08-27 08:27:20 -07:00
ab91fcfc53 [oden] Finish colors and cleanup 2023-08-26 11:19:38 -07:00
2322493efd [oden] Correct circle layout to fix colors 2023-08-26 11:12:43 -07:00
106db89e9b [oden] Colors
But they don't work
2023-08-26 08:58:00 -07:00
db0f22b1db [game] Starting to work on IntGrid and other layers 2023-08-25 19:23:27 -07:00
020bb8f124 [oden] Circles work 2023-08-25 15:32:35 -07:00
26a3939012 [oden] Massive refactor on state machine for circles 2023-08-25 15:10:55 -07:00
0296db3106 [oden] Initial ground work for circles 2023-08-25 14:07:18 -07:00
6712a7fccb [oden] Textures are optional with no bind group 2023-08-24 22:46:35 -07:00
3f8e50cfc9 [oden] Sprites are rendered with instances 2023-08-24 22:43:23 -07:00
20f6c8e878 [game] I don't know if this is any better honestly. 2023-08-24 20:28:05 -07:00
756a3634c0 [game] Tweaks 2023-08-23 20:10:22 -07:00
38f5f95827 [game] Collision detection 2023-08-23 19:55:34 -07:00
2388acaa94 [game] Use bounds from animation for gfx, position is at anchor 2023-08-20 17:38:21 -07:00
3af0bb4002 [game] Big actor refactor, spawn actors from world 2023-08-20 08:25:51 -07:00
4042cd28a4 [game] Save and restore actors 2023-08-19 22:47:13 -07:00
efd6884d0b [game] Factor into actor 2023-08-19 21:16:27 -07:00