Commit Graph

639 Commits

Author SHA1 Message Date
cha0s
8360da72cb feat: merge and mergeDiff 2019-05-17 04:31:37 -05:00
cha0s
009e69ffd6 feat: loaded entities for list 2019-05-16 23:01:57 -05:00
cha0s
85f52d5c57 chore: dead code 2019-05-16 22:23:55 -05:00
cha0s
e90e346d5e feat: implement base JSON 2019-05-16 21:53:49 -05:00
cha0s
2a0fa9ebc5 fix: handle async tileset image loading 2019-05-16 19:50:49 -05:00
cha0s
ab4fd16b37 refactor: inline fromJSON for resources 2019-05-16 19:42:35 -05:00
cha0s
ad317f1cd6 refactor: get rid of fromJSON promise return 2019-05-16 19:42:03 -05:00
cha0s
e97aef03d1 fix: removing nonexistent events is ok 2019-05-16 19:30:51 -05:00
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
877541f6ce perf: always hint binary 2019-05-16 15:19:42 -05:00
cha0s
de2c7a28b4 feat: BundlePacket 2019-05-16 00:56:54 -05:00
cha0s
cc492b2a32 feat: SMA 2019-05-16 00:51:26 -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
60df5d61df chore: dead code 2019-05-14 03:42:37 -05:00
cha0s
f3273648b6 perf: flatten pfu 2019-05-14 03:42:26 -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
2ccd527884 chore: naming 2019-05-10 02:33:03 -05:00
cha0s
e90755fc01 fix: no dirty marks on client 2019-05-10 02:29:55 -05:00
cha0s
cec3769802 refactor: no emitter frequency update for now 2019-05-09 19:49:44 -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
c937aae5ef perf: tickSynchronized to skip most trait tickers 2019-05-08 21:28:47 -05:00
cha0s
14a252db3a perf: skip state mutation if possible 2019-05-08 21:17:00 -05:00
cha0s
7731dca9e7 perf: flat visibleAabb 2019-05-08 18:10:50 -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
4bece84a47 perf: flat tickers 2019-05-05 20:04:50 -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
dc3eeb4e7d fix: stepTimeInMs is constant 2019-05-04 13:15:34 -05:00
cha0s
57d6b78dde perf: tiny opt 2019-05-04 13:06:33 -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
28b1312f40 perf: flatten entities inline 2019-05-04 11:39:03 -05:00
cha0s
7b292070e1 perf: use raw iterator 2019-05-03 23:50:31 -05:00
cha0s
e3a76de12b chore: tidy 2019-05-03 23:48:51 -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
9317c69c57 fix: always step physics in constant time 2019-05-03 08:48:45 -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
0710ff875d fix: only tick emitter on client and wait to remove tick handler until after destroy finishes 2019-05-03 01:22:15 -05:00
cha0s
1f065d58e3 fix: properly namespace vector mixin change bypass 2019-05-03 01:21:50 -05:00
cha0s
3e2e85faf3 chore: remove event listeners on shape destroy 2019-05-03 01:21:35 -05:00
cha0s
093b7d7572 chore: dead code 2019-05-03 01:20:14 -05:00
cha0s
8a34bf2db8 fix: apply visible scale to container 2019-05-02 23:32:56 -05:00
cha0s
ed33d9c90d perf: remove extraneous check 2019-05-02 22:18:30 -05:00
cha0s
0f1bf3df59 fix: don't do work in renderTicker 2019-05-02 22:17:41 -05:00
cha0s
123c546c39 chore: dead code 2019-05-02 22:17:33 -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
8f22306f0a perf: no spread 2019-05-02 21:15:22 -05:00
cha0s
eb6bd48bd4 fix: slow path 2019-05-02 21:15:13 -05:00
cha0s
6b9a38c3c1 perf: no spread 2019-05-02 21:09:08 -05:00
cha0s
40ff470e74 fix: no emitters on server 2019-05-02 21:07:43 -05:00
cha0s
dfb0d94bc2 refactor: fastApply for step invoke 2019-05-02 20:55:29 -05:00
cha0s
be5fdb1d82 feat: core.fastApply 2019-05-02 20:55:14 -05:00
cha0s
2be6729f20 perf: no iterator 2019-05-02 20:21:25 -05:00
cha0s
a00287c021 refactor: check keys before access 2019-05-02 20:21:02 -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
7ccb89226c flow: perf 2019-05-02 08:39:52 -05:00
cha0s
b8fb92f961 chore: microopt 2019-05-02 03:38:45 -05:00
cha0s
5e12fab096 flow: optimizations 2019-05-01 21:35:38 -05:00
cha0s
d6d18dbd24 perf: only use entity position once 2019-05-01 20:16: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
0e5c54293b perf: opts 2019-05-01 20:03:36 -05:00
cha0s
353d1aec5d perf: optimization & simplification 2019-05-01 20:03:26 -05:00
cha0s
ad7b03ee35 perf: isCollidingWith to array 2019-05-01 17:34:24 -05:00
cha0s
3bf8dd44cc fix: only traversal needs to be dependent of firstSymbol 2019-04-30 20:45:54 -05:00
cha0s
b2d588f4e7 fix: not sure why I removed this 2019-04-30 18:34:13 -05:00
cha0s
14f01f4ebe fix: dedup isCollidingWith 2019-04-30 18:22:02 -05:00
cha0s
3d18d010f2 chore: actually clean out events/namespaces 2019-04-30 18:21:19 -05:00
cha0s
f26c9f7fd3 fix: major memory leak 2019-04-30 18:21:06 -05:00
cha0s
4c77b2ac29 chore: dead code 2019-04-30 17:20:46 -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
c781fcd24e tweak: lil less bloom 2019-04-29 11:01:38 -05:00