shigmas / MaltMap

Tracking Repository for the MaltMap
0 stars 0 forks source link

GraphView enhancements #22

Closed shigmas closed 9 years ago

shigmas commented 9 years ago

The current view allows for full camera movement. We want to limit it to the axis, and only the positive axis when we only have 3 graph values (as in this situation).

Trying to move in a direction that's not allowed, we'll use a log as we get to the limit so that it gets increasingly "harder" to move that way.

Moving to an allowed axes will get harder, and then release after a "hump". If it's released before the hump, it will return to the original camera position. After the hump, it will go to the new position. Each ending will end with a bounce.

(As linear bouncing is difficult enough with my fuzzy recollection of physics, we'll pass on calculating radial bouncing.)

shigmas commented 9 years ago

Mostly fixed - there's one issue that I'll open separately.