Commit Graph

271 Commits

Author SHA1 Message Date
cha0s
2fc0b35eee perf: only send a numeric ID over the wire 2019-05-16 17:44:45 -05:00
cha0s
769338a946 fix: don't create entities if they already exist 2019-05-16 15:46:49 -05:00
cha0s
2747542932 fix: destroy guard 2019-05-16 15:19:57 -05:00
cha0s
f962832c18 refactor: alive moved to core; destroyGently 2019-05-14 05:58:04 -05:00
cha0s
cbc2401f27 refactor: trait packet helpers 2019-05-14 05:45:22 -05:00
cha0s
d0ae543ae4 fix: physics slop can yield negative position 2019-05-14 05:03:25 -05:00
cha0s
29abc9f540 fix: remove last 2019-05-14 03:41:38 -05:00
cha0s
3631a7f669 refactor: immutablen't 2019-05-13 21:07:51 -05:00
cha0s
e90755fc01 fix: no dirty marks on client 2019-05-10 02:29:55 -05:00
cha0s
414a1eb5a0 fix: no direction set for zero vector 2019-05-09 15:15:51 -05:00
cha0s
f15b23c437 refactor: simplify aabb query 2019-05-09 01:32:49 -05:00
cha0s
3e4f48c517 perf: faster props and auto sync children init 2019-05-08 23:54:30 -05:00
cha0s
14a252db3a perf: skip state mutation if possible 2019-05-08 21:17:00 -05:00
cha0s
eb7fdf4f78 perf: faster dirty entities 2019-05-08 17:51:29 -05:00
cha0s
f2860eed06 perf: static trait accessor keys 2019-05-06 13:55:09 -05:00
cha0s
26402f6c6b perf: fast-path entity creation 2019-05-06 13:01:28 -05:00
cha0s
d289b9c36a perf: much more care around hidden classes 2019-05-06 04:03:43 -05:00
cha0s
fa939ac3fc perf: flat tickers 2019-05-05 20:04:59 -05:00
cha0s
4d18430260 fix: whoops 2019-05-05 17:28:52 -05:00
cha0s
eab27a5c3a perf: remove slice 2019-05-05 17:28:45 -05:00
cha0s
e22394e875 perf: bind entity tickers AOT 2019-05-05 17:11:46 -05:00
cha0s
537cc167f8 fix: explicit types for minification 2019-05-05 04:26:35 -05:00
cha0s
91ffcb890f refactor: raw JS params 2019-05-04 14:06:47 -05:00
cha0s
c148bc2456 fix: physics apply stepTime as impulse 2019-05-04 13:31:16 -05:00
cha0s
40eb5867ee refactor: return flushed instead of callback 2019-05-04 12:42:40 -05:00
cha0s
a66b6889f2 perf: inline entity from JSON 2019-05-04 11:39:23 -05:00
cha0s
f405133b51 chore: tidy 2019-05-03 23:27:23 -05:00
cha0s
2eefd555bf perf: calculate synchronized children ahead of time 2019-05-03 23:12:50 -05:00
cha0s
4781c73753 perf: traits only tick/render/accept packets when necessary 2019-05-03 19:54:23 -05:00
cha0s
9f7a37ad2a chore: dead code 2019-05-03 14:53:54 -05:00
cha0s
9909b12c41 perf: list ticking/dirty optimization 2019-05-03 13:26:51 -05:00
cha0s
4db5fb1832 fix: smoother lerp 2019-05-03 08:47:56 -05:00
cha0s
c53a3308ee fix: unloop and avoid null traits from immediate destroy 2019-05-03 08:17:18 -05:00
cha0s
643f2bbf62 fix: release children refs on spawner destroy 2019-05-03 02:24:02 -05:00
cha0s
c1a90b941b chore: clean stuff up 2019-05-03 01:22:26 -05:00
cha0s
f99477c693 chore: format 2019-05-02 21:37:37 -05:00
cha0s
497b4219e4 perf: fastApply 2019-05-02 21:26:32 -05:00
cha0s
dd5a0d7d79 perf: remove slow props 2019-05-02 20:17:57 -05:00
cha0s
53678d106c refactor: after destruction ticker method 2019-05-02 20:17:46 -05:00
cha0s
8c33d58030 fix: remove slow props 2019-05-02 20:12:41 -05:00
cha0s
cfa5f986f7 perf: faster visibleEntities 2019-05-02 20:05:12 -05:00
cha0s
b899a9dc48 refactor: don't juggle types; avoid getter 2019-05-02 20:01:09 -05:00
cha0s
5e12fab096 flow: optimizations 2019-05-01 21:35:38 -05:00
cha0s
548e206bc9 chore: rename visibleBoundingBoxes to visibleAabbs 2019-05-01 20:10:18 -05:00
cha0s
07869e2be9 perf: bitshifts 2019-05-01 20:03:45 -05:00
cha0s
bdf3b313a3 chore: free'ing 2019-04-30 17:11:41 -05:00
cha0s
6143a76e0d chore: bumps 2019-04-29 20:08:14 -05:00
cha0s
b86bd93db1 refactor: byebye mixins package 2019-04-28 23:45:03 -05:00
cha0s
e13c8dfc66 feat: entity packets 2019-04-28 22:33:41 -05:00
cha0s
ee99aaa283 fix: properly handle steps in entity list 2019-04-28 22:30:22 -05:00
cha0s
de57404d59 refactor: nix uuid map; rewrite instanceUuid 2019-04-28 08:57:46 -05:00
cha0s
2312da2bc5 chore: structure 2019-04-25 23:11:05 -05:00
cha0s
da446e17d2 refactor: renderTick sense 2019-04-25 02:01:35 -05:00
cha0s
79d358b3ee refactor: net 2019-04-24 18:01:17 -05:00
cha0s
488b62027c feat: x/y change events 2019-04-24 16:57:31 -05:00
cha0s
0e579686c5 fix: Actually relax 2019-04-23 17:43:09 -05:00
cha0s
5929c0fa4f feat: relax server position constraint 2019-04-23 16:58:36 -05:00
cha0s
8d863634e4 chore: client guard 2019-04-23 16:58:12 -05:00
cha0s
a9035bf8cf feat: renderTick 2019-04-23 16:56:47 -05:00
cha0s
3d9e38aa5f chore: server/client guards 2019-04-23 15:25:03 -05:00
cha0s
b750ffd0ff performance: save work on client 2019-04-23 03:24:16 -05:00
cha0s
86c3a12a9e fix: forceDeath 2019-04-21 21:44:31 -05:00
cha0s
9a3eed1b3b fix: off by one 2019-04-21 14:57:35 -05:00
cha0s
f160f71d7a feat: debuggable 2019-04-21 02:54:07 -05:00
cha0s
658a75bc3e feat: spawner 2019-04-21 01:30:03 -05:00
cha0s
5416b6d0b8 fix: safer entity remove steps 2019-04-20 19:31:39 -05:00
cha0s
2b94edc5f2 feat: hydrate entities in list view 2019-04-20 14:26:12 -05:00
cha0s
a7f1372df1 refactor: debugging usage 2019-04-20 14:13:04 -05:00
cha0s
384424b84c fix: discard updates to already-destroyed entities 2019-04-19 17:57:33 -05:00
cha0s
2d00328ebd feat: existent::transition 2019-04-19 17:10:32 -05:00
cha0s
1b9b4a6876 feat: afterDestructionTickers 2019-04-19 14:46:00 -05:00
cha0s
4118adf674 fix: remove entities from list before full destroy 2019-04-19 14:42:08 -05:00
cha0s
313a09e844 chore: remove DirectionalBase 2019-04-19 12:30:11 -05:00
cha0s
d80a18cc59 refactor: actual dirty state API 2019-04-19 00:58:36 -05:00
cha0s
b1d1841fab fix: entity trait property removal 2019-04-18 20:44:33 -05:00
cha0s
0952ffbd0e perf: cool off visibleEntities 2019-04-16 23:59:08 -05:00
cha0s
981d483349 perf: Track dirty entity state 2019-04-16 23:44:03 -05:00
cha0s
e63766b045 refactor: Synchronized is a mixin 2019-04-16 17:52:56 -05:00
cha0s
81a6ecf5c4 feat: trait state dirty optimization 2019-04-16 17:41:17 -05:00
cha0s
d5e35341dd refactor: byebye TraitProxy 2019-04-16 16:40:20 -05:00
cha0s
570054c610 fix: visibleBoundingBox optimizations 2019-04-16 13:30:15 -05:00
cha0s
c9260a2cca refactor: optimize visibleBoundingBox 2019-04-16 09:26:01 -05:00
cha0s
54470b0627 refactor: the great trait splittening 2019-04-14 20:21:52 -05:00
cha0s
6de939f4dc refactor: new trait source pattern 2019-04-14 20:10:13 -05:00
cha0s
4f366ab39a refactor: Graphical -> Visible 2019-04-14 18:42:13 -05:00
cha0s
459b81f76b fix: graphical may have already died 2019-04-14 16:09:41 -05:00
cha0s
812de824db fix: more robust Physical destroy 2019-04-14 16:07:31 -05:00
cha0s
883837006f fix: if not addedToPhysics on destroy body will be undefined 2019-04-14 16:06:11 -05:00
cha0s
5a8940e922 chore: restructure 2019-04-13 20:53:02 -05:00
cha0s
c2b2196018 feat: EntityListView 2019-04-13 20:48:52 -05:00
cha0s
4963808ad7 refactor: use receiver for most events 2019-04-12 18:58:38 -05:00
cha0s
e16e969170 refactor: StateProperty optimizations 2019-04-12 17:21:43 -05:00
cha0s
c55ac68ed7 refactor Vector.mixin 2019-04-12 16:30:22 -05:00
cha0s
2817300800 refactor: check trait 2019-04-12 15:53:44 -05:00
cha0s
f27e303f5a refactor: take heat off of TraitProxy 2019-04-12 14:14:03 -05:00
cha0s
037e130006 chore: dead code 2019-04-12 14:02:49 -05:00
cha0s
400b2ebb7d refactor: immutable optimizations 2019-04-12 13:18:34 -05:00
cha0s
bf18ae019a refactor: faster list tick and full state flush 2019-04-12 13:12:11 -05:00
cha0s
a4549daef6 refactor: take some heat off entity tick 2019-04-12 13:05:30 -05:00
cha0s
f686ce4b14 refactor: snappier lerp 2019-04-12 12:37:02 -05:00