Commit graph

395 commits

Author SHA1 Message Date
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
John Alanbrook 7e9efc174a Editor project 2022-08-14 19:46:10 +00:00
John Alanbrook 28c69ff62f pinballx 2022-08-14 19:19:36 +00:00
John Alanbrook b0d2757f70 Ruby 2022-08-12 19:03:56 +00:00
John Alanbrook 406b2b491f Brainstorm is now fully in ruby 2022-08-07 06:43:45 +00:00
John Alanbrook 5b9369a197 REFACTOR!! 2022-08-06 20:39:29 +00:00
John Alanbrook e745acad3e Project cleanup
Standard shaders and fonts now belong to the source directory
2022-08-05 21:16:04 +00:00
John Alanbrook 9b0901eaf8 Put nuklear into its own ffi 2022-08-05 19:23:39 +00:00
John Alanbrook a296b77c45 GUI to ruby 2022-08-04 01:49:56 +00:00
John Alanbrook 9d34354a80 (no comment) 2022-08-03 22:00:27 +00:00
John Alanbrook 2781f09626 Added scripting 2022-08-03 22:00:00 +00:00
John Alanbrook d016554841 STB vorbis header 2022-08-02 03:15:02 +00:00
John Alanbrook 2e7da5c4e6 Ruby embedded 2022-08-01 18:32:58 +00:00
John Alanbrook 760765d350 Add web 2022-07-28 19:07:20 +00:00
John Alanbrook 3dd60ae92f Moved utilities out 2022-07-23 01:47:44 +00:00
John Alanbrook c8d83cc733 Remove johnsondict 2022-07-19 20:13:15 +00:00
John Alanbrook 4896bc5e52 Bitcrusher 2022-07-12 20:43:02 +00:00
John Alanbrook 37d6b64bb9 Clean up music & sound 2022-07-12 06:28:41 +00:00
John Alanbrook afc38d91c3 Mono & pan 2022-07-12 04:21:57 +00:00
John Alanbrook a892cb1180 ??? 2022-07-11 00:29:52 +00:00
John Alanbrook c52509a9d7 adsr 2022-07-10 22:59:15 +00:00
John Alanbrook d8640bed5a MIDI music and soundfonts work 2022-07-10 18:04:24 +00:00
John Alanbrook e57bf668c2 MIDI music player 2022-07-10 16:32:21 +00:00
John Alanbrook b953ae2f1d Compiles 2022-07-10 02:46:23 +00:00
John Alanbrook 7299d6d96f Chebyshev filters 2022-07-08 18:54:45 +00:00
John Alanbrook eb49f0fcc5 Mixer and a few filters 2022-07-06 22:17:06 +00:00
John Alanbrook 1c556a70bc Audio mixer 2022-07-06 01:49:51 +00:00
John Alanbrook e9f83baa37 Sine wave works; SDL conversion 2022-07-05 22:24:58 +00:00
John Alanbrook f979ef6a14 Sound font reader TSf 2022-07-05 20:24:12 +00:00
John Alanbrook 9f2419a0bc SDL for audio conversion 2022-07-05 20:12:48 +00:00
John Alanbrook 2d4e2e06c2 Fixed sawtooth gen 2022-07-05 16:55:00 +00:00
John Alanbrook 7341d8a8cf synths 2022-07-05 02:44:39 +00:00
John Alanbrook 434b8be151 DSP 2022-07-04 19:19:52 +00:00
John Alanbrook de364d3538 T 2022-07-04 17:47:21 +00:00
John Alanbrook c9f42184ef Better circular buffer 2022-07-04 00:24:53 +00:00
John Alanbrook f67e48bdcb Circular buffer datatype 2022-07-03 16:28:44 +00:00
John Alanbrook 99c101a90c Audio and video works 2022-07-03 05:43:42 +00:00
John Alanbrook d506349462 Video works 2022-07-02 08:40:50 +00:00
John Alanbrook 3190c7edcd Text rendering works again. 2022-07-01 16:14:43 +00:00
John Alanbrook e96d7fb701 Background properly renders 2022-06-30 21:38:51 +00:00
John Alanbrook edf16b4267 Font rendering 2022-06-30 18:03:17 +00:00
John Alanbrook 2bc9bb65af X 2022-06-30 15:31:23 +00:00
John Alanbrook b49c2b36c9 t 2022-06-29 03:13:39 +00:00
John Alanbrook a350083bec Add acme scripts 2022-06-28 23:51:21 +00:00
John Alanbrook f93b49e0d0 Datastream manages its own video shader now 2022-06-27 20:16:16 +00:00
John Alanbrook 9c5767436d Add easy log macros; add vec_init; windows managed by vec now 2022-06-27 19:12:26 +00:00
John Alanbrook bccb0a53fd OPENGL order rewrite 2022-06-26 13:36:38 +00:00
John Alanbrook 8009c48547 ??? 2022-06-26 04:19:29 +00:00
John Alanbrook 496b9ca5d7 GLFW windows 2022-06-24 19:06:40 +00:00
John Alanbrook 6a681764af stbtt truetype works 2022-06-23 22:41:30 +00:00
John Alanbrook 2e267e0b39 ... 2022-06-23 21:15:43 +00:00
John Alanbrook 3842a1a9ff ... 2022-06-23 18:16:39 +00:00
John Alanbrook bcecb67685 Multiple windows work; nuklear 2022-06-23 16:05:47 +00:00
John Alanbrook 41b8632b32 Brainstorm now compiles 2022-06-23 07:34:51 +00:00
John Alanbrook e6ca94c2df Compile with tcc 2022-06-23 04:04:35 +00:00
John Alanbrook aa7d36b7d3 No more SDL 2022-06-23 01:39:18 +00:00
John Alanbrook 0ad3f792ee No more cpp 2022-06-22 20:20:29 +00:00
John Alanbrook 7c611368be Excised all IMGUI 2022-06-22 14:34:43 +00:00
John Alanbrook 056ce83eb8 NUKLEAR 2022-06-22 04:16:14 +00:00
John Alanbrook b5de1012ff Update 2022-06-21 20:21:00 +00:00
John Alanbrook 162aebe3fa Large refactor - IMGUI to Nuklear 2022-06-21 17:48:19 +00:00
John Alanbrook b82ea3d670 Split stb_image into h/c 2022-02-07 14:50:34 +00:00
John Alanbrook 87df6921e8 Turned on warnings and fixed 2022-02-06 16:14:57 +00:00
John Alanbrook 76985519f1 Compiles now 2022-02-04 17:36:24 +00:00
John Alanbrook 0ba7b441b1 Folder restructure 2022-02-04 14:38:25 +00:00
John Alanbrook 932863eb09 Makefile no longer gmake 2022-02-03 15:16:22 +00:00
John Alanbrook 0cd3fd4bb3 Shared opengl context 2022-02-01 20:50:25 +00:00
John Alanbrook 549753d0c2 Makefile now tracks headers 2022-01-31 23:04:59 +00:00
John Alanbrook a45862c454 Executable 2022-01-25 15:22:03 +00:00
John Alanbrook 2c88a01cfd Compiling works for Brainstorm 2022-01-21 17:26:22 +00:00
John Alanbrook 34d0565886 Makefile edits 2022-01-20 17:16:44 +00:00
John Alanbrook a7378e1d17 Organized files 2022-01-19 22:43:21 +00:00
John Alanbrook 3dcaf6df81 Initial commit 2021-12-01 03:29:18 +00:00