Commit Graph

856 Commits

Author SHA1 Message Date
cha0s
e80f38369f flow: transient particles, isomorphic afterDeathTickers, setPosition 2019-11-03 13:25:25 -06:00
cha0s
3153c29d4d feat: active collision 2019-11-03 11:18:13 -06:00
cha0s
f69650e1f8 feat: text and textual trait 2019-11-03 10:41:40 -06:00
cha0s
1f14ca546b refactor: particle physics :^) 2019-11-03 10:41:23 -06:00
cha0s
6a348fc693 fix: properly dispose sound tick 2019-11-03 10:40:52 -06:00
cha0s
8701cadbe8 refactor: math export + range 2019-11-03 10:40:08 -06:00
cha0s
060177f1e8 feat: visible rotation 2019-11-03 10:38:33 -06:00
cha0s
5072bbb718 refactor: bump client IDs by a billion so client won't conflict 2019-11-03 10:23:44 -06:00
cha0s
91c18df5e5 chore: bump pixi to v5 2019-10-27 13:34:44 -05:00
cha0s
ee7608c211 refactor: setDirty 2019-10-16 01:09:34 -05:00
cha0s
68d67e082d refactor: persistent trait registry 2019-10-15 03:28:54 -05:00
cha0s
142bf704eb refactor: input greatness 2019-10-11 02:17:00 -05:00
cha0s
1f642fe8e0 refactor: simplify 2019-10-10 23:50:31 -05:00
cha0s
768102d481 fix: clamp vector pack 2019-10-10 23:50:02 -05:00
cha0s
a852a906be chore: simple 2019-10-10 01:30:33 -05:00
cha0s
66cfd9c21a refactor: isDying StateProperty 2019-10-10 01:27:02 -05:00
cha0s
f6622d6919 chore: simple 2019-10-10 01:15:38 -05:00
cha0s
0f3ec08491 fix: only remove existing children 2019-10-09 03:46:19 -05:00
cha0s
54eb6f20d4 fix: hydrate entities 2019-10-09 03:45:54 -05:00
cha0s
04f3b07250 fix: send along super props properly in toNetwork 2019-10-09 03:45:42 -05:00
cha0s
99dc832866 feat: spawnRaw and spawnRawAt 2019-10-08 03:24:20 -05:00
cha0s
0a7c60e8b7 refactor: destroy async to avoid issues within tick 2019-10-08 03:23:58 -05:00
cha0s
2b3fca9d9a feat: dying and died events 2019-10-08 03:23:36 -05:00
cha0s
ab37214926 chore: tidy 2019-10-08 02:29:24 -05:00
cha0s
4342590c56 fix: include URI in loaded Resource 2019-10-07 06:17:15 -05:00
cha0s
f308ebb469 fix: entity.toNetwork 2019-10-07 05:13:49 -05:00
cha0s
b3baaedde9 fix: delegate 2019-10-07 05:02:14 -05:00
cha0s
15df8e1d43 refactor: rename 2019-10-03 19:11:52 -05:00
cha0s
0c17da218f refactor: core structure 2019-10-03 16:39:27 -05:00
cha0s
523f0adc12 chore: dead code 2019-10-03 16:39:18 -05:00
cha0s
c1ddc04703 fix: don't send whole state in packets 2019-10-03 15:46:33 -05:00
cha0s
9f2e2960c4 feat: _fastDirtyCheck for traits and entities, cleanPackets was getting rough 2019-10-03 00:53:56 -05:00
cha0s
b6dd246ec1 refactor: (?:de|in)flate all top-level comm 2019-10-02 18:07:00 -05:00
cha0s
b593a56b53 chore: formatting 2019-10-02 18:06:40 -05:00
cha0s
9f31d98f5b feat: (?:de|in)flation 2019-10-02 18:06:31 -05:00
cha0s
2a0a2f1819 chore: bump 2019-10-02 18:06:14 -05:00
cha0s
25ff3f270d feat: died packet 2019-10-02 00:10:14 -05:00
cha0s
4340be5e2d refactor: let sync handle info embed 2019-10-01 22:42:41 -05:00
cha0s
dd0f4da9ad refactor: send initial entity state 2019-10-01 22:42:26 -05:00
cha0s
db11cffe80 chore: defaults 2019-10-01 22:42:04 -05:00
cha0s
bf01a5d86b chore: remove assert 2019-10-01 20:48:47 -05:00
cha0s
a5a09cbcba refactor: send updates before destroys 2019-10-01 20:45:25 -05:00
cha0s
c08b32b68c chore: helper 2019-10-01 20:37:08 -05:00
cha0s
8105ad2ad3 fix: visible update 2019-10-01 18:30:09 -05:00
cha0s
cfd6a5ef67 fix: children splicing 2019-10-01 01:51:13 -05:00
cha0s
ecee85dac8 chore: formatting 2019-10-01 01:46:03 -05:00
cha0s
63b8b8e1f5 fix: local import 2019-09-30 23:38:21 -05:00
cha0s
529d308b8b fix: tile updates 2019-09-30 22:28:33 -05:00
cha0s
a2b5583d44 fix: visible packet 2019-09-30 21:05:00 -05:00
cha0s
0305d24c73 fix: alive trait sync 2019-09-30 20:57:04 -05:00
cha0s
204907c27f refactor: efficient entity toNetwork 2019-09-30 20:52:52 -05:00
cha0s
d90a345afe refactor: actual entity tracking! 2019-09-30 20:08:05 -05:00
cha0s
37028a8bd9 refactor: encode trait type for net 2019-09-30 19:23:11 -05:00
cha0s
147b8d1556 fix: animated packet 2019-09-30 15:53:10 -05:00
cha0s
e1ac271b8b chore: dead code 2019-09-30 15:52:32 -05:00
cha0s
b169bb8c2d refactor: state diffs 2019-09-30 15:47:25 -05:00
cha0s
40a9731147 fix: directional packet 2019-09-30 15:35:57 -05:00
cha0s
909cc388f2 chore: dead code 2019-09-30 15:19:10 -05:00
cha0s
12a70ee94e flow: trait updates! 2019-09-30 01:36:02 -05:00
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