tzachshabtay / MonoAGS

AGS (Adventure Game Studio) reimagined in Mono
https://tzachshabtay.github.io/MonoAGS/
Artistic License 2.0
27 stars 8 forks source link

Consider splitting pivot point to pivot and origin points #284

Open tzachshabtay opened 6 years ago

tzachshabtay commented 6 years ago

Our pivot point controls where an object is rotated/scaled from and also where we consider the "x,y" position of the entity to be. That second aspect can be separated to a second point, the origin point, which might be different than the pivot point. This can be useful, if, for example, you want to rotate from the center but still align to other objects based on the bottom left point. Otoh, it might increase complexity (and is it less intuitive?), so not sure about it.

GDevelop (https://gdevelop-app.com/) is an example of an engine which seems to have this concept (separated pivot and origin points).