Commit Graph

136 Commits

Author SHA1 Message Date
fc3c67b445 tiles in progress 2025-04-24 13:21:36 -05:00
0b92a1e8a4 cmd_kind. fix aabb draw 2025-03-01 09:39:00 -06:00
d0bfbfeb2d master snapshot blending 2025-02-28 15:27:02 -06:00
7e7e6a8f87 debug follow 2025-02-27 18:07:49 -06:00
55a4b904e0 fix publish client ents losing sync props 2025-02-27 12:44:36 -06:00
6955da8fd1 prediction progress 2025-02-26 13:24:48 -06:00
153290d57e bitbuff dbg markers, rough arg parsing 2025-02-26 11:36:34 -06:00
a6d103f391 rename all 'buckets' -> 'bins' 2025-02-25 12:03:13 -06:00
a8246541e9 encode sim id buckets for now 2025-02-24 14:21:23 -06:00
4d419da97b gstat 2025-02-23 03:23:17 -06:00
1dc1c42678 prediction progress 2025-02-22 23:20:42 -06:00
ba12d5677a prediction progress 2025-02-22 16:07:55 -06:00
d05ecbabb9 prediction progress 2025-02-21 19:46:04 -06:00
4d8819d3ee prediction progress 2025-02-21 18:07:17 -06:00
cb05b707f0 store publish dt in snapshot 2025-02-19 13:49:07 -06:00
a5bbdffbe3 better render time determination 2025-02-19 13:33:54 -06:00
8e5b2bd773 sim ctx decoupling progress 2025-02-19 08:22:04 -06:00
253104b2ce sim ctx decoupling progress 2025-02-18 11:14:41 -06:00
be5d10e2b0 replace byteio with bitbuff 2025-02-13 17:15:23 -06:00
46c7414f71 more timing debug info 2025-02-11 08:22:34 -06:00
65211946e0 decrease rendering latency by incrementing smooth time by initial guess 2025-02-10 16:08:35 -06:00
f04a81fbb0 re-add lerping via snapshot interpolation 2025-02-10 15:22:19 -06:00
ed66382fd6 migrate sim global state to ctx structure 2025-02-08 12:00:27 -06:00
4cbc6b6d59 rename 'game' -> 'sim' 2025-02-08 09:45:32 -06:00
a78c5e1a47 networking progress 2025-02-08 07:06:56 -06:00
eea9c978c9 set aim joint correction rate dynamically based on dt 2025-01-30 11:05:38 -06:00
0836eec851 broad phase for colliders via aabb spatial hash 2025-01-27 19:42:17 -06:00
ab6761b733 formatting 2025-01-20 14:26:12 -06:00
d78adcb9c9 copy random noise resource to memory on startup 2025-01-17 10:14:21 -06:00
ad7ca7d68c pre-generate rand.dat file for deterministic noise. calculate shake based on world time 2025-01-15 14:32:36 -06:00
25592d24d3 rework collider clipping logic 2025-01-13 15:58:30 -06:00
a1b8f752c9 working on capsule collision bug 2025-01-13 11:58:32 -06:00
37f10d76dd working tracers 2025-01-12 18:23:01 -06:00
5026a967ff config option to disable detailed collision debug 2025-01-12 15:36:44 -06:00
02290601c3 cleanup collision debug leak & merge structure with contact lookup into entity lookup 2025-01-06 17:09:39 -06:00
dd4b05cbd1 time of impact seemingly working 2025-01-06 12:20:06 -06:00
33df739cc6 create separate entities for visualizing collision debug info 2025-01-03 17:24:34 -06:00
152656fbc5 create ground friction joint dynamically 2024-11-18 13:12:10 -06:00
c071e17305 fix clip winding swap 2024-10-30 13:58:11 -05:00
161e615aa7 specify control torque in turns / second 2024-10-28 15:58:00 -05:00
5dde85a04a motor joint warm starting 2024-10-28 15:12:23 -05:00
4e920e071d motor joint 2024-10-28 14:33:26 -05:00
7708b8e5b8 rework transformation math functions, add separate 'world' transform functions 2024-10-22 15:16:34 -05:00
ed8b03941e use v2_winding when clipping 2024-10-22 11:15:52 -05:00
55fc39fddd minor tweaking 2024-10-15 17:47:57 -05:00
6951fa62e3 popping probably fixed 2024-10-11 14:32:01 -05:00
31082916ad unevenly-scaled shape collisions working 2024-10-10 16:43:31 -05:00
daf1a862f5 more physics config defines 2024-10-10 13:52:57 -05:00
59361a60af divide warm start impulse by num contacts 2024-10-10 13:13:37 -05:00
d52effe5c1 wip collider shapes 2024-10-08 12:15:11 -05:00
71e3d9f05f fix gjk causing unstable collisions between flat diagonals 2024-10-05 01:03:07 -05:00
1dde27d31b fix wild collisions at low precision 2024-10-05 00:09:50 -05:00
aac6acd18f apparent stability for now 2024-10-04 20:15:44 -05:00
3c275dfc9a warm starting testing 2024-10-02 16:13:38 -05:00
2758bdc394 friction testing 2024-10-02 14:17:48 -05:00
acbd97aa84 tweaking 2024-09-26 17:21:51 -05:00
3b21f641ad calculate contact ponits outside of substeps by storing local positions 2024-09-25 19:36:28 -05:00
ef7ba9e77d commit config.h 2024-09-25 17:02:20 -05:00
45c6d94009 more bullet testing 2024-08-13 16:34:31 -05:00
81d02f3c80 debug pausing 2024-08-12 18:50:10 -05:00
fd3ab6146b calculate sprite xform from pivot in game thread 2024-07-31 18:20:31 -05:00
3061d465d1 minor tweaks & fixes 2024-06-25 18:35:53 -05:00
00629aa988 merge texture & sheet into 'sprite' 2024-05-01 15:50:50 -05:00
cf3d678699 texture cache w/ eviction & reloading 2024-05-01 00:22:06 -05:00
5a32c90813 sheet eviction & reload detection 2024-04-29 18:59:32 -05:00
62493e8e69 remove font test bits, just use 256 characters for codepoint caching 2024-04-15 12:56:47 -05:00
9a8f86d42b more font testing 2024-04-11 12:39:29 -05:00
db9550a356 font testing 2024-04-10 17:22:50 -05:00
103a87281c top-level scratch arena safety check 2024-04-06 20:18:55 -05:00
773a221b44 more unified tls model. testing json parsing & unicode display. 2024-04-05 18:02:17 -05:00
4978ec6633 minor cleanup 2024-04-03 02:48:43 -05:00
81c4b10def minor cleanup 2024-03-28 08:51:06 -05:00
cdb0d2bf58 minor tweaks 2024-03-28 08:44:27 -05:00
0a1761627b camera debug drawing and less direct rel xform application 2024-03-20 13:36:57 -05:00
c6ca5c0c9a viewport scaling by camera size 2024-03-19 21:17:49 -05:00
e3ffcaa2a1 render to aspect-ratio-locked viewport 2024-03-18 00:54:00 -05:00
4a68e0c6c7 begin aspect ratio work 2024-03-15 23:16:54 -05:00
8b5b32ba76 add args to cursor clip set, stop rounding screen size to even number 2024-03-15 17:35:42 -05:00
744a6f8d65 use cursor position as aim direction 2024-03-15 16:52:40 -05:00
fa6df3152c add interp enable def in config 2024-03-14 14:00:25 -05:00
181f8258fe keep mouse in window instead of setting cursor pos to center 2024-03-13 22:26:28 -05:00
bdd8db60c3 player focus dir relative to player. raw mouse input. crosshair. 2024-03-13 21:44:25 -05:00
bac001947b interp tick ratio rather than time offset. set world tick timestamp at beginning of frame 2024-03-13 14:00:56 -05:00
8f33957bf9 use a blend time for interpolation 2024-03-13 13:15:20 -05:00
adce14bbf3 rework tick -> world, move related logic from game into world api 2024-03-08 19:56:34 -06:00
8284923173 initial commit 2024-02-29 16:01:51 -06:00