dylanilvento / Peak

Puzzle runner where you control the environment.
http://ward-games.itch.io/peak
0 stars 0 forks source link

Issue 5 #6

Closed nicholasrobertm closed 6 years ago

nicholasrobertm commented 6 years ago

This ended up being due to the currDist > smallestDist check in curtain controller. @dylanilvento What is this supposed to restrict you from doing? Is it just supposed to keep you from hitting 's' for example until it overlaps the right curtain with the left one? If so this isn't needed as that's already prevented. removing these lines fixes the issue in the tutorial. (It actually happens with both sides just at different parts)

dylanilvento commented 6 years ago

@nicholasrobertm Yeah, smallestDist prevents the curtain shrinking beyond its smallest point in the regular levels. Did you test it to see if it can be safely removed from the regular levels? If so, we can roll with it.