Commit graph

158 commits

Author SHA1 Message Date
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 d86133a317 Compiles on MacOS; use sokol shader converter for shader x-compilation; update sokol 2023-09-15 08:37:07 +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 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 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 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 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 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 f17c746162 d 2023-08-18 01:13:17 +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 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 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 e0f3985b00 shaders 2023-05-12 18:22:05 +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 8ca1ab4384 editor fixes 2023-04-28 17:49:18 +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 879ab0fc05 Compiles and working 2023-04-19 20:16:35 +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 5ca3629406 audio change 2023-03-24 19:01:01 +00:00
John Alanbrook 6d69566857 Bug fixing 2023-03-17 15:25:35 +00:00
John Alanbrook 3018a1a188 Many fixes 2023-03-10 19:13:48 +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 8e0c4948a6 Add Nuke radio buttons; fixed edge memory leak 2023-02-23 23:03:58 +00:00
John Alanbrook 4d7d665a5e Removed saving and loading on play/pause 2023-02-06 23:21:00 +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 7e1eaaae64 Mouse position & selection; warning fixes 2023-02-02 23:52:15 +00:00
John Alanbrook 63eb212dcd Extended timer functions 2023-01-19 16:44:29 +00:00
John Alanbrook d2cbc61164 Properly kill gameobjects, sprites, physics shapes 2023-01-13 14:05:36 +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 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 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 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 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 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 0f90215b7a Improved REPL 2022-12-19 15:12:34 +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 fa8dfaf8e8 Proper logging using scheme; implemented most MRB FFI in scheme 2022-12-15 23:30:22 +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 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 29c001e7df Add script subfolder in pinball 2022-11-20 21:50:14 +00:00
John Alanbrook 3641c246d4 Use YughLog instead of printf; add sprites on load 2022-11-18 18:03:07 +00:00
John Alanbrook 36277d5c7b Add portaudio and glfw for static linking 2022-11-03 21:58:03 +00:00
John Alanbrook 0a76259a92 Texture animations in editor 2022-08-22 13:55:54 +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 28c69ff62f pinballx 2022-08-14 19:19:36 +00:00