You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When changing the graphical scale of the game, the camera will still use the default LÖVE scale. It ends up out of proportion. For example, when following a character, the camera might be scale times as slow. I believe this has something to do with using scissors, since they're unaffected by graphical transformations, and I'd be willing to look for a workaround. I'd just like to know if that's the default behaviour and you want to keep it that way, or if it's not working properly because I'm doing something wrong.
love example.zip will load the original program as default. The magenta dot is at (0, 0), the white dot is at (100, 50), and the lines cross at (200, 100).
love example.zip 2 will double the graphical scale. All drawings remain at the same position, but that position is transformed by LÖVE into its double.
love example.zip 1 true loads the program with the default scale, but using the camera centered at the lines crossing. Nothing happens.
love example.zip 2 true will use both the doubled graphical scale and the camera. Since the camera doesn't follow the graphical scale, it still interprets as if the white dot was at (100, 50), when in reality it's doubled as is now at (200, 100), the original set position for the camera (the lines crossing). Because of that, the white dot appears centered.
The text was updated successfully, but these errors were encountered:
When changing the graphical scale of the game, the camera will still use the default LÖVE scale. It ends up out of proportion. For example, when following a character, the camera might be scale times as slow. I believe this has something to do with using scissors, since they're unaffected by graphical transformations, and I'd be willing to look for a workaround. I'd just like to know if that's the default behaviour and you want to keep it that way, or if it's not working properly because I'm doing something wrong.
example.zip
Here's how to interpret the example:
love example.zip
will load the original program as default. The magenta dot is at (0, 0), the white dot is at (100, 50), and the lines cross at (200, 100).love example.zip 2
will double the graphical scale. All drawings remain at the same position, but that position is transformed by LÖVE into its double.love example.zip 1 true
loads the program with the default scale, but using the camera centered at the lines crossing. Nothing happens.love example.zip 2 true
will use both the doubled graphical scale and the camera. Since the camera doesn't follow the graphical scale, it still interprets as if the white dot was at (100, 50), when in reality it's doubled as is now at (200, 100), the original set position for the camera (the lines crossing). Because of that, the white dot appears centered.The text was updated successfully, but these errors were encountered: