DoubleTroubleGames / hooksharks

A game about love, empathy and mostly sharks
GNU General Public License v3.0
12 stars 3 forks source link

Add a margin to Camera zoom in #215

Closed AndreMoukarzel closed 5 years ago

AndreMoukarzel commented 5 years ago

The Camera shouldn't zoom in immediatly when it is able to do so, it should wait for the intended zoom to be smaller by a margin (intended_zoom = current_zoom - margin) to do so.

This change aims to reduce how woobly goobly the Camera acts in turns.