I set my game to 400x240 for 16:9 resolution.
Somehow, the images of the guis are too big.
https://atariage.com/forums/gallery/image/31702-bandicam-2019-10-13-17-31-50-356png/ (https://atariage.com/forums/gallery/image/31702-bandicam-2019-10-13-17-31-50-356png/)
I set sprites images to high and low resolution.
I tried resize and no resize when changing resolution.
Please tell, what version of AGS are you using?
AGS 3.4.1
If your game is 400x240 then you game is considered "low resolution" (if I remember correctly, the rules for that are rather arbitrary).
This means that if you set sprites to "low-res" then they won't be scaled and drawn in their real size.
Assuming you reset these sprites to "low-res", you need to check what is the actual size of buttons and actual size of sprites, as told by their properties.
I checked everything.
The images, guis.
When I replace another image, it sets itself to high. Set it low.
I get the same result.
Based on documentation 320x240 is low. Above 320x240 is high.
So 400x240 is high.
Is there a way to prevent ags to scale images?
Quote from: Volcan on Sun 13/10/2019 23:19:54
Based on documentation 320x240 is low. Above 320x240 is high.
So 400x240 is high.
Yes, this must be correct, I forgot how it works already.
But without knowing what are button and sprite sizes I cannot tell if above behavior is a bug or not.
Quote from: Volcan on Sun 13/10/2019 23:19:54
Is there a way to prevent ags to scale images?
Before AGS 3.5.0: mark sprites as low-res or high-res to match game resolution.
If upgraded to AGS 3.5.0: mark sprites as "real resolution" (new default) and/or set "Allow relative asset resolution" to false in general settings (also default).
The sprites for guis are 32x30.
The buttons for guis are 32x30 since I decided to keep original sizes.
I made an experiment:
* created a new game in AGS 3.4.1, based on Sierra template.
* changed resolution to 400x240. Did NOT resize GUI.
* changed all sprites to "hi-res" (lots of clicking....).
Both sprite and toolbar icons are 32x27, and sprite sizes are matching button sizes, both in editor and game.
Thanks. It works fine.
;-D ;-D ;-D