Commit Graph

460 Commits

Author SHA1 Message Date
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
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
cha0s
87898f9b4e refactor: flat list and elegance 2019-04-09 10:41:45 -04:00
cha0s
eb21a8ee7d fix: typo 2019-04-09 10:39:09 -04:00
cha0s
993ccda757 fix: typo 2019-04-09 10:39:00 -04:00
cha0s
053e91b954 chore: formatting 2019-04-09 10:37:47 -04:00
cha0s
de5cadcf3c refactor: global.wait 2019-04-09 10:37:31 -04:00
cha0s
06c054f9f6 feat moveFor, for testing 2019-04-09 10:22:41 -04:00
cha0s
7c72956ef8 fix: wrong packing op check 2019-04-09 10:22:26 -04:00
cha0s
442eeab622 fix: return resolved traverse 2019-04-09 09:18:33 -04:00
cha0s
8fc66beafa fix: export Routines 2019-04-08 18:42:31 -04:00
cha0s
f09d03a30a refactor: Routine(s) hold context 2019-04-08 18:42:14 -04:00
cha0s
da728200c5 refactor: bye typed context 2019-04-08 18:41:49 -04:00
cha0s
8ef041c149 fix: ixnay decoratos 2019-04-08 18:41:20 -04:00
cha0s
b227b69855 feat: Collider 2019-04-08 16:20:28 -04:00
cha0s
8bdd0f27b6 refactor: Shaped 2019-04-08 14:32:40 -04:00
cha0s
3e73bc9950 fix: unsigned indexes 2019-04-08 09:20:29 -04:00
cha0s
f7d74df32c fix: unsigned string length 2019-04-08 08:42:24 -04:00
cha0s
1fec2670e1 fix: skip remove op value 2019-04-08 08:37:39 -04:00
cha0s
2af1f694a4 fix: send strings as unsigned 2019-04-08 08:37:22 -04:00
cha0s
9a467c74c5 feat: pack it real good 2019-04-08 08:31:02 -04:00
cha0s
eda0baa415 refactor: Synchronizer 2019-04-07 21:04:40 -04:00
cha0s
18f7b6b3cf feat: state.nextStep 2019-04-07 16:46:07 -04:00
cha0s
650ef7af78 feat: tick statefuls 2019-04-07 16:15:55 -04:00
cha0s
6f92fa25a2 feat: API for layers/room visible entities 2019-04-07 15:59:24 -04:00
cha0s
2002911505 refactor: StateSynchronizer no longer does diff 2019-04-07 15:59:04 -04:00
cha0s
b41118953f refactor: new step logic 2019-04-07 15:34:42 -04:00
cha0s
65d7f5006d feat: flatten 2019-04-07 15:34:22 -04:00
cha0s
9708de0877 chore: simplify 2019-04-07 13:18:20 -04:00
cha0s
617bd6dbf0 fix: derp 2019-04-07 13:12:16 -04:00
cha0s
58b1bf3a74 chore: formatting 2019-04-07 13:04:30 -04:00
cha0s
685b1701ae refactor: EE's internals were a bit open 2019-04-07 13:03:35 -04:00
cha0s
853d0357ef chore: property naming 2019-04-07 13:00:24 -04:00
cha0s
71a215c8a6 chore: _PRIVATE removed 2019-04-07 13:00:11 -04:00
cha0s
7de34a7669 chore: format 2019-04-07 12:51:28 -04:00
cha0s
7529e7cee0 feat: Synchronized 2019-04-07 12:43:50 -04:00
cha0s
dcd61c29d4 refactor: DRY 2019-04-07 00:19:47 -04:00
cha0s
6438736e43 fix: entityList never doesn't exist 2019-04-06 23:37:32 -04:00
cha0s
ab9228a405 chore: format 2019-04-05 23:50:48 -04:00
cha0s
f541052c63 feat: state packing 2019-04-05 23:40:04 -04:00
cha0s
1a9b60709d fix: skip null update 2019-04-05 23:39:54 -04:00
cha0s
6eb7d6bad9 refactor: state update 2019-04-05 23:14:29 -04:00
cha0s
8f3a8d9513 chore: acceptStateChange -> patchState 2019-04-05 16:16:55 -04:00
cha0s
e7c6cb8556 refactor: elegance 2019-04-05 16:08:59 -04:00
cha0s
220ceac711 feat: Camera::rectangle 2019-04-05 12:54:38 -04:00
cha0s
f2b9c90948 fix: traits always use Immutable params and state 2019-04-05 12:54:25 -04:00
cha0s
f404d5ab02 fix: room passed to removedFromRoom 2019-04-05 12:25:26 -04:00