Commit Graph

405 Commits

Author SHA1 Message Date
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
cha0s
9ff9fca1e9 fix: allocating literals would fail on strings 2019-04-15 22:58:27 -05:00
cha0s
f1db16c09a feat: traversal compilation 2019-04-15 22:51:32 -05:00
cha0s
c7b333aec1 refactor: packet restructuring 2019-04-15 10:03:02 -05:00
cha0s
4a137d0bac refactor: split traits use local imports 2019-04-14 20:33:52 -05:00
cha0s
fda1dfb3f3 refactor: AnimationView belongs to timing 2019-04-14 20:24:44 -05:00
cha0s
54470b0627 refactor: the great trait splittening 2019-04-14 20:21:52 -05:00
cha0s
6de939f4dc refactor: new trait source pattern 2019-04-14 20:10:13 -05:00
cha0s
4f366ab39a refactor: Graphical -> Visible 2019-04-14 18:42:13 -05:00
cha0s
6fbf13d63b refactor: socket event emitter and more events 2019-04-14 16:11:20 -05:00
cha0s
a03f5ab617 fix: destroy image texture 2019-04-14 16:11:01 -05:00
cha0s
1291d9fe6a chore: subimage not sprite 2019-04-14 16:10:24 -05:00
cha0s
5f8b3504db fix: remove children when destorying Container 2019-04-14 16:10:08 -05:00
cha0s
459b81f76b fix: graphical may have already died 2019-04-14 16:09:41 -05:00
cha0s
812de824db fix: more robust Physical destroy 2019-04-14 16:07:31 -05:00
cha0s
883837006f fix: if not addedToPhysics on destroy body will be undefined 2019-04-14 16:06:11 -05:00
cha0s
271d71c5fc fix: parser was eating errors in listeners 2019-04-14 15:32:17 -05:00
cha0s
2e9e9a864a feat(Stage): expose transform ratio 2019-04-14 00:22:36 -05:00
cha0s
512683d48b feat(Stage): broadcast display size changes 2019-04-14 00:22:22 -05:00
cha0s
2f46cd3a4e refactor(Stage): expose displaySize 2019-04-14 00:21:47 -05:00
cha0s
33c1e45844 chore: remove junk 2019-04-13 21:37:53 -05:00
cha0s
5a8940e922 chore: restructure 2019-04-13 20:53:02 -05:00
cha0s
c2b2196018 feat: EntityListView 2019-04-13 20:48:52 -05:00
cha0s
7541dd1abf chore: layer geometry under entities 2019-04-13 20:37:35 -05:00
cha0s
07f4f0487c refactor: Camera::realOffset 2019-04-13 18:13:35 -05:00
cha0s
cd8b59c218 fix: physics scaling 2019-04-13 16:35:23 -05:00
cha0s
fca289642b feat: convex hull for layer geometry 2019-04-13 13:38:18 -05:00
cha0s
acb7b41e41 feat: convex hull for shape list 2019-04-13 13:37:44 -05:00
cha0s
3d20f0310c fix: scale position 2019-04-13 12:46:36 -05:00
cha0s
6a26c5222c fix: correct arg order 2019-04-13 12:46:26 -05:00
cha0s
5142fb7b1c chore: not in loop 2019-04-13 03:40:13 -05:00
cha0s
c195dec6df feat: Shape::toJSON 2019-04-13 03:32:44 -05:00
cha0s
f48f8b8e2d chore: bump 2019-04-13 03:19:22 -05:00
cha0s
e61ed5636d flow: scaling, list/parts, elegance 2019-04-13 03:17:58 -05:00
cha0s
1f6551ae8c feat: CircleShape 2019-04-12 23:51:40 -05:00
cha0s
90070840d6 feat: poly-decomp 2019-04-12 23:51:14 -05:00
cha0s
901330011e fix: account for shape position and origin 2019-04-12 21:18:55 -05:00
cha0s
ae95193805 refactor: BodyView renders vertices not aabb 2019-04-12 20:27:54 -05:00
cha0s
62ff586777 refactor: body vertices 2019-04-12 20:25:40 -05:00
cha0s
2eb2c58054 feat: tileset geometry 2019-04-12 20:16:31 -05:00
cha0s
176d55d78d refactor: early out nop vertice translation 2019-04-12 20:14:55 -05:00
cha0s
ed0dee0eb8 chore: naming 2019-04-12 19:49:35 -05:00
cha0s
4963808ad7 refactor: use receiver for most events 2019-04-12 18:58:38 -05:00
cha0s
1ed1071a19 refactor: layer owns tileset 2019-04-12 18:49:07 -05:00
cha0s
1da0db0d21 chore: format 2019-04-12 17:59:28 -05:00
cha0s
e16e969170 refactor: StateProperty optimizations 2019-04-12 17:21:43 -05:00
cha0s
9d618d1998 refactor: Vector.mixin elegance 2019-04-12 17:04:53 -05:00
cha0s
c55ac68ed7 refactor Vector.mixin 2019-04-12 16:30:22 -05:00
cha0s
eee1d246f3 refactor: meta.initialize 2019-04-12 15:54:14 -05:00
cha0s
2817300800 refactor: check trait 2019-04-12 15:53:44 -05:00
cha0s
19d95ee604 fix: naughty vsc 2019-04-12 15:53:27 -05:00
cha0s
b1528372d5 refactor: no more polymorphic property accesses 2019-04-12 14:38:17 -05:00
cha0s
f27e303f5a refactor: take heat off of TraitProxy 2019-04-12 14:14:03 -05:00
cha0s
037e130006 chore: dead code 2019-04-12 14:02:49 -05:00
cha0s
400b2ebb7d refactor: immutable optimizations 2019-04-12 13:18:34 -05:00
cha0s
bf18ae019a refactor: faster list tick and full state flush 2019-04-12 13:12:11 -05:00
cha0s
a4549daef6 refactor: take some heat off entity tick 2019-04-12 13:05:30 -05:00
cha0s
f686ce4b14 refactor: snappier lerp 2019-04-12 12:37:02 -05:00
cha0s
9353a91012 refactor: ticking change snaps position 2019-04-12 12:27:32 -05:00
cha0s
d09da37dc7 feat: allow client options override 2019-04-12 12:09:05 -05:00
cha0s
4234a3a3be feat: primitive position interpolation 2019-04-12 09:48:43 -05:00
cha0s
51da538730 refactor: cache resource promises up front 2019-04-12 08:59:02 -05:00
cha0s
2d2eb62073 fix: isVisible is state not param 2019-04-12 00:36:30 -05:00
cha0s
cfeb9ddff5 chore: turn off deflate 2019-04-12 00:09:25 -05:00
cha0s
768506c26e refactor: toggle ticking, visible, and physics 2019-04-11 23:49:37 -05:00
cha0s
cc75cac4e2 refactor: Buffer string and JSON, msgpack latter 2019-04-11 21:33:30 -05:00
cha0s
304b43eab1 refactor: unroll all the things! 2019-04-11 17:53:38 -05:00
cha0s
cf72817a77 refactor: Property is too hot to be so careless 2019-04-11 16:33:33 -05:00
cha0s
fa6ca1ed50 fix: server socket d/c emission 2019-04-11 16:16:56 -05:00
cha0s
6da4e21835 feat: packets! 2019-04-11 15:30:15 -05:00
cha0s
9a4bb4ce08 refactor: client socket file structure 2019-04-11 12:53:03 -05:00
cha0s
d368db1560 refactor: new key protocol 2019-04-11 12:52:51 -05:00
cha0s
80409e38fd chore: remove rounded position 2019-04-11 12:20:24 -05:00
cha0s
2637b3c449 refactor: camera drag 2019-04-11 12:19:57 -05:00
cha0s
1157634200 refactor: use rounded entity position for display 2019-04-11 08:00:46 -05:00
cha0s
47d22e71e9 fix: update camera position in band 2019-04-11 08:00:17 -05:00
cha0s
63755dd43d refactor: calc lerp but don't use it for now 2019-04-11 07:59:31 -05:00
cha0s
c2d094fe2b fix: sync graphical position on tick 2019-04-11 07:38:28 -05:00
cha0s
6f95f71163 chore: small opt 2019-04-11 06:49:49 -05:00
cha0s
b811d09112 chore: tiny opt 2019-04-11 06:49:42 -05:00
cha0s
c6f0e737c7 feat: pack location into integers 2019-04-10 21:02:42 -05:00
cha0s
e5e0810c31 refactor: clamp graphical container to pixels 2019-04-10 21:02:15 -05:00
cha0s
d66efaeb1f feat: trait state patching transformation 2019-04-10 21:01:58 -05:00
cha0s
78bfe22ee3 refactor: remove unnecessary assign 2019-04-10 19:17:28 -05:00
cha0s
e1e4b20fbd fix: night blues less intense 2019-04-10 13:44:11 -04:00
cha0s
10d562b6e9 fix: iphone dies when even accessing PointerEvent 2019-04-10 13:43:54 -04:00
cha0s
bf29232e17 fix: dial back the blues a tad for night mode 2019-04-09 19:36:38 -04:00
cha0s
7b7d133acb refactor: current animation frame not sync'd 2019-04-09 16:59:01 -04:00
cha0s
50110fe42f feat: Behaved 2019-04-09 10:42:40 -04:00
cha0s
2c093f6641 refactor: RIP traversal-and-set 2019-04-09 10:42:29 -04:00