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: 34
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 » Wed Oct 16, 2019 9:03 pm

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?

User avatar
rayminator
Veteran
Posts: 269
Joined: Fri Feb 09, 2018 12:05 am
Projects: Redoing games to fix spelling mistakes other companys that don't care
Location: Canada
Contact:

Re: Engine switch

#2 Post by rayminator » 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)

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

Re: Engine switch

#3 Post by Imperf3kt » 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.
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.

Todo list:
Actually finish a project

User avatar
leviathanimation
Regular
Posts: 34
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 » Wed Oct 16, 2019 10:28 pm

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!

User avatar
leviathanimation
Regular
Posts: 34
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 » 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)

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

Re: Engine switch

#6 Post by + ali3nn + » 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.
sorry, projects are on hiatus.

User avatar
leviathanimation
Regular
Posts: 34
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 » Wed Oct 16, 2019 11:54 pm

+ 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!

Post Reply

Who is online

Users browsing this forum: Andredron, Google [Bot]