Ren'Py QuickStart [Gallery, Codex, Scheduler, Tutorials etc]

A place for Ren'Py tutorials and reusable Ren'Py code.
Forum rules
Do not post questions here!

This forum is for example code you want to show other people. Ren'Py questions should be asked in the Ren'Py Questions and Announcements forum.
Message
Author
User avatar
sapiboonggames
Veteran
Posts: 299
Joined: Thu Jan 05, 2012 8:53 am
Completed: I Love You, Brother [BxB]
Contact:

Re: Ren'Py QuickStart [Gallery, Codex, Scheduler, Tutorials

#31 Post by sapiboonggames »

Just stopping by to say that the new code's amazing.
One can easily make princess maker like games with this.
I myself am using this with a bit of modification.
Thanks!
Visit my website: http://www.sapiboong.com

User avatar
noeinan
Eileen-Class Veteran
Posts: 1153
Joined: Sun Apr 04, 2010 10:10 pm
Projects: Ren'Py QuickStart, Crimson Rue
Organization: Statistically Unlikely Games
Deviantart: noeinan
Github: noeinan
Location: Washington State, USA
Contact:

Re: Ren'Py QuickStart [Gallery, Codex, Scheduler, Tutorials

#32 Post by noeinan »

I'm glad you found it useful! I'll be adding more features as I learn them. ^^
Image

Image
Image

User avatar
sapiboonggames
Veteran
Posts: 299
Joined: Thu Jan 05, 2012 8:53 am
Completed: I Love You, Brother [BxB]
Contact:

Re: Ren'Py QuickStart [Gallery, Codex, Scheduler, Tutorials

#33 Post by sapiboonggames »

I want to ask something, though.
Is the scheduler applicable for DSE? Can we use event.once, or event.solo, etcetra?
Thanks a lot :wink:
Visit my website: http://www.sapiboong.com

User avatar
noeinan
Eileen-Class Veteran
Posts: 1153
Joined: Sun Apr 04, 2010 10:10 pm
Projects: Ren'Py QuickStart, Crimson Rue
Organization: Statistically Unlikely Games
Deviantart: noeinan
Github: noeinan
Location: Washington State, USA
Contact:

Re: Ren'Py QuickStart [Gallery, Codex, Scheduler, Tutorials

#34 Post by noeinan »

Hm, I don't believe so. I actually looked into DSE when trying to make a schedule, but a bunch of people told me it used code that was out of date, and I was better off making my own-- thus starting the quickstart guide.

My code has an event_check function that keeps all the conditions for triggering each event, and then each condition jumps to the specified event. (All events are stored in the event.rpy file.) I never defined any event.once or event.solo, so unless they're built into Ren'py (and I don't think they are) then they won't work in my code.

However, depending on what they do, you might be able to add those definitions to the code? I'd have to look into it further to know for sure.
Image

Image
Image

User avatar
Watsonia
Newbie
Posts: 10
Joined: Sat Feb 22, 2014 10:02 am
Skype: watsoniaaenor
Location: EU
Contact:

Re: Ren'Py QuickStart [Gallery, Codex, Scheduler, Tutorials

#35 Post by Watsonia »

Just chiming in to thank you for creating this. I'm currently working on a project that's very much inspired by PM2. I'm now working on seeing if I can tweak your excellent code to be an hour and day scheduler, rather than a week and month one!

Thank you again!

User avatar
rakada
Regular
Posts: 71
Joined: Tue Jan 07, 2014 11:00 pm
Contact:

Re: Ren'Py QuickStart [Gallery, Codex, Scheduler, Tutorials

#36 Post by rakada »

that should be quiet easy you would just need to change the name saying that this is week 1,2 etc to day 1,2 etc since the text is what making it weeks the code just saying these 4+ things will happen in this whatever set time frame

User avatar
noeinan
Eileen-Class Veteran
Posts: 1153
Joined: Sun Apr 04, 2010 10:10 pm
Projects: Ren'Py QuickStart, Crimson Rue
Organization: Statistically Unlikely Games
Deviantart: noeinan
Github: noeinan
Location: Washington State, USA
Contact:

Re: Ren'Py QuickStart [Gallery, Codex, Scheduler, Tutorials

#37 Post by noeinan »

I'm glad you found it helpful! ^_^
Image

Image
Image

ocimpean
Newbie
Posts: 24
Joined: Tue Aug 27, 2013 9:13 pm
Location: Florida
Contact:

Re: Ren'Py QuickStart [Gallery, Codex, Scheduler, Tutorials

#38 Post by ocimpean »

I want to try this, thank you!

User avatar
noeinan
Eileen-Class Veteran
Posts: 1153
Joined: Sun Apr 04, 2010 10:10 pm
Projects: Ren'Py QuickStart, Crimson Rue
Organization: Statistically Unlikely Games
Deviantart: noeinan
Github: noeinan
Location: Washington State, USA
Contact:

Re: Ren'Py QuickStart [Gallery, Codex, Scheduler, Tutorials

#39 Post by noeinan »

I'm glad! Let me know what you think. :)
Image

Image
Image

User avatar
noeinan
Eileen-Class Veteran
Posts: 1153
Joined: Sun Apr 04, 2010 10:10 pm
Projects: Ren'Py QuickStart, Crimson Rue
Organization: Statistically Unlikely Games
Deviantart: noeinan
Github: noeinan
Location: Washington State, USA
Contact:

Re: Ren'Py QuickStart [Gallery, Codex, Scheduler, Tutorials

#40 Post by noeinan »

Okay, someone wanted to use a framework specifically geared towards dating sims, so I cut a bunch of stuff out and added an example starting story. Let me know if you encounter any problems with the code!
Attachments
04.02.14 DatingSim Renpy Framework.rar
(6.64 MiB) Downloaded 149 times
Last edited by noeinan on Thu Apr 03, 2014 1:17 am, edited 2 times in total.
Image

Image
Image

User avatar
noeinan
Eileen-Class Veteran
Posts: 1153
Joined: Sun Apr 04, 2010 10:10 pm
Projects: Ren'Py QuickStart, Crimson Rue
Organization: Statistically Unlikely Games
Deviantart: noeinan
Github: noeinan
Location: Washington State, USA
Contact:

Re: Ren'Py QuickStart [Gallery, Codex, Scheduler, Tutorials

#41 Post by noeinan »

Adding it in .zip format to make it easier for folks on Mac.
Attachments
04.02.14 DatingSim Renpy Framework.zip
(6.65 MiB) Downloaded 111 times
Last edited by noeinan on Thu Apr 03, 2014 1:17 am, edited 1 time in total.
Image

Image
Image

User avatar
PyTom
Ren'Py Creator
Posts: 16088
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 QuickStart [Gallery, Codex, Scheduler, Tutorials

#42 Post by PyTom »

May I make the suggestion that you call it something else? I think it's going to be confusing if the DSE refers to both this newer version and my ancient code.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Software > Drama • https://www.patreon.com/renpytom

User avatar
noeinan
Eileen-Class Veteran
Posts: 1153
Joined: Sun Apr 04, 2010 10:10 pm
Projects: Ren'Py QuickStart, Crimson Rue
Organization: Statistically Unlikely Games
Deviantart: noeinan
Github: noeinan
Location: Washington State, USA
Contact:

Re: Ren'Py QuickStart [Gallery, Codex, Scheduler, Tutorials

#43 Post by noeinan »

Oh, good call. The person in question had asked about DSE so I just kinda called it that. I'll name it something else and upload it. ^^
Image

Image
Image

User avatar
noeinan
Eileen-Class Veteran
Posts: 1153
Joined: Sun Apr 04, 2010 10:10 pm
Projects: Ren'Py QuickStart, Crimson Rue
Organization: Statistically Unlikely Games
Deviantart: noeinan
Github: noeinan
Location: Washington State, USA
Contact:

Re: Ren'Py QuickStart [Gallery, Codex, Scheduler, Tutorials

#44 Post by noeinan »

Okay, so in line with the dating sim structure I've edited the code so that you plan out each singular day instead of the entire month. Will be doing more tweaks to make it more dating sim like, but here's what I've got so far.

[Edit]

Uploaded a newer version in this post having changed some more code, and added more comments to explain how things work. Going to be a bit longer before I can upload a more complete example since I'll need to completely rework the calendar and events.
Attachments
04.03.14 DatingSim Renpy Framework.zip
(6.74 MiB) Downloaded 239 times
Image

Image
Image

Azure
Regular
Posts: 29
Joined: Thu Dec 07, 2006 8:34 am
Contact:

Re: Ren'Py QuickStart [Gallery, Codex, Scheduler, Tutorials

#45 Post by Azure »

These are super useful and might just be what I need for a project I am working on. Couple of questions ( forgive me if they are obvious).

I'm making a game where you can recruit characters for your team, you then make a schedule for your team. At certain points in the game you can then participate with your team in tournaments events. The outcomes of which depend on who is on your team and what your stats are.


I'd like to use the Codex to display characters in the player's team, I'd like for them only to appear once they've been recruited. I assume I have to change something in codex1 in screens.renpy to check for variables for each recruit able character?

What would the best way to handle a date based event be? Say the tournament is the last week of the second month? I don't want the player to pick the normal activities so I'd want to either change the options or grey it out and auto take the player to that event in week 4? What would I need to change ( and ideally specify so not every week 4 gets turned into a tournament).

Thanks! Hope this makes sense

Post Reply

Who is online

Users browsing this forum: No registered users