Scripts / command for resizing png

Author
Message
OPENLOAD
6
Years of Service
User Offline
Joined: 13th Oct 2018
Location:
Posted: 22nd Nov 2018 06:19

hi, I read around the forum a command where I resize a png adapting to the screen resolution in use.
I created an inventory with png, but now I need to resize all kinds of screens.
thanks in advance and excuse me if it is definitely a question already made
PM
smallg
Community Leader
19
Years of Service
User Offline
Joined: 8th Dec 2005
Location:
Posted: 22nd Nov 2018 10:27
Use sprites instead of images and they will automatically resize based on the given % you set their size to be... It can be a bit imperfect for all resolutions but that's expected, even mobile games can have the same issue and those are built around such things.
lua guide for GG
https://steamcommunity.com/sharedfiles/filedetails/?id=398177770
windows 10
i5 @4ghz, 8gb ram, AMD R9 200 series , directx 11

Login to post a reply

Server time is: 2024-12-22 20:47:42
Your offset time is: 2024-12-22 20:47:42