Commit Graph

694 Commits

Author SHA1 Message Date
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
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