Commit Graph

797 Commits

Author SHA1 Message Date
cha0s
ddd9b1c8e8 flow: massive sync update 2019-09-29 13:19:57 -05:00
cha0s
dfd2dc2a41 feat: packing 2019-09-23 19:39:01 -05:00
cha0s
c3ec69f4ff chore: bump 2019-09-22 20:02:24 -05:00
cha0s
fe69ceb14b refactor: sync schema 2019-09-22 18:59:59 -05:00
cha0s
21ae93f1cc flow: to synchronized 2019-09-22 18:45:33 -05:00
cha0s
688820786d refactor: rename resource files 2019-09-19 03:19:24 -05:00
cha0s
305f421085 feat: resource registration 2019-09-16 21:52:08 -05:00
cha0s
d5fac99c7b chore: rename 2019-09-16 19:11:03 -05:00
cha0s
85daf1f224 chore: dead code 2019-09-16 19:06:47 -05:00
cha0s
937dca2657 chore: formatting 2019-09-16 19:04:35 -05:00
cha0s
5b1b9442c7 refactor: loadOrInstance -> Resource 2019-09-16 19:04:02 -05:00
cha0s
ea57d21efc chore: formatting 2019-09-16 19:02:02 -05:00
cha0s
52f8d53937 refactor: nicer immediate method 2019-09-08 21:37:42 -05:00
cha0s
b5d49c5786 chore: format 2019-09-08 21:21:57 -05:00
cha0s
a7caf07ec3 feat: Actions tests 2019-09-08 21:19:55 -05:00
cha0s
60bfaf5562 chore: naming 2019-09-08 21:19:46 -05:00
cha0s
ad19a06eb4 refactor: split to make testing more sane 2019-09-08 21:19:37 -05:00
cha0s
d4c67d298e chore: tidy 2019-09-08 19:51:54 -05:00
cha0s
e2ff23d35c chore: naming 2019-09-08 19:34:16 -05:00
cha0s
f6a461d2d5 refactor: simplify flow 2019-09-08 19:31:14 -05:00
cha0s
b591e5b08f refactor: TickingPromise 2019-09-08 19:22:48 -05:00
cha0s
99f62e31e1 fix: sloppy paste 2019-09-08 17:39:38 -05:00
cha0s
54f56763cc fix: return map value 2019-09-08 17:39:30 -05:00
cha0s
788fa6446a chore: simplify 2019-09-08 17:22:31 -05:00
cha0s
6d6a22d527 refactor: simple 2019-09-08 08:29:31 -05:00
cha0s
1af713cfb8 refactor: simply 2019-09-08 08:19:53 -05:00
cha0s
0a3e1848f4 refactor: explicit routine context 2019-09-08 08:18:16 -05:00
cha0s
4f6869863c refactor: ticking promise 2019-09-08 08:12:31 -05:00
cha0s
a856950931 fix: resolved TickingPromises should no longer tick 2019-09-08 07:48:08 -05:00
cha0s
d77fc13592 feat: Collection::createClone 2019-09-08 07:40:07 -05:00
cha0s
3296f3d196 feat: Actions::tickingPromise 2019-09-08 07:39:55 -05:00
cha0s
708c4fe25d feat: TickingPromise.all 2019-09-08 07:39:31 -05:00
cha0s
d9004f0e5a refactor: better context creation API 2019-09-08 06:04:31 -05:00
cha0s
6b124ab183 refactor: TickingPromise is more of a joy 2019-09-08 05:34:17 -05:00
cha0s
e87489f691 refactor: simplify Context consumption 2019-09-08 04:55:39 -05:00
cha0s
96567ad32b refactor: revisit compilation later 2019-09-08 04:18:11 -05:00
cha0s
430f7bf0cd chore: formatting 2019-09-08 04:08:50 -05:00
cha0s
60a091a6d9 refactor: don't extend Map for Context 2019-09-08 04:08:29 -05:00
cha0s
ac9ca7c5a5 refactor: context global separation 2019-09-08 03:44:23 -05:00
cha0s
56e8c10f57 refactor: context math 2019-09-08 03:21:27 -05:00
cha0s
a9c1274aa8 chore: incremental port 2019-09-08 03:20:34 -05:00
cha0s
1f7763e715 fix: spawn list wasn't propagating to wielder 2019-09-08 03:20:15 -05:00
cha0s
a062a3fe51 refactor: remove half baked context typing 2019-09-08 01:15:17 -05:00
cha0s
94c005f0fd feat: Vector::distance 2019-07-23 00:18:59 -05:00
cha0s
7b61569a2f feat: tile entities 2019-06-12 22:22:22 -05:00
cha0s
0984263edb feat: indexAt 2019-06-12 22:15:56 -05:00
cha0s
9e083a26c3 feat: context Rectangle 2019-06-10 02:54:27 -05:00
cha0s
27afb7de81 fix: visibleAabb offsets 2019-06-10 02:53:38 -05:00
cha0s
0e8cb9a924 fix: don't include context in array 2019-06-10 02:47:28 -05:00
cha0s
0c36f7a325 feat: conditional 2019-06-08 00:23:57 -05:00
cha0s
7d4ab97fa0 feat: visibleEntitiesWithUri 2019-06-08 00:23:51 -05:00
cha0s
9239d5b2e6 Actions::serial 2019-06-07 00:14:16 -05:00
cha0s
1bd7bc41a3 fix: don't tick resolved TickingPromises 2019-06-07 00:14:06 -05:00
cha0s
6ea200f708 Collider::isColliding 2019-06-06 00:20:51 -05:00
cha0s
7b7b688d81 feat: Actions::parallel 2019-06-06 00:09:51 -05:00
cha0s
8803402f43 refactor: moveFor takes vector 2019-06-05 23:11:59 -05:00
cha0s
e0cdf94df5 refactor: don't early out client/server 2019-06-05 21:19:16 -05:00
cha0s
63fdbab66a feat: more dynamic collision semantics 2019-06-05 20:20:02 -05:00
cha0s
226a71f065 feat: visible state packet 2019-06-05 20:19:12 -05:00
cha0s
d353648f51 fix: ensure there are queued packets 2019-06-05 20:18:58 -05:00
cha0s
8916544193 fix: ACTUALLY visible entities :) 2019-06-05 20:18:30 -05:00
cha0s
38a907d9bb fix: don't double-add entities 2019-06-05 20:16:51 -05:00
cha0s
3197525f03 fix: return spawn 2019-06-05 20:16:34 -05:00
cha0s
8aa6631b03 flow: track current routine, isBehaving property, only behave on server 2019-06-05 20:12:45 -05:00
cha0s
da941e0e39 feat: Context::destroy 2019-06-05 20:12:21 -05:00
cha0s
e690967cb8 refactor: transparently resolve traversal invocation arg promises 2019-06-05 20:12:07 -05:00
cha0s
c69909b80a refactor: movement API 2019-06-01 13:11:45 -05:00
cha0s
f84e2331c8 flow: spawnAt, fixed JSON merging, use wielder list if necessary, prevent spawn race condition 2019-05-30 09:11:17 -05:00
cha0s
12da5540a2 feat: Vector for behavior context 2019-05-30 09:10:23 -05:00
cha0s
1d8c3b7506 feat: global.makeArray 2019-05-30 09:10:13 -05:00
cha0s
8dfb6a7849 feat: tileAt delegator 2019-05-28 16:51:16 -05:00
cha0s
571b498658 feat: contains condition op 2019-05-28 16:51:05 -05:00
cha0s
121f783d7e feat: allow conditions in buildValue 2019-05-28 16:50:56 -05:00
cha0s
de88478016 fix: properly handle non ticking promises and errors 2019-05-27 21:51:39 -05:00
cha0s
3503f0fd01 feat: tile packet updates 2019-05-27 21:51:21 -05:00
cha0s
565bcc9300 refactor: (setT|t)ileAt uses vector position 2019-05-27 18:13:09 -05:00
cha0s
6aec1875f7 feat: tile calcs to layered 2019-05-27 16:55:02 -05:00
cha0s
005cb837ad feat: directionalProjection 2019-05-27 16:54:43 -05:00
cha0s
67be4a9a29 chore: format 2019-05-27 16:54:35 -05:00
cha0s
e90ce0ecca fix: (setInto|removeFrom)(Layer|List|Room) 2019-05-27 07:24:42 -05:00
cha0s
fb781dc955 fix: off-by-one 2019-05-26 15:01:11 -05:00
cha0s
b336a33727 fix: release collisions on leaving room 2019-05-26 12:28:41 -05:00
cha0s
0f61faabb4 fix: add/remove from list and room 2019-05-26 12:03:24 -05:00
cha0s
24f944d762 fun: moveFor shouldn't set direction 2019-05-26 12:01:58 -05:00
cha0s
372f0b9a3b fix: keep previous node ref to make method calls 2019-05-26 12:01:33 -05:00
cha0s
4566bafae5 feat: wheel 2019-05-23 05:38:54 -05:00
cha0s
f3395d0e54 feat: wheel 2019-05-23 05:38:46 -05:00
cha0s
f3a82e9385 refactor: forward key events 2019-05-23 04:56:37 -05:00
cha0s
5df58532dc refactor: use input normalizer 2019-05-23 04:52:27 -05:00
cha0s
4f060857cf feat: normalize pointer input 2019-05-23 04:52:20 -05:00
cha0s
e8fb18c05e refactor: persistent hydration state 2019-05-22 06:25:15 -05:00
cha0s
ed5d70bfec fix: path doesn't work well on client 2019-05-22 05:24:08 -05:00
cha0s
f14493b61b fix: context clear doesn't clear defaults 2019-05-22 05:23:59 -05:00
cha0s
5002d9b107 feat: ResourceRegistry 2019-05-21 21:08:06 -05:00
cha0s
92c23424a3 feat: addChildren 2019-05-21 03:09:06 -05:00
cha0s
645286ed57 refactor: Room is a resource 2019-05-21 03:08:57 -05:00
cha0s
fcea0236ad feat: sub 2019-05-21 03:08:43 -05:00
cha0s
68d27ae5ba chore: bump 2019-05-17 06:15:36 -05:00
cha0s
0a6677055c refactor: inline room.fromJSON 2019-05-17 05:55:01 -05:00
cha0s
8d67f220c9 perf: faster entity.room 2019-05-17 05:47:40 -05:00
cha0s
ba34ef6e01 feat: only send mergeDiff for EntityCreatePacket 2019-05-17 05:37:29 -05:00
cha0s
f6bbc7f6c3 fix: mergeDiff must default to full json with no uri 2019-05-17 05:34:32 -05:00
cha0s
6fb012090e chore: remove all references to @avocado/mixins 2019-05-17 04:35:23 -05:00
cha0s
a6536d7fb5 refactor: use jsonext for new Entity 2019-05-17 04:35:10 -05:00
cha0s
49fe7e436b refactor: core merge 2019-05-17 04:34:40 -05:00
cha0s
b591352d95 feat: Entity::mergeDiff 2019-05-17 04:33:52 -05:00
cha0s
efb5c75f98 feat: Trait.defaultJSON 2019-05-17 04:33:30 -05:00
cha0s
f1eb174088 refactor: core merge 2019-05-17 04:33:16 -05:00
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