Commit Graph

108 Commits

Author SHA1 Message Date
cha0s
81a6ecf5c4 feat: trait state dirty optimization 2019-04-16 17:41:17 -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
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
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
4963808ad7 refactor: use receiver for most events 2019-04-12 18:58:38 -05:00
cha0s
c55ac68ed7 refactor Vector.mixin 2019-04-12 16:30:22 -05:00
cha0s
2817300800 refactor: check trait 2019-04-12 15:53:44 -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
4234a3a3be feat: primitive position interpolation 2019-04-12 09:48:43 -05:00
cha0s
2d2eb62073 fix: isVisible is state not param 2019-04-12 00:36:30 -05:00
cha0s
768506c26e refactor: toggle ticking, visible, and physics 2019-04-11 23:49:37 -05:00
cha0s
80409e38fd chore: remove rounded position 2019-04-11 12:20:24 -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
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
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
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
06c054f9f6 feat moveFor, for testing 2019-04-09 10:22:41 -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
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
cha0s
bc3762a3bf feat: followed 2019-04-05 12:25:16 -04:00
cha0s
a314e03a9e chore: deps 2019-03-28 12:56:42 -05:00
cha0s
0bb3a05f8d refactor: ShapeView owned by physics 2019-03-28 02:39:04 -05:00
cha0s
b042e1b1c0 refactor: "hypotenuse" is normalization 2019-03-27 17:53:18 -05:00
cha0s
71ff55c1a7 refactor: room world property 2019-03-27 16:11:37 -05:00
cha0s
e3d0ca626e refactor: physics on room not list now 2019-03-27 01:49:48 -05:00
cha0s
222a0247b3 refactor: cleans, checks, searching moved to list 2019-03-27 01:49:34 -05:00
cha0s
5616f3275b feat: layered and roomed 2019-03-27 01:03:05 -05:00
cha0s
906997eeee feat: Rectangle.toPoints 2019-03-26 17:21:16 -05:00
cha0s
b8b1b98580 refactor: graphicalBoundingBox 2019-03-26 17:17:09 -05:00
cha0s
b9a963d2f1 feat: BodyView 2019-03-24 19:11:45 -05:00
cha0s
7d2037d870 feat: real (Matter.js) physics :) 2019-03-24 03:24:35 -05:00
cha0s
f3d8f55689 refactor: Abstract physics 2019-03-24 01:16:24 -05:00
cha0s
23c7a77e5b refactor: simpleState -> StateProperty 2019-03-23 23:24:18 -05:00
cha0s
78bc85be49 refactor: unnecessary lookup 2019-03-23 23:06:01 -05:00
cha0s
f745c61ab0 chore: formatting 2019-03-23 20:04:59 -05:00
cha0s
151ca214e0 refactor: Entity::[hasTrait -> is] 2019-03-23 18:49:19 -05:00
cha0s
f123d12624 feat: physics++ 2019-03-23 18:46:55 -05:00