Commit graph

115 commits

Author SHA1 Message Date
John Alanbrook 90940b42f5 add quickjs cpu profiling 2024-07-24 08:26:29 -05:00
John Alanbrook e6ec506512 Fix web build 2024-04-17 11:51:29 -05:00
John Alanbrook c368b81216 Fix crash on exit 2024-04-16 07:48:34 -05:00
John Alanbrook 59ad64bbba Replace tinycdb with miniz; remove unnecessary files; use sokol_main 2024-03-28 17:40:14 -05:00
John Alanbrook 845fc5d4b8 Clean up render; fix delay kills 2024-03-22 09:02:10 -05:00
John Alanbrook f5d610cbed 'use' now how to load extra programs; cached 2024-03-21 11:33:36 -05:00
John Alanbrook 51f3b5abeb removed ffi stop [memleak] 2024-03-20 17:12:36 -05:00
John Alanbrook 32b0cc7377 quickjs log to its own file; cleanup script.c 2024-03-15 10:51:04 -05:00
John Alanbrook 962fed0022 Push window functions into C 2024-03-13 16:30:55 -05:00
John Alanbrook bb24fd2bc0 Sprites are now defined in C; gameobject getsets 2024-03-13 03:51:44 -05:00
John Alanbrook 4843981527 Move input handling to script only 2024-03-11 22:23:02 -05:00
John Alanbrook 1e432346ff changed make to spawn; unified actor system for entities 2024-02-29 19:54:33 +00:00
John Alanbrook de74b42be2 Add 'use' functionality; remove most global vars 2024-02-27 16:09:15 +00:00
John Alanbrook 4351b4bf20 Update what's in global scope 2024-02-25 23:31:48 +00:00
John Alanbrook 9c8fe27ce4 Command line overhaul 2024-02-23 22:05:30 +00:00
John Alanbrook 7706aa8462 enumerable C abased js 2024-02-01 16:11:09 +00:00
John Alanbrook ffb7631a6b js 2024-01-14 16:24:31 +00:00
John Alanbrook 913c74db96 fix collisions 2024-01-03 23:19:13 +00:00
John Alanbrook c4b2b23941 add tween; fix collision js ref bug 2023-12-28 13:57:22 +00:00
John Alanbrook ccfd233207 crash fixes; path rebasing for drag 'n' drop 2023-12-22 17:50:03 +00:00
John Alanbrook 606dfbea93 bug fixing 2023-12-22 13:14:44 +00:00
John Alanbrook 2ae45a5bb8 many bug fixes; const correctness; restrict; memory leaks fixed 2023-12-21 23:21:01 +00:00
John Alanbrook a03143463e spline fixes 2023-12-20 23:20:29 +00:00
John Alanbrook b9db31c84e nodes,gameobjects cleanup 2023-11-29 18:40:13 +00:00
John Alanbrook 1d491e694a Fix race condition for sound ending 2023-11-27 23:04:04 +00:00
John Alanbrook 44febe1c6d audio reworked 2023-11-27 20:29:55 +00:00
John Alanbrook f6161d04b0 transform work 2023-11-14 15:20:09 +00:00
John Alanbrook 8c3e8aa539 timers fixed 2023-11-07 18:45:52 +00:00
John Alanbrook 1a6dbfaa88 Add vector swizzling; custom velocity function; per object gravity disabling; max velocities 2023-11-06 13:05:27 +00:00
John Alanbrook 5ee444465e cgltf glb texture pulling 2023-11-04 03:01:30 +00:00
John Alanbrook 0fcc2286fa instance saving 2023-10-26 16:48:02 +00:00
John Alanbrook 567691edce Bug fixes for input, cleanup on engine exit 2023-10-16 14:40:43 +00:00
John Alanbrook cff5483325 proper saving 2023-10-10 22:37:58 +00:00
John Alanbrook e02054bd10 Mum gui init 2023-10-04 13:18:09 +00:00
John Alanbrook 2b402d7a2d removed nuke; restored quickjs due to mem leaks 2023-10-03 22:16:38 +00:00
John Alanbrook 174a9ed586 Fix Object.merge; add many color palettes, normalize color fns 2023-09-23 17:35:02 +00:00
John Alanbrook 47dc6aa1fe flip, scale, angle works for subobject movement 2023-09-21 13:38:23 +00:00
John Alanbrook 60d078321c Fix Linux and Windows build issues; texture looks in CDBs first 2023-09-18 15:45:51 +00:00
John Alanbrook c9c05d931d JSO compiler; packer; update CDB to 0.80; assets now packed into binary 2023-09-18 12:36:07 +00:00
John Alanbrook 94c2a3c143 JS globbing; remove glob b/c windows; pregame script hooks 2023-09-13 06:08:32 +00:00
John Alanbrook a4111b01a5 Prototype duplication fixes; split out engine.js into multiple components 2023-09-07 21:46:35 +00:00
John Alanbrook e78e673576 Quicjs optimizes similar to engine; objects lerp from their prototype 2023-09-06 17:17:16 +00:00
John Alanbrook 075b9950e0 Replace SQLite3 with TinyCDB; javascript compile output 2023-09-05 15:44:52 +00:00
John Alanbrook 008458c7f1 Add Sqlite packing; merge render and openglrender; remove ftw from web builds 2023-09-04 14:48:44 +00:00
John Alanbrook 467f7b29ea Makefile fix to easily make linux, windows, web; DBG flag set correctly 2023-09-03 17:50:02 +00:00
John Alanbrook 53ceb9bbf7 Merge sokol app; fix basic input 2023-08-31 08:10:30 +00:00
John Alanbrook 6e4e529541 Clean up window and input, integrate sokol [2deca9ddb9] 2023-08-31 07:05:06 +00:00
John Alanbrook 6dbfb2afd3 corrected level fn registering; initial move to sokol_audio w/ 32bit float sound [57d84de51f509035] 2023-08-29 22:11:36 +00:00
John Alanbrook a3c6292eb2 Add script compile; level load eval environments 2023-08-29 14:41:40 +00:00
John Alanbrook aad89926d9 Remove vec.h; add editor start, step, pause controls 2023-08-28 02:57:19 +00:00