Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Perfect!  I'll have to see if I can find a reason I commented that out and maybe undo that in the next update :)


Thanks!

Hey, just popping up in this conv, I tried to enable the set_scale code but for some reasons it wont detect it as an existing function, being greyed out when I write it and crashing when called in game for "not set before reading it". Is there something more that needs to be done?

It'll be coming in the next update, but for the time being, just set your image.__private__.xscale and yscale to the scale you want.

Thanks! It actually ended up randomly working after a bit.

But it made me have another question : so I have this sprite of a button that's from my figma design, it has a precise size and all. I would like to create a button that uses this sprite (without nine slice), with hovering and all, but AutoUI seems to automatically resize it. Is there a way I can disable this automatic resizing for buttons? 

It shouldn’t be automatically resizing - are you using “auto_button_sprite”?  That should use the sprites dimensions for the button. If that doesn’t work copy your code for your button and I can take a look. 

Ahhh my bad that's on me for not figuring out this existed. Works perfectly now, thank you :3 

Btw, are you planning on adding controller support for next update?

No current plans.  I'm mulling around rebuilding the entire AutoUI - there are a few things that bother me having used it as much as I have, and that is one of the things I'd love to integrate.