Commit graph

530 commits

Author SHA1 Message Date
John Alanbrook c27e1a3071 Update tinycdb to 0.81 2024-03-27 17:54:58 -05:00
John Alanbrook fe3250752d Make render path simpler 2024-03-27 15:00:59 -05:00
John Alanbrook 204aa19c50 Add phys2d raycasting 2024-03-26 18:31:20 -05:00
John Alanbrook c3aa598300 Move jsffi defines to header 2024-03-26 14:57:35 -05:00
John Alanbrook fa5398474b Add steam quickjs 2024-03-26 13:05:25 -05:00
John Alanbrook 459ef00330 Fix sprite animation crash; move text/image to render 2024-03-26 07:53:36 -05:00
John Alanbrook 3023a12184 Add system command; correct makefile 2024-03-24 12:44:35 -05:00
John Alanbrook ecb2882e7e fix makefile; add ios 2024-03-23 09:56:38 -05:00
John Alanbrook 5e3fb73398 move infos to spam 2024-03-22 13:40:56 -05:00
John Alanbrook 845fc5d4b8 Clean up render; fix delay kills 2024-03-22 09:02:10 -05:00
John Alanbrook 1540da8392 Move texture caching/handling to javascript 2024-03-21 21:07:24 -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 5a52afc2fd simplify camera 2024-03-20 16:48:03 -05:00
John Alanbrook d3db5ca61e unseparated body from gameobject; now 'entity' 2024-03-20 16:07:23 -05:00
John Alanbrook 23afa7b266 macro compression 2024-03-20 14:32:35 -05:00
John Alanbrook 7e6fc1ffbe Moved all component ffi into global objects 2024-03-20 09:04:28 -05:00
John Alanbrook 046b7c6f44 Made debug object consistent 2024-03-19 23:01:31 -05:00
John Alanbrook 18c07e9f82 actor delays; fix sound playing 2024-03-19 17:00:49 -05:00
John Alanbrook 62a34c1e7c Remove generic cmd from jsffi 2024-03-19 14:39:19 -05:00
John Alanbrook 9730f8defb --amend 2024-03-19 09:06:28 -05:00
John Alanbrook 261b373a75 refactor jsffi 2024-03-18 12:38:32 -05:00
John Alanbrook 088dd4d4fd Move main process into javascript 2024-03-15 13:04:56 -05:00
John Alanbrook 32b0cc7377 quickjs log to its own file; cleanup script.c 2024-03-15 10:51:04 -05:00
John Alanbrook bad225b965 add dump option for qjs, clean up makefile 2024-03-14 16:48:05 -05:00
John Alanbrook 188fe7526c Move console and time to c; consoleout and colors 2024-03-14 14:10:06 -05:00
John Alanbrook f0876825f1 Significantly improved logging 2024-03-14 09:34:42 -05:00
John Alanbrook 52fe4b56fa Vendored dependencies (no more submodules) 2024-03-13 17:08:14 -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 3e8bbdbeb2 Add touch events, clipboard, virtual keyboard 2024-03-12 10:02:02 -05:00
John Alanbrook 4843981527 Move input handling to script only 2024-03-11 22:23:02 -05:00
John Alanbrook 74a59a1e35 Clean up quitting before sokol app is initiated 2024-03-11 15:11:39 -05:00
John Alanbrook 7d1f19bbf5 Fixup makefile for docker builds 2024-03-09 18:22:06 -06:00
John Alanbrook 6897f09e59 add sokol_gfx_ext.h 2024-03-05 23:31:52 -06:00
John Alanbrook 1471966cd2 Preparing for github 2024-03-05 23:14:26 -06:00
John Alanbrook 4ba14ddd91 Separate the ideas of game dimensions and window dimensions 2024-03-05 00:11:34 -06:00
John Alanbrook 7b8be5b4f8 actors have delay now; fix sprite rendering for painters algo 2024-03-04 15:18:11 -06:00
John Alanbrook 6b3cea4ca5 utilize sokol_fetch for game.cdb fetching on load 2024-03-04 11:15:55 -06:00
John Alanbrook 89e3f9b849 move dr_libs from versioned to git submodule 2024-03-03 17:10:08 -06:00
John Alanbrook d46be24c41 change tinysoundfont from versioned to git submodule 2024-03-03 17:07:06 -06:00
John Alanbrook b8af92a138 use cgltf git submodule 2024-03-03 17:02:22 -06:00
John Alanbrook c216dba97b remove versioned clgtf 2024-03-03 17:01:15 -06:00
John Alanbrook bbdf218a9c use stb submodule 2024-03-03 16:58:59 -06:00
John Alanbrook 1a3b322df4 remove stb vendored 2024-03-03 16:50:04 -06:00
John Alanbrook 5a3ef830a4 use sokol git and upgrade 2024-03-03 16:49:34 -06:00
John Alanbrook a43b5dd010 delete sokol 2024-03-03 12:36:43 -06:00
John Alanbrook 83f5019f3e Recusrive mkdir; delete files; path replacers 2024-03-03 05:34:41 +00:00
John Alanbrook f948dac73f font setting 2024-03-02 08:59:50 +00:00
John Alanbrook 0054c7ab2e cdb command line options; packing and playing game; add stb_vorbis 2024-03-02 06:00:35 +00:00
John Alanbrook 1e9b5f6341 create new entities in editor 2024-03-01 17:45:06 +00: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 5f33ac53b7 clean up docs 2024-02-20 02:31:26 +00:00
John Alanbrook e5d67431b6 add website base 2024-02-09 07:49:52 +00:00
John Alanbrook 7706aa8462 enumerable C abased js 2024-02-01 16:11:09 +00:00
John Alanbrook 262cd50e1a nota leaks fixed 2024-01-31 08:42:15 +00:00
John Alanbrook 46b86a8e92 nota 2024-01-23 16:56:34 +00:00
John Alanbrook dde71d6c02 nota array and object serialization 2024-01-17 01:04:52 +00:00
John Alanbrook e97842e60e nota float 2024-01-16 20:32:31 +00:00
John Alanbrook f330082b8b nota floating point 2024-01-16 18:49:16 +00:00
John Alanbrook 145d5391a0 nota quickjs 2024-01-16 13:29:27 +00:00
John Alanbrook bf57e33629 nota and kim 2024-01-15 18:29:21 +00:00
John Alanbrook 03b7b77b5a update quickjs; nota, kim 2024-01-14 18:56:52 +00:00
John Alanbrook ffb7631a6b js 2024-01-14 16:24:31 +00:00
John Alanbrook eb4abb9f8d particle params 2024-01-04 15:46:28 +00:00
John Alanbrook 6e4b7e63f2 particles and warp zones 2024-01-04 14:14:37 +00:00
John Alanbrook 913c74db96 fix collisions 2024-01-03 23:19:13 +00:00
John Alanbrook da5b7154d7 tests; new callbacks 2024-01-03 20:26:42 +00:00
John Alanbrook 7dfd8e6f9a parallel particles 2024-01-03 18:29:27 +00:00
John Alanbrook 4a4711e38f particle fix 2024-01-03 14:38:17 +00:00
John Alanbrook dbf4b668bb simplex, particles 2024-01-02 13:55:22 +00:00
John Alanbrook 1d776855be particle component 2024-01-01 23:30:42 +00:00
John Alanbrook 2983e9f3c6 tween functions 2024-01-01 13:44:43 +00:00
John Alanbrook 6aa44042d7 particles, sprite animation 2023-12-30 01:08:53 +00:00
John Alanbrook 5bdf311da9 initial physics constraints 2023-12-28 23:38:17 +00:00
John Alanbrook c4b2b23941 add tween; fix collision js ref bug 2023-12-28 13:57:22 +00:00
John Alanbrook 5df1670538 tiling sprites; line drawing 2023-12-27 20:16:43 +00:00
John Alanbrook beee0c50f3 fixes 2023-12-27 16:34:14 +00:00
John Alanbrook 1b4a36f398 fix play crash 2023-12-27 13:04:18 +00:00
John Alanbrook 2880badc98 scale 2023-12-26 21:39:46 +00:00
John Alanbrook 885a2fd190 scale 2023-12-24 17:50:01 +00:00
John Alanbrook 2f086947b9 scaling 2023-12-24 15:14:46 +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 e84d3b60af spline fixes 2023-12-21 16:49:44 +00:00
John Alanbrook a03143463e spline fixes 2023-12-20 23:20:29 +00:00
John Alanbrook a8ee53ec33 drag n drop editor images 2023-12-20 15:19:04 +00:00
John Alanbrook 55d5133414 line rendering 2023-12-19 23:28:45 +00:00
John Alanbrook dacad57577 fix camera, spline 2023-12-19 21:34:36 +00:00
John Alanbrook a1aff79d5c bug fixes; remove texture anims 2023-12-18 23:12:05 +00:00
John Alanbrook 444fb98125 bezier spline controls 2023-12-18 12:45:27 +00:00
John Alanbrook b732d12bed rendering simplified 2023-12-15 18:45:09 +00:00
John Alanbrook 56c8542797 spline editing 2023-12-14 01:53:09 +00:00
John Alanbrook e06d12213f add spline component controls 2023-12-13 14:06:24 +00:00
John Alanbrook 903ffbc607 fix spline segfault 2023-12-13 01:35:34 +00:00
John Alanbrook 2083fb6e9e Fix rotate, scale, move 2023-12-12 14:46:27 +00:00