Commit graph

585 commits

Author SHA1 Message Date
John Alanbrook 39442c10af Transform is uniform if not present 2024-05-21 09:33:17 -05:00
John Alanbrook 0a318c56e5 Overhaul physics-javascript integration 2024-05-20 13:50:57 -05:00
John Alanbrook 4e4667db50 removed unnecessary physics code 2024-05-17 12:39:04 -05:00
John Alanbrook ba2409fc56 2d physics to javascript 2024-05-17 04:23:03 -05:00
John Alanbrook ee72949029 move window ideas to javascript 2024-05-16 14:50:18 -05:00
John Alanbrook 18c5bc6a56 Add mum rendering camera 2024-05-16 08:21:13 -05:00
John Alanbrook f4ee9d8228 Shader upade works on windows 2024-05-15 16:34:03 -05:00
John Alanbrook cadf10b3a9 Move rendering functions into prosperon 2024-05-15 14:16:05 -05:00
John Alanbrook f1813a046a Fix transform issues 2024-05-15 07:54:19 -05:00
John Alanbrook f8db84538f Correct metal rendering 2024-05-14 15:22:24 -05:00
John Alanbrook 3b3e58cf39 Split up end pass and commit 2024-05-13 14:07:00 -05:00
John Alanbrook 2a1ea67cec Merge transforms into single type 2024-05-12 18:36:14 -05:00
John Alanbrook 36505ebf51 Particles now work with ssbos 2024-05-10 07:55:53 -05:00
John Alanbrook 011d1d99d5 Update sokol gfx 2024-05-09 21:15:19 -05:00
John Alanbrook d43d9d8fe3 Move buffer binding assignment to javascript 2024-05-09 20:37:11 -05:00
John Alanbrook 22c38fe481 Unify pipeline generation 2024-05-08 11:07:19 -05:00
John Alanbrook 0125019b4d Split handmademath into header and source 2024-05-06 23:24:21 -05:00
John Alanbrook 44b3bf3a7d Move primitive support to javascript 2024-05-06 21:59:22 -05:00
John Alanbrook 97e258ae7c Dynamic on load text shaders 2024-05-03 16:26:40 -05:00
John Alanbrook 79e4772f93 Separate entity from rigidbody 2024-05-02 17:13:09 -05:00
John Alanbrook e86e126894 Sprite, transform, render overhaul 2024-05-02 13:52:28 -05:00
John Alanbrook 41eadce13e Set uniform data from javascript 2024-04-30 10:32:27 -05:00
John Alanbrook 71fda604ee render 2024-04-28 13:33:37 -05:00
John Alanbrook 0052a89c41 3d skeletal animation 2024-04-26 16:04:31 -05:00
John Alanbrook 5af7d0a2e0 fix normals and uv on 3d models 2024-04-23 18:12:45 -05:00
John Alanbrook 8e337db1e5 Sprite rendered quad 2024-04-23 15:58:08 -05:00
John Alanbrook 9d93f603f0 Sprite rendered in javascript initial 2024-04-21 10:05:18 -05:00
John Alanbrook 0c2d344259 Basic 3d 2024-04-20 12:55:20 -05:00
John Alanbrook 17d89f6314 Fix makefile; smaller wasm; generalize widgets 2024-04-18 17:34:56 -05:00
John Alanbrook 5bb7ea32bf Add scripting for rendering colors 2024-04-17 11:51:29 -05:00
John Alanbrook 3b3cb14421 Add asynchronous web game loading and simple pack 2024-04-17 11:51:29 -05:00
John Alanbrook e6ec506512 Fix web build 2024-04-17 11:51:29 -05:00
John Alanbrook a7d4dd1406 figuring out web 2024-04-17 11:51:28 -05:00
John Alanbrook 127569ee03 Fix json animation for single animation 2024-04-16 12:36:26 -05:00
John Alanbrook c368b81216 Fix crash on exit 2024-04-16 07:48:34 -05:00
John Alanbrook fab05573d9 remove steam 2024-04-15 15:02:57 -05:00
John Alanbrook 9d75b38098 Modifications for web build 2024-04-15 07:58:23 -05:00
John Alanbrook 7e04937c8b ld55 fixes 2024-04-14 14:53:41 -05:00
John Alanbrook c05cb3c6d2 Change physics collisions and masks 2024-04-12 13:53:00 -05:00
John Alanbrook 17ad44e5a5 Physics fixes; editor fixes 2024-04-11 17:17:49 -05:00
John Alanbrook 0b4231c0b6 Add ur chaining 2024-04-11 07:38:28 -05:00
John Alanbrook 33ac36ae5c Fix render bug 2024-04-10 16:21:46 -05:00
John Alanbrook 941106ced5 fonts managed by javascript 2024-04-09 16:48:15 -05:00
John Alanbrook 5051d11005 Fix scaling and rotating controls 2024-04-09 08:01:54 -05:00
John Alanbrook 53f2addeec Init undefined variables in function definitions 2024-04-07 13:16:54 -05:00
John Alanbrook 33d450189c Physics callbacks called without registering 2024-04-06 19:41:14 -05:00
John Alanbrook 9106ebcc48 Fixed sound effects; fix invisible chars 2024-04-05 23:03:10 -05:00
John Alanbrook 403771d7f8 many fixes to editor 2024-04-04 17:28:11 -05:00
John Alanbrook 32268fc25d editor fix 2024-04-03 17:17:32 -05:00
John Alanbrook ccdcfafdf2 Reduce exports from input.js 2024-04-03 08:37:29 -05:00
John Alanbrook 033b7c5109 Add guid; tags; physics point checking 2024-04-03 00:44:08 -05:00
John Alanbrook 3f73a808d8 Fix animations from not deleting gameobjects 2024-04-02 07:41:46 -05:00
John Alanbrook 32333c32ad make more like misty 2024-04-01 17:58:29 -05:00
John Alanbrook 3b9a932c85 Add back in ai and tween, and fix 2024-04-01 08:13:57 -05:00
John Alanbrook 59ad64bbba Replace tinycdb with miniz; remove unnecessary files; use sokol_main 2024-03-28 17:40:14 -05:00
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