Commit Graph

797 Commits

Author SHA1 Message Date
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
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
cha0s
69e473275a chore: naming 2019-04-29 01:00:11 -05:00
cha0s
015239230e chore: tweak blom 2019-04-29 00:41:32 -05:00
cha0s
b86bd93db1 refactor: byebye mixins package 2019-04-28 23:45:03 -05:00
cha0s
7fc3935f05 feat: decouple input normalization from action registry 2019-04-28 23:30:56 -05:00
cha0s
ebf3d2dc28 fix: sturdy walls 2019-04-28 22:43:24 -05:00
cha0s
e13c8dfc66 feat: entity packets 2019-04-28 22:33:41 -05:00
cha0s
64f66937b3 feat: allEntities 2019-04-28 22:33:20 -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
f550be1529 refactor: Resource properties 2019-04-28 08:29:01 -05:00
cha0s
6e5d5384e1 opt: only sort container when necessary 2019-04-28 07:31:44 -05:00
cha0s
ca28e52231 fix: off doesn't exist on socket 2019-04-28 07:27:33 -05:00
cha0s
6c143e38af fix: bigger room bounds 2019-04-26 00:24:13 -05:00
cha0s
2312da2bc5 chore: structure 2019-04-25 23:11:05 -05:00
cha0s
c4ad740406 fix: emitter throttling 2019-04-25 19:19:38 -05:00
cha0s
8d2a323d90 fix: reify server packets 2019-04-25 03:43:13 -05:00
cha0s
4c8ed08099 perf: slow emitter tick 2019-04-25 02:28:54 -05:00
cha0s
810e449012 refactor: bigger pool 2019-04-25 02:17:24 -05:00
cha0s
da446e17d2 refactor: renderTick sense 2019-04-25 02:01:35 -05:00
cha0s
a5c3b4190e feat: BehaviorItem::clone 2019-04-25 00:48:53 -05:00
cha0s
080fbb0f34 feat: socket-worker 2019-04-25 00:09:03 -05:00
cha0s
655cfce7f9 fix: Make sure we actually have a buffer buffer 2019-04-25 00:02:30 -05:00
cha0s
79d358b3ee refactor: net 2019-04-24 18:01:17 -05:00
cha0s
0eaa32f0d7 fix: pass down vector emitter 2019-04-24 16:57:54 -05:00
cha0s
488b62027c feat: x/y change events 2019-04-24 16:57:31 -05:00
cha0s
dd6d045bf0 refactor: all for nothing, web anims suck 2019-04-24 03:27:19 -05:00
cha0s
177b719ef4 optimize: fastest possible precalc web animation? 2019-04-24 02:45:08 -05:00
cha0s
950c598c5a fix: only resolve once per selector query 2019-04-24 02:44:35 -05:00
cha0s
4564aec67f fix: Go away PIXI tick 2019-04-24 02:43:34 -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
7e42d5392c refactor: Web Animations for TextNodeRenderer 2019-04-23 03:24:40 -05:00
cha0s
b750ffd0ff performance: save work on client 2019-04-23 03:24:16 -05:00
cha0s
19eceb06a6 refactor: track realOffset 2019-04-23 03:23:59 -05:00
cha0s
e5966c501c fix: guards 2019-04-23 03:22:04 -05:00
cha0s
bd82361a75 fix: overflow hidden for stage 2019-04-23 03:21:53 -05:00
cha0s
5e0655306b refactor: let actions finish sync 2019-04-23 00:30:44 -05:00
cha0s
6dea82390c chore: use unmini proton 2019-04-23 00:22:50 -05:00
cha0s
063688b5a6 refactor: visible bounding box on server only 2019-04-22 21:07:30 -05:00