Ren'Py Development Thread

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.
Message
Author
User avatar
monele
Lemma-Class Veteran
Posts: 4101
Joined: Sat Oct 08, 2005 7:57 am
Location: France
Contact:

Re: Ren'Py Development Thread

#16 Post by monele » Sun Jan 13, 2008 9:24 am

Mmm. Perhaps even some kind of lint for themes?
It's a good idea but what I had in mind what a visual representation of all interface widgets rendered and saved in a picture file.
It's as if you put a bunch of UI functions in Ren'Py, launched the game and saved a screenshot of the result. The only problem is that I think it would be nice if there could also be pictures of the special screens (main menu, saves, ...) and I don't know if putting all the different widgets would fit on a single screen too.

The goal is twofold :
- put this (these) picture(s) with your theme so people can immediately see what your theme will look like on the default Ren'Py.
- be sure you didn't forget a specific case (like forgetting to relook bars or something...)

User avatar
PyTom
Ren'Py Creator
Posts: 15426
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: Ren'Py Development Thread

#17 Post by PyTom » Sun Jan 13, 2008 3:05 pm

I'll try to throw together something that demonstrates all of the theme styles, allowing people to more easily demonstrate what their themes look like.

In other news, I just implemented module loading in Ren'Py. This lets us have code that lives in .rpym files, which is only loaded when the new renpy.load_module() function is called. I plan to use this with layouts, which may have code that's loaded from a second file.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom

User avatar
PyTom
Ren'Py Creator
Posts: 15426
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: Ren'Py Development Thread

#18 Post by PyTom » Sat Jan 19, 2008 2:21 pm

Been a busy week, even if I have little to show for it visually. :-) I:

- implemented the compatibility mode that will ensure games written with 6.5 and earlier will continue to run without changes.
- reorganized the style system (still in progress, somewhat).
- reimplemented the roundrect theme.
- implemented various layout-change support code.
- reimplemented the classic layout.
- changed the library a bit so that writing menu code is less complicated.

I just managed to implement the first new layout, the two-column preferences layout. Here's a screenshot:
Attachments
screenshot0016.png
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom

User avatar
PyTom
Ren'Py Creator
Posts: 15426
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: Ren'Py Development Thread

#19 Post by PyTom » Fri Feb 01, 2008 2:30 am

And, I'm pleased to announce that 6.6 is feature complete. I've begun work on the release cycle, which in this case will mostly consist of documentation work. The interested can take a look at the documentation for the new layout feature, which I wrote today, and is available at:

http://www.renpy.org/wiki/renpy/doc/reference/Layouts
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom

User avatar
Kaihaku
Regular
Posts: 47
Joined: Fri Jan 04, 2008 10:10 pm
Location: Kampuchea
Contact:

Re: Ren'Py Development Thread

#20 Post by Kaihaku » Sat Feb 02, 2008 1:00 am

Smashing, it looks beautiful, I'm eager for the upgrade. :)

User avatar
PyTom
Ren'Py Creator
Posts: 15426
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: Ren'Py Development Thread

#21 Post by PyTom » Mon Apr 28, 2008 9:23 pm

I've finally gotten back to developing Ren'Py, and adding new features to it. Today's addition was an easy way of customizing the main menu. Basically, by dropping the attached file (imagemap.rpy) into your game directory, and editing the various config variables in it, you'll be able to use an imagemap as the main menu.

In 6.6.2 this will become the layout.imagemap_main_menu function, but for now you can just drop the attached file into your game directory, customize the various config variables, and use it now.

Thanks to Galaxy for giving me the images I used to test with.
Attachments
imm.jpg
imagemap.rpy
(1.59 KiB) Downloaded 161 times
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom

User avatar
Galaxy
Regular
Posts: 38
Joined: Thu Dec 13, 2007 2:16 pm
Completed: The Sexual Fantasy Kingdom series
Organization: You can probably guess what it's called.
Deviantart: galaxypink
Location: Ohio, USA
Contact:

Re: Ren'Py Development Thread

#22 Post by Galaxy » Tue Apr 29, 2008 12:30 am

You're welcome. Thanks for the feature, it's just what I need. In case anyone is wondering, that's from a project I have in development which will NOT be hentai. I'll be releasing it under a different brand name though - I don't think people interested in that game will enjoy visiting GalaxyPink.com :shock:

User avatar
monele
Lemma-Class Veteran
Posts: 4101
Joined: Sat Oct 08, 2005 7:57 am
Location: France
Contact:

Re: Ren'Py Development Thread

#23 Post by monele » Tue Apr 29, 2008 3:36 am

1) Simplified customization for main menu? Cool!
2) Example graphics? *cough*hot*cough* ^^

User avatar
BCS
Eileen-Class Veteran
Posts: 1303
Joined: Mon Sep 19, 2005 2:15 am
Location: Florida
Contact:

Re: Ren'Py Development Thread

#24 Post by BCS » Fri Jul 04, 2008 2:32 pm

I was playing around with NVL mode and I really like it ... but ... but ... why isn't there an automatic NVL clear? I can't just guesstimate through the entire script! It cripples the entire ability of placing the text on the screen and having it programmer-friendly ...

There should be an automatic nvl clear command enacted when the text reaches the bottom of the screen, and an *optional* nvl clear for emptying the "page" early ...

User avatar
EvilDragon
Veteran
Posts: 284
Joined: Fri Dec 28, 2007 5:47 am
Location: Where the Dragons rule!
Contact:

Re: Ren'Py Development Thread

#25 Post by EvilDragon » Fri Jul 04, 2008 5:44 pm

The nvl-mode is made that way because of some features that it provides. For example, the end-page click-to-continue indicator. It wouldn't work well if nvl clear statement isn't explicitly said. Also, it seems more logical to me to separate the pages with nvl clear statements and an empty line, you can get around your script better and more efficiently.
Angels of paradise, angels of sacrifice
Please let me be under your wings...

User avatar
BCS
Eileen-Class Veteran
Posts: 1303
Joined: Mon Sep 19, 2005 2:15 am
Location: Florida
Contact:

Re: Ren'Py Development Thread

#26 Post by BCS » Sat Jul 05, 2008 2:52 am

How do you know when to use NVL clear then? Constant developer tool warping?

Really, all I'm saying is: it would be nice if it would automatically generate the end of a page where expected, when the text has filled up the screen. Anything else should be optional.

User avatar
PyTom
Ren'Py Creator
Posts: 15426
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: Ren'Py Development Thread

#27 Post by PyTom » Sat Jul 05, 2008 10:11 am

It would be nice, but also difficult. In general, Ren'Py doesn't know how big the text is until it actually gets around to trying to show it on the screen.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom

User avatar
EvilDragon
Veteran
Posts: 284
Joined: Fri Dec 28, 2007 5:47 am
Location: Where the Dragons rule!
Contact:

Re: Ren'Py Development Thread

#28 Post by EvilDragon » Sat Jul 05, 2008 10:37 am

BCS wrote:Really, all I'm saying is: it would be nice if it would automatically generate the end of a page where expected, when the text has filled up the screen. Anything else should be optional.
When expected? And what if the writer wants to show only a single line of text in the middle of the NVL screen? Artistic freedom? How should renpy "expect" such things? Therefore it's really better (and IMHO a necessity) to explicitly declare the end of NVL page.
Angels of paradise, angels of sacrifice
Please let me be under your wings...

reaktor
Regular
Posts: 27
Joined: Wed Jun 04, 2008 7:25 am
Contact:

Re: Ren'Py Development Thread

#29 Post by reaktor » Mon Jul 14, 2008 8:30 am

PyTom, do you have any interest on programming graphic developement interface Renpy? Tool for even most simple graphic GUI-creation would be great. With this tool user could load any existing label and then drag & drop images (such as buttons) to screen and attach events for these images/buttons. Tool could be used also for setting backgrounds and their transitions.

Cato
Newbie
Posts: 14
Joined: Thu Jul 17, 2008 5:59 am
Contact:

Internationalization

#30 Post by Cato » Thu Jul 17, 2008 6:52 am

Hi PyTom!

Would you be interested to include internationalization support into Ren'py? Not just for the game that is created with Ren'py, but for the actual program itself. Since I do know a bit of Python and know some people who might be willing to help, I could even provide you with a set of patches against the source code, so you wouldn't have to do all that boring string-replacement-stuff yourself ^^
Now due to the open source licence, I could, of couse, just start translating without asking... but I feel that a patch like this would be mostly in vain if it wasn't included into the official project, as I centainly don't want to do all the work over and over again for every new version.

The reason for this request is that I'm working for a german fan community (http://www.fanarts.net) and would like to promote the creation of visual novels among our members (we have lots of fan art and fan fiction artists, but visual novels are mostly unknown yet). Since they don't know much about visual novels and will probably be a bit "frightened" by the thought of having to "program" at first, I think it would be easier for many of them if the program and the in-game-demo would be in their native language.

So, what do you think? :)

Post Reply

Who is online

Users browsing this forum: Bing [Bot], Line of lust