Commit graph

619 commits

Author SHA1 Message Date
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 811d8bb708 gameobject 3d transform 2023-11-21 23:05:06 +00:00
John Alanbrook 6193bceb74 music stop; sprite alpha blending; sprite sorting; change to anim 2023-11-21 07:07:50 +00:00
John Alanbrook 051d8653fb svg support; reworking of sounds; steam integration and building 2023-11-20 21:57:23 +00:00
John Alanbrook ec8b3c97c4 start steam integration; bug fixes 2023-11-20 13:49:14 +00:00
John Alanbrook cccd472f12 Tween and delay fixes now entity lifetime; spline symmetry 2023-11-17 21:16:13 +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 f6161d04b0 transform work 2023-11-14 15:20:09 +00:00
John Alanbrook 51438a5328 update docs 2023-11-12 02:01:42 +00:00
John Alanbrook 21464c44fb Support fat macos binaries; rudimentary support for ios 2023-11-11 15:56:57 +00:00
John Alanbrook 8265eb658f Initial add of proper transforms 2023-11-09 22:44:33 +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 83851ef272 collision layers 2023-11-07 23:24:26 +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 366a20e7ed 3d rendering 2023-11-03 13:31:06 +00:00
John Alanbrook 71d5ae7619 Update sokol 2023-11-01 20:33:22 +00:00
John Alanbrook 05a596746e sprite color mixing; make timers and tweens workable 2023-10-31 17:38:23 +00:00
John Alanbrook ecd31eeafa Add enabling and disabling colliders; fix bug related to it 2023-10-31 13:31:56 +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 b87cd41e70 Add console object; add intuitive object view; console clear; add play hooks 2023-10-17 17:22:06 +00:00
John Alanbrook 567691edce Bug fixes for input, cleanup on engine exit 2023-10-16 14:40:43 +00:00
John Alanbrook 8229c94a5b fix debug draw shapes 2023-10-12 22:05:49 +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 8c69dfd71f font caret underlining; repl line editing 2023-10-05 13:02:12 +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 2b402d7a2d removed nuke; restored quickjs due to mem leaks 2023-10-03 22:16:38 +00:00
John Alanbrook ac91e0742a level object saving; transform and physics objects 2023-10-02 12:58:17 +00:00
John Alanbrook 0168e81ffe unify grabbing controls 2023-09-29 13:27:34 +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 1143b9b3dc circle and sprites work with saves 2023-09-26 22:07:51 +00:00
John Alanbrook fe21b84785 Ur saving, ur subtyping 2023-09-26 18:34:02 +00:00
John Alanbrook db8e59a8eb improved UR loading 2023-09-26 13:37:19 +00:00
John Alanbrook 9a1f1408a6 Simplify reparenting; fix deleting objects and copying objects 2023-09-25 21:34:48 +00:00
John Alanbrook 3c43a1fad8 D3D11 build for windows; gif making works everywhere & gif names are now dates 2023-09-25 17:29:04 +00:00
John Alanbrook d52b15e1be aseprite importer 2023-09-25 13:21:02 +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 a8eb444991 add object merging 2023-09-22 00:51:38 +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 f6d491b142 tojson for ur and entity separation 2023-09-20 18:33:11 +00:00
John Alanbrook 31331af57d merge made functions into original prototype 2023-09-20 13:11:14 +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 45a1b2dfb3 Add config.c for all implementations of headers 2023-09-19 13:36:39 +00:00
John Alanbrook 24a3ee20c6 Add simple macos window cmds; add moon.gif app icon; add editor mode for low power editing 2023-09-19 06:10:00 +00:00
John Alanbrook 27aaa8e05d Metal rendering works; high dpi rendering works; fix sokol_gfx_ext to work with metal without SDL 2023-09-19 02:55:37 +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
John Alanbrook 97483d4ce5 Add touchpad controls to editor; move dup to entity after spawned 2023-09-16 03:40:19 +00:00
John Alanbrook d15c4ec6d1 Fix rendering regressions; update image and screen pixel pulling 2023-09-15 17:31:31 +00:00
John Alanbrook d86133a317 Compiles on MacOS; use sokol shader converter for shader x-compilation; update sokol 2023-09-15 08:37:07 +00:00
John Alanbrook e392f65485 Vastly simplified entity stringifying and diffing 2023-09-14 22:37:04 +00:00
John Alanbrook 772c12af0e Editor rotation, scale, grabbing fixed and simplified 2023-09-14 17:49:29 +00:00
John Alanbrook 513a9ac618 Fix gui texture rendering; add input post callback; editor bugs 2023-09-13 21:49:22 +00:00
John Alanbrook 681fb27ae4 Removed global scope static variables; ad-hoc way so timers can function in app or timescaled mode 2023-09-13 12:31:00 +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 009609458b Add compile flags to remove bits of engine; sokol_gfx_ext works on windows; remove glad/gl 2023-09-13 04:32:14 +00:00
John Alanbrook e6ef147c40 Editor camera zoom and pan; fix mouse input signals; tex editor to own file; fix grid drawing 2023-09-12 22:19:46 +00:00
John Alanbrook ef95b233e2 gif creation time limit; stretch or scale option 2023-09-12 17:45:54 +00:00
John Alanbrook 0763783284 Gif making controllable from script 2023-09-12 12:56:40 +00:00
John Alanbrook 1ac0c7693d GPU gif creation 2023-09-12 05:02:57 +00:00
John Alanbrook b9316dbbe6 Editor mouse works; remove level.js 2023-09-11 22:09:21 +00:00
John Alanbrook 6b73624c12 Extremely slow gif rendering 2023-09-11 20:07:36 +00:00
John Alanbrook 35c0337837 proper CPU timing; ur type extensions 2023-09-11 07:46:12 +00:00
John Alanbrook cc879746e3 Add ur prototype idea 2023-09-08 06:26:48 +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 acecf2fde9 Fix grid drawing; add energy efficient editing; add input down detection 2023-09-06 22:48:08 +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 7ddf807efd Command line arguments, err messages, help; remove Proxy functions from JS 2023-09-05 22:09:25 +00:00
John Alanbrook 4d577dadb7 Constrained nuklear.h to nuke.c 2023-09-05 14:38:52 +00:00
John Alanbrook 075b9950e0 Replace SQLite3 with TinyCDB; javascript compile output 2023-09-05 15:44:52 +00:00
John Alanbrook 40974a5261 Makefile simplification 2023-09-04 21:27:30 +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 f41f547f63 Clang warning fixes; remove unneeded nuklear files; remove assumed window size 2023-09-04 06:20:55 +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 3e0dc30645 fix log windows bug; remove unneeded third party files 2023-09-02 11:53:52 +00:00
John Alanbrook 1b1d080528 Compilation targets of WIN, WEB, and LINUX; ftw to nftw for emscripten [2deca9ddb9] 2023-08-31 22:23:24 +00:00
John Alanbrook a58da54994 Remove engine file; add icon support; add QOI and QOA support 2023-08-31 18:00:33 +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 f5f5c16f56 flac, mp3, wav playing 2023-08-30 23:22:32 +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 9dc04f6ce7 Rework Register and Player objects to remove some global functions 2023-08-28 22:00:53 +00:00
John Alanbrook aad89926d9 Remove vec.h; add editor start, step, pause controls 2023-08-28 02:57:19 +00:00
John Alanbrook 2a79182cac Component, text editor, debug controls; editor modes; input blocking; cmdline docstring output to markdown [8d85349744c4d40a] 2023-08-25 06:30:39 +00:00
John Alanbrook 6ad4fd3ee8 Editor and debug controls more uniform, with docstrings [8d85349744c4d40a] 2023-08-24 21:22:52 +00:00
John Alanbrook f94c62c5c0 Fix grid draw, circle draw, most editor drawing 2023-08-23 22:18:34 +00:00
John Alanbrook 09765f5336 merge sokol 2023-08-23 04:34:36 +00:00
John Alanbrook 54e247433f nuklear input fixed 2023-08-23 04:19:09 +00:00
John Alanbrook 77895c7a45 start sokol integration. 2023-08-23 03:44:09 +00:00
John Alanbrook 3f2ae7ff82 Nuklear renders in GUI pass 2023-08-22 22:15:39 +00:00
John Alanbrook f17c746162 d 2023-08-18 01:13:17 +00:00
John Alanbrook eab7cd0976 d 2023-08-17 01:17:18 +00:00
John Alanbrook e6e4d7ae20 up 2023-07-03 04:05:21 +00:00
John Alanbrook c81c0f22f2 upstairs 2023-06-28 16:35:41 +00:00
John Alanbrook 09b1d46986 pinball 2023-06-08 22:27:37 +00:00
John Alanbrook 6c0e850180 increase draw buffers 2023-06-07 13:41:09 +00:00
John Alanbrook 6a1a06be76 texture scrolling 2023-06-06 20:49:55 +00:00
John Alanbrook c56d8637cc tweens 2023-06-05 22:19:43 +00:00
John Alanbrook ea6c8417aa text after debug 2023-06-05 17:50:19 +00:00
John Alanbrook 5a6a27772e 9 slice 2023-06-05 15:32:45 +00:00
John Alanbrook 17fcbd26e7 gui 2023-06-01 20:58:56 +00:00
John Alanbrook 33a56e4dc5 down 2023-05-31 22:33:04 +00:00
John Alanbrook 5d7b7880ef upstairs 2023-05-31 19:52:30 +00:00
John Alanbrook aa08815e7c sprite gui render 2023-05-31 17:09:02 +00:00
John Alanbrook ba7fd6560e text positioning 2023-05-30 20:41:02 +00:00
John Alanbrook 5f3bbbc582 font bb 2023-05-30 18:07:18 +00:00
John Alanbrook 16f7a28c23 removed edtior 2023-05-30 16:39:22 +00:00
John Alanbrook 9cb53b04af stability 2023-05-29 15:47:30 +00:00
John Alanbrook 591f48c703 physics fixes 2023-05-27 15:13:20 +00:00
John Alanbrook a8f7f20d6e rendering 2023-05-27 12:01:17 +00:00
John Alanbrook 8172620214 debug draw fix 2023-05-26 02:55:55 +00:00
John Alanbrook 9045f435a0 imroved circle shaders 2023-05-25 01:45:50 +00:00
John Alanbrook c16a0332a5 render update 2023-05-22 05:08:08 +00:00
John Alanbrook 49271b4a5d video rendering 2023-05-19 14:55:57 +00:00
John Alanbrook 630d823591 dashed lines 2023-05-16 18:31:19 +00:00
John Alanbrook d662d9e2fa efficient opengl rendering 2023-05-16 06:31:13 +00:00
John Alanbrook 0b6566ff8b line rendering 2023-05-14 03:01:53 +00:00
John Alanbrook 9a325543ae par and mipmaps 2023-05-13 03:21:11 +00:00
John Alanbrook e0f3985b00 shaders 2023-05-12 18:22:05 +00:00
John Alanbrook eb3e576521 instanced text 2023-05-08 00:47:49 +00:00
John Alanbrook 7fc02062c0 text rendering woiks 2023-05-07 16:11:33 +00:00
John Alanbrook 8552d6a1df ok' 2023-05-07 02:16:10 +00:00
John Alanbrook 0f8a466354 wk 2023-05-05 03:39:23 +00:00
John Alanbrook ae0f41539b sokol sprite render 2023-05-04 22:07:00 +00:00
John Alanbrook 1408c05103 sokol 2023-05-04 05:03:36 +00:00
John Alanbrook bbbfb97b60 clz 2023-05-03 18:50:37 +00:00
John Alanbrook d3cb9278a9 work 2023-05-02 01:58:10 +00:00
John Alanbrook 0bf7d419e0 fix compiler warnings 2023-04-29 01:55:24 +00:00
John Alanbrook 8ca1ab4384 editor fixes 2023-04-28 17:49:18 +00:00
John Alanbrook 02707a9ada Add action mapping 2023-04-25 21:59:12 +00:00
John Alanbrook dc1fda6611 Add gamepad support 2023-04-25 19:59:26 +00:00
John Alanbrook 9b1cead91e Fix free C string bugs in ffi 2023-04-25 16:55:33 +00:00
John Alanbrook a39aee66f5 stack trace on error and critical logs; set logging level 2023-04-24 22:22:18 +00:00
John Alanbrook 2ab0f33d3f Add all files needed for engine into main branch 2023-04-22 21:44:26 +00:00
John Alanbrook 1e8d76961d Add quickjs to tree 2023-04-22 19:07:37 +00:00
John Alanbrook 653e80cae8 Using TCC again; add clang-format 2023-04-21 21:57:30 +00:00
John Alanbrook 1f3a0091bb fixed quickjs memory leaks 2023-04-19 21:58:17 +00:00
John Alanbrook 879ab0fc05 Compiles and working 2023-04-19 20:16:35 +00:00
John Alanbrook 86211aecb8 compiles 2023-04-18 22:58:44 +00:00
John Alanbrook 27d15f1e81 Before SED 2023-04-18 19:49:17 +00:00
John Alanbrook 4358e34aa7 work changes 2023-04-10 14:53:01 +00:00
John Alanbrook b4c2625371 font fix 2023-04-07 17:52:35 +00:00
John Alanbrook 5ca3629406 audio change 2023-03-24 19:01:01 +00:00
John Alanbrook a170d88ccc Add point inflation functions 2023-03-20 01:33:05 +00:00
John Alanbrook 6d69566857 Bug fixing 2023-03-17 15:25:35 +00:00
John Alanbrook 35a00c96ee Nuke fixes 2023-03-13 14:27:32 +00:00
John Alanbrook 3018a1a188 Many fixes 2023-03-10 19:13:48 +00:00
John Alanbrook 0826197b91 timer deaths 2023-03-06 04:05:22 +00:00
John Alanbrook ac3ce97b80 Add color options to draw box 2023-03-03 19:07:59 +00:00
John Alanbrook 0832441c91 Nuke trees 2023-03-01 20:42:44 +00:00
John Alanbrook f5e73b96d3 Fixed object deletion during physics calcs 2023-02-28 23:03:28 +00:00
John Alanbrook f05e0e59f0 Fix windows build 2023-02-28 15:40:53 +00:00
John Alanbrook 4aa6780a8e Add libsamplerate to source tree 2023-02-28 15:40:46 +00:00
John Alanbrook b6788e25b1 polygon MOI 2023-02-27 14:50:36 +00:00
John Alanbrook 4510543aaf Text outlining; circle shader radius now in terms of pixels 2023-02-26 14:03:21 +00:00
John Alanbrook b2b54ddce9 Fixing circle shader 2023-02-26 17:28:52 +00:00
John Alanbrook 186c83659c boundingbox functions 2023-02-26 16:24:21 +00:00
John Alanbrook a3428f0d36 Add MOI calculations for gameobject sync 2023-02-24 18:11:36 +00:00
John Alanbrook a613e19ffa Sync physics properties 2023-02-24 20:13:35 +00:00
John Alanbrook 8e0c4948a6 Add Nuke radio buttons; fixed edge memory leak 2023-02-23 23:03:58 +00:00
John Alanbrook d1c87b38ac Grid rendering 2023-02-20 22:28:07 +00:00
John Alanbrook 49a17e0d59 add position calculations 2d 2023-02-20 17:10:03 +00:00
John Alanbrook c3b1988fb7 Clean up collider point transformations 2023-02-19 17:16:35 +00:00
John Alanbrook b4734bba37 Polygon 2d colliders 2023-02-18 04:32:23 +00:00
John Alanbrook a401dbb9d4 Gameobject level sensor setting 2023-02-17 19:15:56 +00:00
John Alanbrook afa9f963ef Shape specific collision handling 2023-02-17 07:16:52 +00:00
John Alanbrook 260374c14d Wireframe display mode 2023-02-16 22:13:07 +00:00
John Alanbrook 7c0f7ef46f line thicknesses 2023-02-16 07:56:22 +00:00
John Alanbrook e3100e0221 line inflation 2023-02-15 23:54:05 +00:00
John Alanbrook 570169ff15 asset viewer ffi 2023-02-14 03:02:14 +00:00
John Alanbrook 93393be85b text input 2023-02-13 19:35:01 +00:00
John Alanbrook fceb68a910 line 2023-02-13 14:30:35 +00:00
John Alanbrook 8155bddb5e sprite layers 2023-02-10 20:31:59 +00:00
John Alanbrook 1fcdae17ba spline and edge commands 2023-02-10 20:31:58 +00:00
John Alanbrook 99e9807552 spline and edge commands 2023-02-08 21:30:12 +00:00
John Alanbrook 4d7d665a5e Removed saving and loading on play/pause 2023-02-06 23:21:00 +00:00
John Alanbrook cdff383a7a refined controls 2023-02-06 22:41:47 +00:00
John Alanbrook f4d08bcacb box selection 2023-02-05 23:42:36 +00:00
John Alanbrook 01eb56d42d add grid, window ffi commands 2023-02-05 17:40:59 +00:00
John Alanbrook 32ccc02a93 editor scaling and rotation 2023-02-05 04:53:54 +00:00
John Alanbrook 229e86a56a lll 2023-02-04 04:18:19 +00:00
John Alanbrook bea49b5e64 level saving and loading 2023-02-03 19:41:53 +00:00
John Alanbrook 7e1eaaae64 Mouse position & selection; warning fixes 2023-02-02 23:52:15 +00:00
John Alanbrook fcf6f76949 logging compataibility with emacs 2023-01-31 23:41:09 +00:00
John Alanbrook 35b9482928 Tiny physics engine 2023-01-28 04:35:08 +00:00
John Alanbrook 38da3627e7 splines 2023-01-27 18:06:16 +00:00
John Alanbrook 68850b558a Physics edges 2023-01-26 03:32:58 +00:00
John Alanbrook 9303fb63cf prefab syncing 2023-01-20 00:30:23 +00:00
John Alanbrook 5ecab600e0 nuke GUI bindings 2023-01-19 22:43:29 +00:00
John Alanbrook 4eeb16ec48 Nuklear bindings 2023-01-19 19:06:32 +00:00
John Alanbrook 63eb212dcd Extended timer functions 2023-01-19 16:44:29 +00:00
John Alanbrook 695c102ce3 2D sprite animations; timers 2023-01-18 23:15:36 +00:00
John Alanbrook 600426be8f 2d animation restructure 2023-01-18 20:43:07 +00:00
John Alanbrook 1a1884f61a collider sensor and enabled query; color swapping functions 2023-01-18 16:45:43 +00:00
John Alanbrook 7639b7a781 Shape debug color based on type and enabled 2023-01-18 14:45:42 +00:00
John Alanbrook 6e794848a4 Collider commands 2023-01-17 21:09:14 +00:00
John Alanbrook 16ad36d4ce Sprite and collider enabling 2023-01-17 19:04:08 +00:00
John Alanbrook db0a099509 Draw gameobject pos when debug draw enabled 2023-01-17 06:46:40 +00:00
John Alanbrook 5085597eeb Add spacebar input; add shape enabling/disablg and sensors 2023-01-16 23:18:09 +00:00
John Alanbrook 4ee6e1683b Fixed anim2d bug; fixed sound bug; free oneshots now 2023-01-16 19:20:07 +00:00
John Alanbrook 01256542b6 Animations in; working poorly 2023-01-16 08:16:39 +00:00
John Alanbrook 5da19ec407 Optimize busses; add samplerate changing library 2023-01-16 05:27:28 +00:00
John Alanbrook 8f6c8774de Optimize busses 2023-01-15 17:16:25 +00:00
John Alanbrook 2731d01bc1 Music and sound 2023-01-15 15:53:50 +00:00
John Alanbrook b8f67a8f9e Logging and much better debugging info 2023-01-14 04:08:39 +00:00
John Alanbrook d6797a7f24 File reloading start 2023-01-13 19:07:44 +00:00
John Alanbrook d2cbc61164 Properly kill gameobjects, sprites, physics shapes 2023-01-13 14:05:36 +00:00
John Alanbrook e0b7d6459d Removed registry 2023-01-12 23:41:54 +00:00
John Alanbrook f0ce69f957 Javascript collisions 2023-01-11 22:57:34 +00:00
John Alanbrook 469b955d97 javasrcript update & phys update 2023-01-11 14:57:15 +00:00
John Alanbrook 3baec775a8 java 2023-01-10 23:23:11 +00:00
John Alanbrook 3e4edf1ea3 java 2023-01-10 21:41:43 +00:00
John Alanbrook bdde403a66 javascript 2023-01-10 20:02:24 +00:00
John Alanbrook 8e8af65125 duktape 2023-01-10 13:13:00 +00:00
John Alanbrook 248456fd9e PROTO 2023-01-09 21:35:05 +00:00
John Alanbrook a2c9d1163a Prototype updates 2023-01-09 13:21:45 +00:00
John Alanbrook e24eef6c8f Add gameobject flipping; prefabs autoload 2023-01-05 21:34:15 +00:00
John Alanbrook 1521593269 S7 header config & prototyping support 2023-01-05 00:09:42 +00:00
John Alanbrook 740077fae3 scheme 2023-01-03 23:13:31 +00:00
John Alanbrook 7ce8cd22ad component rework 2023-01-03 15:06:36 +00:00
John Alanbrook 09036d075d SEXP asset files 2023-01-02 23:43:07 +00:00
John Alanbrook 90c830a0e3 Add JSON; Reorganize textures 2023-01-02 13:55:26 +00:00
John Alanbrook eadf3524ba UV and ST 2022-12-30 19:31:06 +00:00
John Alanbrook daebe5c665 Add animation ffi hook 2022-12-29 23:44:19 +00:00
John Alanbrook 804c2de617 Cleaned up sprite render; use UVs 2022-12-29 17:27:41 +00:00
John Alanbrook 0bdfa9e814 Text rendering culling 2022-12-29 10:26:21 +00:00
John Alanbrook 76273e1c54 Packed font rendering 2022-12-28 22:50:54 +00:00
John Alanbrook 329e10f2d6 Added timer and animations 2022-12-27 23:54:39 +00:00
John Alanbrook 2df559aa4c Hit params in collider works 2022-12-27 18:52:25 +00:00
John Alanbrook 9a77bb75a8 Vectorization 2022-12-27 02:57:45 +00:00
John Alanbrook 147cf1b05d Draw sprite to GUI 2022-12-24 19:18:06 +00:00
John Alanbrook 06b8bba27f Converted to 'nuke' commands 2022-12-23 19:48:29 +00:00
John Alanbrook 8729892939 Add camera 2022-12-22 22:58:06 +00:00
John Alanbrook efaf8736d8 Add gravity, starting and stopping simulation 2022-12-22 09:50:40 +00:00
John Alanbrook d81f2f373c Fixed debug circle drawing; add collision detection 2022-12-22 01:24:59 +00:00
John Alanbrook 2bcee44677 Text rendering via script 2022-12-21 01:34:22 +00:00
John Alanbrook df907aec2b Add 2d physics hooks 2022-12-20 14:16:26 +00:00
John Alanbrook 5ae72062a2 Added pawn system for input via scheme 2022-12-20 00:15:38 +00:00
John Alanbrook 9bdb7ce9cb Embedded console into REPL 2022-12-19 18:16:51 +00:00
John Alanbrook 0f90215b7a Improved REPL 2022-12-19 15:12:34 +00:00
John Alanbrook d13d4ece9a Add scheme gui_hook 2022-12-16 19:54:08 +00:00
John Alanbrook 3010ce17e5 Added stringifying escape & F keys; add sound, sys FFI; unconflict time.h and timer.h 2022-12-16 19:37:40 +00:00
John Alanbrook 44d503ae22 Added stringifying escape & F keys; add sound, sys FFI; unconflict time.h and timer.h 2022-12-16 19:29:50 +00:00
John Alanbrook 6227754925 Added stringifying escape & F keys; add sound, sys FFI; unconflict time.h and timer.h 2022-12-16 17:54:05 +00:00
John Alanbrook bfddf39a38 Mkfile 2022-12-16 15:07:21 +00:00
John Alanbrook fa8dfaf8e8 Proper logging using scheme; implemented most MRB FFI in scheme 2022-12-15 23:30:22 +00:00
John Alanbrook 688d816bce Fixed many incompatible pointer warnings; add tcc specific debugging flags to makefile 2022-12-15 23:30:17 +00:00
John Alanbrook 0b64d0872b Fixed many incompatible pointer warnings; add tcc specific debugging flags to makefile 2022-12-14 19:01:42 +00:00
John Alanbrook 60bf5ca7bc Moved source file locations for easier compiling; cleaned up Makefile; cleaned up opengl code 2022-12-13 18:32:36 +00:00
John Alanbrook 18eefd4937 Using S7; edit Makefile for debug, windows compilation 2022-12-12 16:48:21 +00:00
John Alanbrook e5e5716665 Using S7; edit Makefile for debug, windows compilation 2022-12-12 07:35:42 +00:00
John Alanbrook 998cb11218 Add newlines to the end of files without them; enable warnings on compile 2022-11-25 13:12:31 +00:00
John Alanbrook ac0ad8efc2 Massively improved Makefile, with DBG and release options; engine outputs engine version to root directory of game on startup 2022-11-24 16:58:36 +00:00
John Alanbrook 5946a08a79 Add versioning to logs; add backtrace on crash; add automatic logging to a logfile every run 2022-11-24 07:54:17 +00:00
John Alanbrook 91de53dee3 Clean up unnecessary files. 2022-11-24 04:14:09 +00:00
John Alanbrook a0f016a011 Use CC for general compiling; get rid of more printfs; display opengl version on load 2022-11-23 23:29:50 +00:00
John Alanbrook 29c001e7df Add script subfolder in pinball 2022-11-20 21:50:14 +00:00
John Alanbrook 39bacf9508 fixes 2022-11-20 20:37:17 +00:00
John Alanbrook 4224594ee4 Rename structs to more sane things 2022-11-19 23:13:57 +00:00
John Alanbrook 3641c246d4 Use YughLog instead of printf; add sprites on load 2022-11-18 18:03:07 +00:00
John Alanbrook 5386e19e17 Improved log; fixed texture loading and hash table 2022-11-17 22:48:20 +00:00
John Alanbrook 36277d5c7b Add portaudio and glfw for static linking 2022-11-03 21:58:03 +00:00
John Alanbrook 9be9512e85 Removed arrlen and arrwalk, which do not work 2022-10-24 20:19:48 +00:00
John Alanbrook ca0419ab46 ? 2022-09-07 15:34:45 +00:00
John Alanbrook 81986d6bad Not sure 2022-08-29 03:34:33 +00:00
John Alanbrook c56e2841b6 ?? 2022-08-26 16:38:35 +00:00
John Alanbrook 02d4396010 Replaced vec.h with stb_ds.h arrays 2022-08-26 14:19:17 +00:00
John Alanbrook ff4168d279 Improved texture handling 2022-08-25 20:48:15 +00:00
John Alanbrook 3040dc1f7f Add asset saving 2022-08-24 17:24:21 +00:00
John Alanbrook dc82da6982 ? 2022-08-24 13:12:04 +00:00
John Alanbrook 0a76259a92 Texture animations in editor 2022-08-22 13:55:54 +00:00
John Alanbrook dda8f1cc24 Asset viewer 2022-08-19 16:25:08 +00:00
John Alanbrook 37ef9affb2 ?? 2022-08-18 13:50:03 +00:00
John Alanbrook 5823947fb4 engine 2022-08-17 05:01:51 +00:00
John Alanbrook 7aef7afc90 Fix seg faults when loading gameobjects 2022-08-16 04:46:06 +00:00
John Alanbrook 4f0a59f581 Editor works again 2022-08-15 21:38:21 +00:00
John Alanbrook 638e57e660 Add paladin game; fix NK bool 2022-08-14 23:10:29 +00:00
John Alanbrook 24ee74150a Add config script load and engine load 2022-08-14 21:01:29 +00:00
John Alanbrook cec6d092f7 Removed executables from files 2022-08-14 19:48:13 +00:00