Commit Graph

694 Commits

Author SHA1 Message Date
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
cha0s
40f690e4a1 fix: actually remove all old elements 2019-04-22 14:36:39 -05:00
cha0s
319822d93d fix: clear free list on element update 2019-04-22 14:06:12 -05:00
cha0s
54c1009d24 feat: proper sound pooling 2019-04-21 23:06:58 -05:00
cha0s
0ee3da9e63 refactor: naming 2019-04-21 22:03:53 -05:00
cha0s
f9a7db6f95 feat: animation jitter 2019-04-21 21:54:41 -05:00
cha0s
86c3a12a9e fix: forceDeath 2019-04-21 21:44:31 -05:00
cha0s
8c1e8d8c1a fix: body guards 2019-04-21 21:43:19 -05:00
cha0s
e479128901 fix: invoke default to empty args 2019-04-21 21:36:14 -05:00
cha0s
39bd4f472a feat: buildCondition 2019-04-21 21:33:01 -05:00
cha0s
ce6d2a69ee feat: buildValue 2019-04-21 21:22:56 -05:00
cha0s
a034521ec0 feat: behavior builders 2019-04-21 21:13:39 -05:00
cha0s
f08dfff296 optimize: reuse night filter 2019-04-21 20:37:29 -05:00
cha0s
fe5f73e9a1 fix: lil more precision 2019-04-21 20:37:01 -05:00
cha0s
bc13e48fc7 optimize: particle update 2019-04-21 19:24:45 -05:00
cha0s
b16281f399 chore: optimizations 2019-04-21 14:58:11 -05:00
cha0s
9a3eed1b3b fix: off by one 2019-04-21 14:57:35 -05:00
cha0s
8196e888fb fix: betta bloom 2019-04-21 13:14:46 -05:00
cha0s
81ce862e24 feat: filters 2019-04-21 05:07:15 -05:00
cha0s
ba9b4e6b2c refactor: store layersView 2019-04-21 05:06:47 -05:00
cha0s
e11dc0de35 feat: isAnimating state 2019-04-21 03:43:00 -05:00
cha0s
f160f71d7a feat: debuggable 2019-04-21 02:54:07 -05:00
cha0s
b59901012a refactor: context.context(.context...) 2019-04-21 01:30:53 -05:00
cha0s
a97494a1f7 feat: globals.multiply 2019-04-21 01:30:32 -05:00
cha0s
658a75bc3e feat: spawner 2019-04-21 01:30:03 -05:00
cha0s
c46109272a refactor: new stage UI node finder 2019-04-20 21:35:07 -05:00
cha0s
652e96db4b refactor: open takes server not ctor 2019-04-20 21:34:49 -05:00
cha0s
1fe654af60 feat: new API 2019-04-20 21:33:24 -05:00
cha0s
33cf967647 feat: server refresh 2019-04-20 19:31:53 -05:00
cha0s
5416b6d0b8 fix: safer entity remove steps 2019-04-20 19:31:39 -05:00
cha0s
51a692cabf refactor: more robust reconnection logic 2019-04-20 19:30:17 -05:00
cha0s
de8d19f058 fix: actually include the package... 2019-04-20 16:03:25 -05:00
cha0s
27de793a48 feat: emitter! 2019-04-20 16:03:11 -05:00
cha0s
707fa2ec4d refactor: actionsFinished emit async 2019-04-20 16:02:52 -05:00
cha0s
2694e79240 feat: audible! 2019-04-20 16:02:41 -05:00
cha0s
2b94edc5f2 feat: hydrate entities in list view 2019-04-20 14:26:12 -05:00
cha0s
c6023edef7 refactor: manual reconnect 2019-04-20 14:13:15 -05:00
cha0s
a7f1372df1 refactor: debugging usage 2019-04-20 14:13:04 -05:00
cha0s
3905bd5f09 feat: use avo EE & disconnect API 2019-04-20 14:12:45 -05:00
cha0s
092079625f refactor: scaling 2019-04-20 02:15:04 -05:00
cha0s
7825e647b0 feat: handle null and undefined 2019-04-20 01:55:16 -05:00
cha0s
7226ca8979 refactor: forego namespace 2019-04-20 01:54:31 -05:00
cha0s
0fdff9b33c fix: QuadTree nodes can be a list 2019-04-20 01:02:47 -05:00
cha0s
97c3bb8c5a chore: semis 2019-04-19 23:12:22 -05:00
cha0s
7394f9b317 chore: simple 2019-04-19 23:12:04 -05:00
cha0s
b3fe5b423e fix: correct ctor 2019-04-19 23:11:57 -05:00
cha0s
a03014e968 refactor: setStateful, updateState 2019-04-19 22:29:28 -05:00
cha0s
8397c9ab5e feat: Stage::focus 2019-04-19 22:29:05 -05:00
cha0s
5b6e399c30 refactor: stage ctor 2019-04-19 19:58:39 -05:00
cha0s
eaf031257e fix: container guards 2019-04-19 19:48:35 -05:00
cha0s
0f244f13d8 feat: visible zIndex 2019-04-19 19:39:14 -05:00
cha0s
384424b84c fix: discard updates to already-destroyed entities 2019-04-19 17:57:33 -05:00
cha0s
e56cad0ad1 feat: remove from physics when dying 2019-04-19 17:57:20 -05:00
cha0s
6414f2db27 fix: method 2019-04-19 17:44:03 -05:00
cha0s
c84ae4b62f fix: no clipping please 2019-04-19 17:23:14 -05:00
cha0s
e7cc21e5d5 feat: opacity and container guards 2019-04-19 17:23:01 -05:00
cha0s
2d00328ebd feat: existent::transition 2019-04-19 17:10:32 -05:00
cha0s
d658dc45ed fix: top level decorate 2019-04-19 17:10:00 -05:00
cha0s
cf7487a104 fix: visible scale 2019-04-19 17:09:48 -05:00
cha0s
36e5fbbb85 feat: visible scaling 2019-04-19 16:49:41 -05:00
cha0s
ca21ad7378 refactor: sprite default anchor to middle 2019-04-19 16:32:17 -05:00
cha0s
a04dea6d95 refactor: simplify position using anchor 2019-04-19 16:25:08 -05:00
cha0s
64b3022c44 feat: anchor/origin 2019-04-19 16:23:26 -05:00
cha0s
a723065a92 feat: isAnimating 2019-04-19 15:51:57 -05:00
cha0s
a1eb00b649 refactor: internal isBehaving 2019-04-19 15:51:50 -05:00
cha0s
6c5b2b341e refactor: emit actionsFinished for 0-length actions 2019-04-19 15:39:53 -05:00
cha0s
a24a00122d fix: twisted behavior item json logic 2019-04-19 15:39:39 -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
a5e83f7325 feat: first-class booleans 2019-04-19 14:04:07 -05:00
cha0s
313a09e844 chore: remove DirectionalBase 2019-04-19 12:30:11 -05:00
cha0s
f9e9ac362c refactor: collider tracks collisions 2019-04-19 12:06:56 -05:00
cha0s
b9e3f76750 feat: z distance scaling for text node 2019-04-19 03:12:30 -05:00
cha0s
d5a9fb1fd8 feat: physics sensor 2019-04-19 02:52:39 -05:00
cha0s
0dd423944f fix: stubs 2019-04-19 01:33:17 -05:00
cha0s
70132c838a fix: typo 2019-04-19 01:33:01 -05:00
cha0s
d80a18cc59 refactor: actual dirty state API 2019-04-19 00:58:36 -05:00
cha0s
46909b2e83 feat: Proton! 2019-04-19 00:50:15 -05:00
cha0s
77af345889 feat: API for three.js bridge 2019-04-19 00:49:46 -05:00
cha0s
8e22e43f95 feat: staged 2019-04-19 00:23:04 -05:00
cha0s
14d626d924 refactor: stage tick during render 2019-04-19 00:21:24 -05:00
cha0s
cd42e88568 feat: staged trait 2019-04-19 00:12:36 -05:00
cha0s
7def4aba24 feat: promise for stage ui rendered 2019-04-18 23:58:26 -05:00
cha0s
f7f07bac8c feat: stage camera 2019-04-18 22:08:47 -05:00
cha0s
5b8160f39e chore: new deps 2019-04-18 21:53:09 -05:00
cha0s
ddc3d83836 chore: add top too 2019-04-18 20:44:50 -05:00
cha0s
b1d1841fab fix: entity trait property removal 2019-04-18 20:44:33 -05:00
cha0s
63cb41943b perf: various opts 2019-04-17 00:40:18 -05:00
cha0s
d919af7812 perf: cool off EventEmitters 2019-04-17 00:06:05 -05:00
cha0s
0952ffbd0e perf: cool off visibleEntities 2019-04-16 23:59:08 -05:00
cha0s
63e4e9bba0 refactor: simplify arrayUnique 2019-04-16 23:58:44 -05:00
cha0s
981d483349 perf: Track dirty entity state 2019-04-16 23:44:03 -05:00
cha0s
05ce7cd8ba refactor: immutable diff steps 2019-04-16 21:39:50 -05:00
cha0s
91bab449a7 chore: Cache current routine for Behaved tick 2019-04-16 18:04:53 -05:00
cha0s
e1e537e5e1 chore: Abstract physics world tick optimizations 2019-04-16 18:02:07 -05:00
cha0s
ab937f2206 refactor: Behavior items derive type/name 2019-04-16 17:58:49 -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
f8cc832ba5 feat: SynchronizedMixin 2019-04-16 16:34:28 -05:00
cha0s
8d55357aad refactor: World::tick heat off 2019-04-16 14:04:30 -05:00
cha0s
bbe6e48ab1 refactor: hull not needed since patches 2019-04-16 13:41:29 -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