s0lst1ce/PixelBrawl

Can't scale game

Opened this issue · 5 comments

There is no option to extend the window or scale the resolution.

This issue will be fixed in the next version (v0.3-a3). You won't be able to live scale the window as this is causing some scaling issues. However the coming settings menu will have an option to select the desired resolution for the game. It is yet unknown if all resolutions will be allowed or only a selected dimensions. The second option would allow much easier handling of sprites scaling which could otherwise look really weird.

Fixed in 50782fe
You can now change the resolution of the game in the settings menu. The game needs to be restarted for the change to take effect. This choice might change if I find a way to do it accurately through scaling which would still decrease performance. A way around this would be to have the game restart itself.

The new goal is the make the whole game scalable

The window and GUi elements as well as the player sprites can now be scaled directly through the in-game settings manager.

won't add support for pygame rectangles scaling. I will only implement the feature for definitive sprites.