Commit graph

337 commits

Author SHA1 Message Date
John Alanbrook 603d9a5406 not sure 2024-08-27 20:56:45 -05:00
John Alanbrook 6c6593c3d9 fix gizmo drawing 2024-08-27 14:58:08 -05:00
John Alanbrook 31a47b5b7d add easy hashify function 2024-08-27 13:57:38 -05:00
John Alanbrook 2ad2d18af7 add cheat menu 2024-08-26 11:13:26 -05:00
John Alanbrook 88de7fb547 add console switcher 2024-08-25 15:29:35 -05:00
John Alanbrook 94d4d86944 fix particle render bug 2024-08-25 14:23:22 -05:00
John Alanbrook 76497fb600 add music audio bus 2024-08-25 06:35:04 -05:00
John Alanbrook 05aeb62242 add more imgui functions 2024-08-25 00:18:30 -05:00
John Alanbrook 9fd958f414 add alternate output term path 2024-08-24 18:46:21 -05:00
John Alanbrook 39cbd92bfb fix polygon rendering bug 2024-08-24 18:40:29 -05:00
John Alanbrook ed7d65523a fix resource finding 2024-08-24 08:04:41 -05:00
John Alanbrook 27fa286625 add optional end function call to tweens 2024-08-23 14:17:51 -05:00
John Alanbrook b589a742cf add y sort option 2024-08-22 14:43:04 -05:00
John Alanbrook b31069fe91 animated gifs correctly hotsync 2024-08-22 14:41:01 -05:00
John Alanbrook 285a227691 fix camera view calculation 2024-08-22 13:31:00 -05:00
John Alanbrook 5690ee7fba add profiling and testing 2024-08-20 02:17:56 -05:00
John Alanbrook 849c85cd7a imgui window stuff 2024-08-15 12:26:37 -05:00
John Alanbrook daad058225 image hotreload 2024-08-12 15:19:34 -05:00
John Alanbrook f5a89915eb model skinning 2024-08-09 14:39:31 -05:00
John Alanbrook 57c2285019 clean up 3d model creation 2024-08-08 17:32:58 -05:00
John Alanbrook ceccd032c2 add colors; add repl check 2024-08-08 13:25:47 -05:00
John Alanbrook 515eb65b22 shader hotreload; better circle shader; add nogame for setup help; fix io.mod; add joystick input; fix entity hotreload; implement array length in C; add default game.size 2024-08-07 16:55:08 -05:00
John Alanbrook a28230a647 rudimentary hot reload for actors 2024-08-06 16:05:24 -05:00
John Alanbrook 432d8200f3 add memory profiling tooling 2024-08-06 14:23:21 -05:00
John Alanbrook ceb728b1a7 memory output 2024-08-05 15:26:18 -05:00
John Alanbrook 33d4ebf14a make profiling togglable 2024-08-04 15:20:11 -05:00
John Alanbrook 570c12e3db Add many C based math and statistic functions 2024-08-02 21:52:50 -04:00
John Alanbrook 05bc965d10 update quickjs 2024-07-25 22:07:22 -05:00
John Alanbrook 1142bfb896 made engine into a small bootstrap script 2024-07-25 17:53:53 -05:00
John Alanbrook 6047452b62 speed up string functions 2024-07-25 16:14:37 -05:00
John Alanbrook 0a7f5a5cdd add sprite sort 2024-07-25 10:33:51 -05:00
John Alanbrook 55ae7e2171 remove spurious profiling lines 2024-07-25 08:38:10 -05:00
John Alanbrook cb6f64925e add profiling 2024-07-24 14:17:32 -05:00
John Alanbrook 90940b42f5 add quickjs cpu profiling 2024-07-24 08:26:29 -05:00
John Alanbrook ef802bb6f2 add sprite and rendering to engine js 2024-07-23 17:21:27 -05:00
John Alanbrook 08725d474d add transform cache mat4 2024-07-23 14:30:41 -05:00
John Alanbrook f905dbc571 batch drawing for debug shapes 2024-07-23 12:02:46 -05:00
John Alanbrook 531cc1b43e particle emitters store and reuse particles 2024-07-23 08:40:20 -05:00
John Alanbrook 9d51858266 sprite ssbo batch render 2024-07-22 19:07:02 -05:00
John Alanbrook d4b057dc6f javascript based particle system 2024-07-22 15:40:58 -05:00
John Alanbrook ff71ee9db6 particle texture 2024-07-22 08:29:31 -05:00
John Alanbrook cf6feffda2 custom ssbo buffers 2024-07-18 17:09:35 -05:00
John Alanbrook 066b213fbe particle ssbo 2024-07-18 12:39:58 -05:00
John Alanbrook 63239fa51a mum image fix 2024-07-16 20:34:09 -05:00
John Alanbrook 845ee6ade3 mum fixes; add mum.rectangle 2024-07-16 15:37:07 -05:00
John Alanbrook fb88641883 mum work 2024-07-15 15:54:18 -05:00
John Alanbrook 2f8827fd78 mum work 2024-07-14 16:09:50 -05:00
John Alanbrook 805c9298e6 fix input down 2024-07-11 16:37:24 -05:00
John Alanbrook bb5e6b883a rendering improvements 2024-07-11 14:25:45 -05:00
John Alanbrook acb0fcdcd9 debug drawing for mum 2024-07-10 09:39:28 -05:00
John Alanbrook 9626da4ff8 add background image and slice 2024-07-09 16:43:09 -05:00
John Alanbrook d36ac1957f fix 9 slice 2024-07-09 13:48:15 -05:00
John Alanbrook 9a98ce5e43 New mum tools 2024-07-09 01:03:39 -05:00
John Alanbrook e6450b8981 add api 2024-07-03 16:38:29 -05:00
John Alanbrook 50386c0e04 Merge branch 'master' into imgui
# Conflicts:
#	scripts/std.js
#	source/engine/jsffi.c
2024-07-02 16:21:22 -05:00
John Alanbrook e1ac2a8fe3 fix render image 2024-07-01 17:00:01 -05:00
John Alanbrook b25cd85071 more gui 2024-07-01 13:05:26 -05:00
John Alanbrook f7fdae024d remove unneede info logging 2024-07-01 10:59:31 -05:00
John Alanbrook 829b6386da some array fns 2024-06-26 16:57:17 -05:00
John Alanbrook 42db19d748 add alpha to all colors 2024-06-26 13:12:34 -05:00
John Alanbrook b5e655e1f2 add vector angle 2024-06-25 17:53:15 -05:00
John Alanbrook 7e851756de fix sprite render 2024-06-19 18:52:41 -05:00
John Alanbrook 35deec52ae image generation 2024-06-19 11:45:34 -05:00
John Alanbrook ebfa801560 add check to image blit 2024-06-18 17:10:24 -05:00
John Alanbrook 2fe4e825aa add thumbnail making 2024-06-18 16:14:23 -05:00
John Alanbrook 131bfda5f8 Add debug drawing to 2d physics 2024-06-07 09:49:13 -05:00
John Alanbrook 9d90cd6f56 Fix cache detection for shaders 2024-06-07 00:43:15 -05:00
John Alanbrook b2a466ce8b add box point generation 2024-06-07 00:39:37 -05:00
John Alanbrook 43da35daad remove verbose render info 2024-06-03 16:45:08 -05:00
John Alanbrook cb30231c2f fix makefile; fix yaml to json 2024-05-30 17:12:32 -05:00
John Alanbrook 1ff46c3975 fix input bug 2024-05-30 12:05:51 -05:00
John Alanbrook b2a45fcfdd fix linux opengl render; windows ucrt 2024-05-29 20:21:19 -05:00
John Alanbrook 33fdd97bdd Simplify components in js 2024-05-28 13:39:02 -05:00
John Alanbrook eadfd1dc38 add steam and dsp node js 2024-05-21 18:50:53 -05:00
John Alanbrook 39442c10af Transform is uniform if not present 2024-05-21 09:33:17 -05:00
John Alanbrook 0a318c56e5 Overhaul physics-javascript integration 2024-05-20 13:50:57 -05:00
John Alanbrook 4e4667db50 removed unnecessary physics code 2024-05-17 12:39:04 -05:00
John Alanbrook ee72949029 move window ideas to javascript 2024-05-16 14:50:18 -05:00
John Alanbrook 18c5bc6a56 Add mum rendering camera 2024-05-16 08:21:13 -05:00
John Alanbrook f4ee9d8228 Shader upade works on windows 2024-05-15 16:34:03 -05:00
John Alanbrook cadf10b3a9 Move rendering functions into prosperon 2024-05-15 14:16:05 -05:00
John Alanbrook 2a1ea67cec Merge transforms into single type 2024-05-12 18:36:14 -05:00
John Alanbrook 22c38fe481 Unify pipeline generation 2024-05-08 11:07:19 -05:00
John Alanbrook 44b3bf3a7d Move primitive support to javascript 2024-05-06 21:59:22 -05:00
John Alanbrook 79e4772f93 Separate entity from rigidbody 2024-05-02 17:13:09 -05:00
John Alanbrook e86e126894 Sprite, transform, render overhaul 2024-05-02 13:52:28 -05:00
John Alanbrook 41eadce13e Set uniform data from javascript 2024-04-30 10:32:27 -05:00
John Alanbrook 71fda604ee render 2024-04-28 13:33:37 -05:00
John Alanbrook 32484ac4a0 If command not found, play game 2024-04-26 17:06:43 -05:00
John Alanbrook 5af7d0a2e0 fix normals and uv on 3d models 2024-04-23 18:12:45 -05:00
John Alanbrook 8e337db1e5 Sprite rendered quad 2024-04-23 15:58:08 -05:00
John Alanbrook 5da74796d5 Remove sgscale references 2024-04-22 08:47:04 -05:00
John Alanbrook 9d93f603f0 Sprite rendered in javascript initial 2024-04-21 10:05:18 -05:00
John Alanbrook 0c2d344259 Basic 3d 2024-04-20 12:55:20 -05:00
John Alanbrook 17d89f6314 Fix makefile; smaller wasm; generalize widgets 2024-04-18 17:34:56 -05:00
John Alanbrook 5bb7ea32bf Add scripting for rendering colors 2024-04-17 11:51:29 -05:00
John Alanbrook 3b3cb14421 Add asynchronous web game loading and simple pack 2024-04-17 11:51:29 -05:00
John Alanbrook e6ec506512 Fix web build 2024-04-17 11:51:29 -05:00
John Alanbrook a7d4dd1406 figuring out web 2024-04-17 11:51:28 -05:00
John Alanbrook 127569ee03 Fix json animation for single animation 2024-04-16 12:36:26 -05:00