Page 1 of 1

How I can make a imagebutton to change the game resolution?

Posted: Wed Aug 12, 2015 5:33 am
by xPerfectSuicide
I really need something that can change the game resolution and its assets (or something like that), is there any way?

Re: How I can make a imagebutton to change the game resoluti

Posted: Wed Aug 12, 2015 6:01 am
by mobychan
I think that's not really possible?
You can change the game resolution in the options file, but that is only loaded when starting the game^^''

Re: How I can make a imagebutton to change the game resoluti

Posted: Wed Aug 12, 2015 6:11 am
by xPerfectSuicide
Yes, you're right. But nevertheless, there are many visual novels with that capability, right?

I figured there would be some way to deform images and couple them to change in 360 pixels less resolution 1080p -> 720p or something like that

Re: How I can make a imagebutton to change the game resoluti

Posted: Wed Aug 12, 2015 6:53 am
by mobychan
the main problem would be changing the resolution, changing the images shouldn't be a problem (you could scale them using im.Scale for example)

Re: How I can make a imagebutton to change the game resoluti

Posted: Wed Aug 12, 2015 8:36 am
by Donmai
You're asking in the wrong forum, but never mind. This thread can be moved to the right place by a moderator.
Trying to answer your question: if the proportions will be the same, there's no problem. In 'The One in LOVE' (http://lemmasoft.renai.us/forums/viewto ... 11&t=25871) I've succesfully used this code posted by SundownKid: http://lemmasoft.renai.us/forums/viewto ... 17#p378617
Yes, it uses textbuttons, but you will get the idea. I've used imagemaps in my game, BTW.

Re: How I can make a imagebutton to change the game resoluti

Posted: Thu Aug 13, 2015 2:28 am
by xPerfectSuicide
That's exactly what I was looking for, thank you very much.

Re: How I can make a imagebutton to change the game resoluti

Posted: Fri Aug 14, 2015 1:37 am
by xPerfectSuicide
For some reason. When I active the game code it becomes considerably slow. Now I have time thinking of any reason, it will be my computer?
Image
me now

Re: How I can make a imagebutton to change the game resoluti

Posted: Tue Aug 18, 2015 1:03 am
by wayward
Came here wondering the same thing.

I like your art btw.