Commit graph

136 commits

Author SHA1 Message Date
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 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 962fed0022 Push window functions into C 2024-03-13 16:30:55 -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 aa4b3e6954 add 'grow' function to components and entities 2024-03-05 22:23:38 -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 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 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 1d776855be particle component 2024-01-01 23:30:42 +00:00
John Alanbrook 6aa44042d7 particles, sprite animation 2023-12-30 01:08:53 +00:00
John Alanbrook c4b2b23941 add tween; fix collision js ref bug 2023-12-28 13:57:22 +00:00
John Alanbrook 2880badc98 scale 2023-12-26 21:39:46 +00:00
John Alanbrook 2f086947b9 scaling 2023-12-24 15:14:46 +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 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 56c8542797 spline editing 2023-12-14 01:53:09 +00:00
John Alanbrook 2083fb6e9e Fix rotate, scale, move 2023-12-12 14:46:27 +00:00
John Alanbrook d9f6dd5e56 fix compilation bugs; add bignum 2023-12-11 22:59:59 +00:00
John Alanbrook cb0fa34743 catmull-rom spline custom 2023-12-04 19:38:37 +00:00
John Alanbrook 03fb016fbc actor delay 2023-11-29 23:31:41 +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 d047ceb07b events 2023-11-22 09:51:43 +00:00
John Alanbrook e712d06244 Fix separation trigger; fix timers; add geometry creation; fix transform errors 2023-11-16 15:27:04 +00:00
John Alanbrook 563bacdb9c flip replaced with mirroring' 2023-11-15 22:42:39 +00:00
John Alanbrook 8bef401be4 fix timer freeing; add window resolution compensation on play; device testing 2023-11-08 07:39:10 +00:00
John Alanbrook 8c3e8aa539 timers fixed 2023-11-07 18:45:52 +00:00
John Alanbrook a854764636 Fix char2d; add camera reset in editor; default entity physics is static 2023-11-02 22:25:00 +00:00
John Alanbrook 05a596746e sprite color mixing; make timers and tweens workable 2023-10-31 17:38:23 +00:00
John Alanbrook 92ccb72c04 Add update and physics timings; add instance reversion on save urtype 2023-10-30 22:41:32 +00:00
John Alanbrook 6eefa95546 spline editing works; hollow, etc; add M-g for move all points 2023-10-29 21:39:45 +00:00
John Alanbrook 0fcc2286fa instance saving 2023-10-26 16:48:02 +00:00
John Alanbrook 264a365a1a Reconfigure logging; add markdown output for input controls and important api 2023-10-23 13:08:11 +00:00
John Alanbrook 29698dbca5 add config startup files; add object.dig; editor gui additions; improved translating 2023-10-18 22:20:23 +00:00
John Alanbrook b87cd41e70 Add console object; add intuitive object view; console clear; add play hooks 2023-10-17 17:22:06 +00:00
John Alanbrook f29981ca77 fix check dirty; fix input stack for editor 2023-10-17 00:59:58 +00:00
John Alanbrook 567691edce Bug fixes for input, cleanup on engine exit 2023-10-16 14:40:43 +00:00
John Alanbrook 8f455476f1 Start and restart play mode 2023-10-11 22:22:41 +00:00
John Alanbrook cff5483325 proper saving 2023-10-10 22:37:58 +00:00
John Alanbrook 661d29a01c level saving 2023-10-09 23:10:10 +00:00
John Alanbrook 5db00e9019 repl tab completion; rgb text coloring 2023-10-09 18:03:12 +00:00
John Alanbrook 9701cd2b4a Mum padding and text wrap; save as works 2023-10-06 17:38:49 +00:00
John Alanbrook 272719736c easier saving 2023-10-05 22:30:17 +00:00
John Alanbrook 03f209ddef proper proto chaining in ur construction 2023-10-05 18:33:43 +00:00
John Alanbrook 5578b0f7e4 ur reworking; mum improvements 2023-10-04 22:57:37 +00:00
John Alanbrook e02054bd10 Mum gui init 2023-10-04 13:18:09 +00:00
John Alanbrook ac91e0742a level object saving; transform and physics objects 2023-10-02 12:58:17 +00:00
John Alanbrook 39ab236d66 repl improvements to object selection 2023-09-29 18:16:59 +00:00
John Alanbrook 70e4105e1b bucket renamed to edge2d and saves now; proper input blocking with reversed() 2023-09-27 22:40:04 +00:00
John Alanbrook 98ba229c9c correct polygon2d saving and editing 2023-09-27 17:36:32 +00:00
John Alanbrook 7984c90140 remove ur from components 2023-09-27 14:37:20 +00:00
John Alanbrook 9a1f1408a6 Simplify reparenting; fix deleting objects and copying objects 2023-09-25 21:34:48 +00:00
John Alanbrook 0256f4cd15 add gif for animations; unique anim types 2023-09-24 16:26:44 +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 721abd6a8f Add color maps 2023-09-22 14:44:58 +00:00
John Alanbrook 14d743e704 added colors; repl works 2023-09-21 17:50:39 +00:00
John Alanbrook 47dc6aa1fe flip, scale, angle works for subobject movement 2023-09-21 13:38:23 +00:00
John Alanbrook 81875c3436 objects now correctly register components and subobjects 2023-09-20 22:58:18 +00:00
John Alanbrook f6d491b142 tojson for ur and entity separation 2023-09-20 18:33:11 +00:00
John Alanbrook 266ad65ba7 Removed more Javascript "features"; simplified ur with closures 2023-09-19 22:37:54 +00:00
John Alanbrook a57aaeb5d5 Windows now compiles with directx; separated out ur and entity methods 2023-09-19 17:35:12 +00:00
John Alanbrook 03c9f0c93d Fix web build; make all file searching fns look through slurp/the CDBs first 2023-09-18 17:35:40 +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
Renamed from source/scripts/engine.js (Browse further)