Commit graph

72 commits

Author SHA1 Message Date
22327a71b3 [oden-js] Track rejected promises, panic on unhandled rejections 2023-07-25 06:39:01 -07:00
17c701a7d6 [oden] IO: Load Strings
It's useful. The stock JS way is bad.
2023-07-08 17:55:37 -07:00
89045ccbcc [oden] Writable Textures and re-work TS API
Now we return Texture objects to make things a little bit more
type-safe, at the cost of a small allocation (I hope!)
2023-07-08 17:54:48 -07:00
12cc715873 [oden] now I can close the window again 2023-07-08 07:08:06 -07:00
29b1a854c5 [game] Actual walk cycle 2023-07-07 21:03:14 -07:00
951a2ce635 [game] Animation, looks bad 2023-07-07 08:28:12 -07:00
d5684b7da9 [game] Some notes on dimensions 2023-07-07 07:53:42 -07:00
9d04541875 [oden] I can make this actually MATCH 2023-07-07 07:34:09 -07:00
e0878b4ea6 [oden] Input 2023-07-07 07:28:46 -07:00
c934914ac5 [game] Walk controls (unbound) 2023-07-07 06:21:01 -07:00
895098e17f [game] Walking animation 2023-07-07 06:20:47 -07:00
1a54c4a333 [game] art fun 2023-07-05 17:06:08 -07:00
358a07dc43 [oden] Coordinate system goes the right way 2023-07-03 08:00:57 -07:00
646c2ac1b8 [game] More sprite nonsense 2023-07-03 07:23:53 -07:00
0c9a60c8e4 [game] More bot sprite, transparency 2023-07-02 17:47:00 -07:00
f9b41dd729 [game] Bot sprite 2023-07-02 10:55:03 -07:00
829bd872fd [oden] Tracing should be optional really
But `cargo run -F tracing` will enable it.
2023-07-02 09:32:31 -07:00
734a1279a6 [oden] Tracing and also actual 60fps
Sleeping is completely and utterly unreliable.
2023-07-01 07:15:55 -07:00
b149b28f31 [oden] Main thread wait 2023-06-30 16:55:45 -07:00
b1b97cee75 [oden] Move graphics thread off main thread
So we can do frame pacing a little bit better maybe.
2023-06-30 16:54:16 -07:00
26bfcc7a94 [oden] Time, path searching, game directory 2023-06-30 16:24:54 -07:00
96e95e22ce [oden] Remove native assets module
What's the point?
2023-06-30 06:31:01 -07:00
f3f9988314 [oden] Assets becomes async load in terms of IO/GFX 2023-06-30 06:29:21 -07:00
d2dfa7c401 [oden] Graphics module can create textures directly 2023-06-30 06:28:57 -07:00
4959adc7e6 [oden] Native IO module 2023-06-30 06:28:04 -07:00
f7ed78ce3b [oden-js] ArrayBuffer values 2023-06-30 06:26:53 -07:00
b77e7eba3e [oden-js] Promise completion needs to be more robust
As predicted.
2023-06-30 06:26:16 -07:00
44c39b1740 [oden-js] Promise completion should be FnOnce 2023-06-30 05:52:32 -07:00
3b2af4bb14 Comments and a bug fix 2023-06-29 10:14:10 -07:00
a2dafeea12 Promises, promises 2023-06-29 10:10:40 -07:00
17fdee51e6 Name it sprite shader 2023-06-28 15:55:34 -07:00
5be0ffa08f Starting to mess with promises
Going to want async IO, I think. And it's a fun detail that I guess
I'm in charge of deciding when to run promise completion functions. :D
2023-06-28 15:54:13 -07:00
c1d86676c3 Note to self 2023-06-27 19:26:11 -07:00
17805fa4a6 [oden] Garbage assets, need to rewrite to IO 2023-06-27 17:16:37 -07:00
75fcc427ac [oden] Docs and stuff 2023-06-25 08:29:27 -07:00
f232f095f5 [oden] Texture Coordinates are pixels too 2023-06-25 08:04:37 -07:00
17e40c2a36 [oden] Texture coordinates go the right way 2023-06-25 07:56:08 -07:00
0a36ffdde1 [oden] Input coordinates are pixel coordinates 2023-06-25 07:54:25 -07:00
e3ae371f53 [oden] Main is ts now dummy 2023-06-25 07:53:44 -07:00
1aa3663ca4 [oden] Derive debug 2023-06-24 23:03:02 -07:00
82c386fd0f [oden-js] Fix bug with repeated arguments 2023-06-24 23:02:43 -07:00
b6f6d908d2 [oden] OK now everything is TS and it type-checks 2023-06-24 17:49:41 -07:00
3968aabdb1 [oden] Load typescript kinda 2023-06-24 14:21:47 -07:00
cc21e8c406 [oden] Start on custom loader 2023-06-24 13:21:20 -07:00
1b8f8d41e5 [oden] Remove leftover demo garbage 2023-06-24 11:05:02 -07:00
b2b730f79c [oden] Fix various bugs in graphics modules 2023-06-24 11:03:21 -07:00
9e685bc569 [oden-js] Fix various bugs in module loader 2023-06-24 11:03:07 -07:00
db8a5f8eed [oden][oden-js] Rework modules
Damn this is a lot
2023-06-24 08:45:39 -07:00
aa90cea4a3 [oden] lol sprite API 2023-06-23 06:25:45 -07:00
c7903382a0 [oden-js] Convert Option<> 2023-06-23 05:48:26 -07:00