disable stretching/resizing game screen

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Post Reply
Message
Author
User avatar
bunbun
Regular
Posts: 140
Joined: Mon Jun 11, 2012 10:54 pm
Contact:

disable stretching/resizing game screen

#1 Post by bunbun »

Hello, I've tried my best searching everywhere, but I couldn't find any solution to my question.
Forgive me if there's already such topic.

I've disable the full screen mode for my game, and normal screen works fine.
However, when I drag the corners of the game screen, the whole game stretched and enlarge.
I don't want any resizing or stretching at all.
So, how do you disallow stretching and adjusting of the screen?

I hope I am clear;;;

SundownKid
Lemma-Class Veteran
Posts: 2299
Joined: Mon Feb 06, 2012 9:50 pm
Completed: Icebound, Selenon Rising Ep. 1-2
Projects: Selenon Rising Ep. 3-4
Organization: Fastermind Games
Deviantart: sundownkid
Location: NYC
Contact:

Re: disable stretching/resizing game screen

#2 Post by SundownKid »

I doubt you will be able to do that... however, what's the point when you can always return it to normal size by pressing the button in options? I don't see how allowing the player to resize it is a bad thing.

User avatar
bunbun
Regular
Posts: 140
Joined: Mon Jun 11, 2012 10:54 pm
Contact:

Re: disable stretching/resizing game screen

#3 Post by bunbun »

@shudownkid : Ah I see ;_;
well I thought it's neater if it's a fix frame, since the quality of the art will be stretched if dragged by accident.
I didnt know you could change it back at option, I actually closed the game and reopen it OTL
how silly
but thankyou anyways! I'll see what I can do with it

User avatar
eesy
Regular
Posts: 39
Joined: Mon May 14, 2012 3:30 am
Contact:

Re: disable stretching/resizing game screen

#4 Post by eesy »

i know what you meant, i accidentally dragged the frame and make the video stop, and paused with a black screen of nothing ness :(
I'm epic noob!

User avatar
bunbun
Regular
Posts: 140
Joined: Mon Jun 11, 2012 10:54 pm
Contact:

Re: disable stretching/resizing game screen

#5 Post by bunbun »

@eesy : I know....
but wait you mean if you're playing a video and accidentally stretch it, it will pause and turn into a black screen?

User avatar
Showsni
Miko-Class Veteran
Posts: 563
Joined: Tue Jul 24, 2007 12:58 pm
Contact:

Re: disable stretching/resizing game screen

#6 Post by Showsni »

I suppose you could try disabling Open GL? Add this line:
config.gl_enable = False
to your options script file.

User avatar
bunbun
Regular
Posts: 140
Joined: Mon Jun 11, 2012 10:54 pm
Contact:

Re: disable stretching/resizing game screen

#7 Post by bunbun »

@Showsni :Thanks! it works!
However, when config.developer = False, everything overlaps each other layer by layer when the game proceed...
is there a way to solve this?

User avatar
eesy
Regular
Posts: 39
Joined: Mon May 14, 2012 3:30 am
Contact:

Re: disable stretching/resizing game screen

#8 Post by eesy »

@bunbun
yes! XD i didn't want to disable the gl, because some people .. who knows they want smaller screen than 800x600..
so yea i just hope they dont accidentally stretch it when the game shows a video :/ thats why i dont have the hard click option, so when the video is paused, the user can easily click and rollback.
I'm epic noob!

Post Reply

Who is online

Users browsing this forum: Andredron, Bing [Bot]