Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags
(1 edit)

Hello, in my project I draw sprites and texts (eg: draw_text).  I would like to know if with xtend, I can make sure that my sprites and my texts always draw the same size, no matter the size of the screen, whether I am on android or on windows. If so, how can I do this.  I tried to configure xtend in aspect mode, but it draws my drawings smaller or larger when the screen size changes or when I am in landscape mode. (I draw them in size of pixel) Thank you for your reply

What you're describing is DPI scaling. Xtend has built-in features for this, but the results are targeted for usability rather than identically matching physical size between mobile and desktop displays (which usually isn't desirable). You may wish to use the Linear scaling method combined with DPI scaling for the closest match, and you can also use the window_get_dpi and window_set_dpi functions to customize results with your own code.