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 » 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?
Image

User avatar
rayminator
Veteran
Posts: 473
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)
when I try to help someone I point them into 2 direction what's right and wrong so they can learn how to

User avatar
Imperf3kt
Lemma-Class Veteran
Posts: 3043
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.

Twitter
Imperf3kt Blackjack - a WIP blackjack game for Android made using Ren'Py
Free Android GUI - Updated occasionally

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 » 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!
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 » 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)
Image

+ ali3nn +
Regular
Posts: 32
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.

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 » 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!
Image

Post Reply

Who is online

Users browsing this forum: Bing [Bot], Majestic-12 [Bot]