Engine switch

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
leviathanimation
Regular
Posts: 49
Joined: Wed Nov 15, 2017 9:33 pm
Completed: Tyrania visual novel
Projects: Making multiple animations
Deviantart: leviathanimation
itch: leviathanimation
Location: Canada
Contact:

Engine switch

#1 Post by leviathanimation »

So I'll try to keep this short. I already made a visual novel but it was only for windows because of the engine. I decided it was a good idea to switch to ren'py because it can actually export to mac and other systems. So the thing is, I already made all my artwork assets and they are kinda huge, so I sort of have to rescale everything for ren'py now, but I have like more than 600 images... Is it possible to set a custom resolution?
Image

rayminator
Miko-Class Veteran
Posts: 793
Joined: Fri Feb 09, 2018 12:05 am
Location: Canada
Contact:

Re: Engine switch

#2 Post by rayminator »

when you create a new game with renpy it will ask you what resolution you want to make your game as there should a button there that says custom GUI

default is 1280 x 720
there is also
1066 x 600
1920 x 1080

so also can change it later if you need to in the gui.rpy

just look for

Code: Select all

init python:
    gui.init(1280, 720)

User avatar
Imperf3kt
Lemma-Class Veteran
Posts: 3791
Joined: Mon Dec 14, 2015 5:05 am
itch: Imperf3kt
Location: Your monitor
Contact:

Re: Engine switch

#3 Post by Imperf3kt »

There's an option for a custom resolution when creating a new game, it's on the bottom of the list.

Note though that the gui is optimised for a 16:9 aspect ratio, so you'll need to edit it if your aspect ratio is different.
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.

Current project: GGD Mentor

Twitter

User avatar
leviathanimation
Regular
Posts: 49
Joined: Wed Nov 15, 2017 9:33 pm
Completed: Tyrania visual novel
Projects: Making multiple animations
Deviantart: leviathanimation
itch: leviathanimation
Location: Canada
Contact:

Re: Engine switch

#4 Post by leviathanimation »

Imperf3kt wrote: Wed Oct 16, 2019 9:44 pm There's an option for a custom resolution when creating a new game, it's on the bottom of the list.

Note though that the gui is optimised for a 16:9 aspect ratio, so you'll need to edit it if your aspect ratio is different.
Thank you!
Image

User avatar
leviathanimation
Regular
Posts: 49
Joined: Wed Nov 15, 2017 9:33 pm
Completed: Tyrania visual novel
Projects: Making multiple animations
Deviantart: leviathanimation
itch: leviathanimation
Location: Canada
Contact:

Re: Engine switch

#5 Post by leviathanimation »

rayminator wrote: Wed Oct 16, 2019 9:17 pm when you create a new game with renpy it will ask you what resolution you want to make your game as there should a button there that says custom GUI

default is 1280 x 720
there is also
1066 x 600
1920 x 1080

so also can change it later if you need to in the gui.rpy

just look for

Code: Select all

init python:
    gui.init(1280, 720)
Hmm I tried to do that with a custom resolution but their is an error:

File "game/script.rpy", line 2: expected statement.
gui.init(1024, 600)
Image

+ ali3nn +
Regular
Posts: 32
Joined: Wed Aug 14, 2019 3:08 pm
Contact:

Re: Engine switch

#6 Post by + ali3nn + »

leviathanimation wrote: Wed Oct 16, 2019 10:34 pm
rayminator wrote: Wed Oct 16, 2019 9:17 pm when you create a new game with renpy it will ask you what resolution you want to make your game as there should a button there that says custom GUI

default is 1280 x 720
there is also
1066 x 600
1920 x 1080

so also can change it later if you need to in the gui.rpy

just look for

Code: Select all

init python:
    gui.init(1280, 720)
Hmm I tried to do that with a custom resolution but their is an error:

File "game/script.rpy", line 2: expected statement.
gui.init(1024, 600)
the gui.init is already in gui.rpy, on line 12. you edit that, instead of pasting another init.

User avatar
leviathanimation
Regular
Posts: 49
Joined: Wed Nov 15, 2017 9:33 pm
Completed: Tyrania visual novel
Projects: Making multiple animations
Deviantart: leviathanimation
itch: leviathanimation
Location: Canada
Contact:

Re: Engine switch

#7 Post by leviathanimation »

+ ali3nn + wrote: Wed Oct 16, 2019 11:45 pm
leviathanimation wrote: Wed Oct 16, 2019 10:34 pm
rayminator wrote: Wed Oct 16, 2019 9:17 pm when you create a new game with renpy it will ask you what resolution you want to make your game as there should a button there that says custom GUI

default is 1280 x 720
there is also
1066 x 600
1920 x 1080

so also can change it later if you need to in the gui.rpy

just look for

Code: Select all

init python:
    gui.init(1280, 720)
Hmm I tried to do that with a custom resolution but their is an error:

File "game/script.rpy", line 2: expected statement.
gui.init(1024, 600)
the gui.init is already in gui.rpy, on line 12. you edit that, instead of pasting another init.
Thanks I got it fixed now!
Image

Post Reply

Who is online

Users browsing this forum: No registered users