Dating Sim Engine (DSE) 4.1! Day Planner and Event Manager

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
Dmi3
Newbie
Posts: 2
Joined: Wed Dec 24, 2014 9:27 pm
Contact:

Re: Dating Sim Engine (DSE) 3.0! Day Planner and Event Manag

#16 Post by Dmi3 » Sat Aug 08, 2015 1:25 pm

Hello! Thanks for your work, both on this script and the Personal Space (it’s amazing).

I’d like to use this script for my future game, but I couldn’t find the licensing information. What license is it available under?

User avatar
qirien
Veteran
Posts: 473
Joined: Thu Jul 31, 2003 10:06 pm
Organization: Metasepia Games
Deviantart: qirien
Github: qirien
itch: qirien
Location: New Mexico, USA
Contact:

Re: Dating Sim Engine (DSE) 3.0! Day Planner and Event Manag

#17 Post by qirien » Mon Aug 10, 2015 11:22 pm

Thank you! PyTom wrote the original, and my changes were minimal. He didn't include any licensing information, either, so I would assume it is under the same license as Ren'Py (please correct me if I'm wrong, PyTom). That is the MIT License.

Thanks for noticing that; I should add a License file to future versions once I am sure what license PyTom intended (any open license is fine with me).
Finished games:
Image
Image
Image
In progress: Our Personal Space 2: Space to Grow

User avatar
PyTom
Ren'Py Creator
Posts: 15436
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: Dating Sim Engine (DSE) 3.0! Day Planner and Event Manag

#18 Post by PyTom » Tue Aug 11, 2015 8:16 pm

Yes, my contributions are MIT. I think it's a good un-license to use. Please be sure to add yourself to the copyright lines.

We might want to put the DSE in git so everyone can contribute to it, as a proper open source project.
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: 15436
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: Dating Sim Engine (DSE) 3.0! Day Planner and Event Manag

#19 Post by PyTom » Tue Aug 11, 2015 8:16 pm

Yes, my contributions are MIT. I think it's a good un-license to use. Please be sure to add yourself to the copyright lines.

We might want to put the DSE in git so everyone can contribute to it, as a proper open source project.
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
qirien
Veteran
Posts: 473
Joined: Thu Jul 31, 2003 10:06 pm
Organization: Metasepia Games
Deviantart: qirien
Github: qirien
itch: qirien
Location: New Mexico, USA
Contact:

Re: Dating Sim Engine (DSE) 3.0! Day Planner and Event Manag

#20 Post by qirien » Tue Aug 11, 2015 11:27 pm

Good idea; I have a local repository I had been using to track changes, but it would be better for anyone to be able to add to it. Do you want to put it under the "renpy" user? My github username is qirien; if you create it and give me access, I'll upload what I have.
Finished games:
Image
Image
Image
In progress: Our Personal Space 2: Space to Grow

User avatar
PyTom
Ren'Py Creator
Posts: 15436
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: Dating Sim Engine (DSE) 3.0! Day Planner and Event Manag

#21 Post by PyTom » Wed Aug 12, 2015 11:36 pm

I've invited you.
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
qirien
Veteran
Posts: 473
Joined: Thu Jul 31, 2003 10:06 pm
Organization: Metasepia Games
Deviantart: qirien
Github: qirien
itch: qirien
Location: New Mexico, USA
Contact:

Re: Dating Sim Engine (DSE) 3.0! Day Planner and Event Manag

#22 Post by qirien » Thu Aug 13, 2015 2:52 pm

Great; I uploaded it and will put any further changes there.
Finished games:
Image
Image
Image
In progress: Our Personal Space 2: Space to Grow

sapfirovyy
Newbie
Posts: 1
Joined: Fri Aug 14, 2015 11:41 am
Tumblr: sapfirovyy
Contact:

Re: Dating Sim Engine (DSE) 3.0! Day Planner and Event Manag

#23 Post by sapfirovyy » Fri Aug 14, 2015 12:19 pm

Hi, I don't know whether I should be asking here or not, but I can't seem to open the files...always get this message.

Code: Select all

I'm sorry, but an uncaught exception occurred.

Before loading the script.
WindowsError: [Error 267] The directory name is invalid: u'C:\\Users\\12044_000\\Dropbox\\System\\renpy-6.99.5-sdk\\dse3-20150407\\dse\\game\\main.rpy\\*.*'

-- Full Traceback ------------------------------------------------------------

Full traceback:
  File "C:\Users\12044_000\Dropbox\System\renpy-6.99.5-sdk\renpy-6.99.5-sdk\renpy\bootstrap.py", line 281, in bootstrap
    renpy.main.main()
  File "C:\Users\12044_000\Dropbox\System\renpy-6.99.5-sdk\renpy-6.99.5-sdk\renpy\main.py", line 290, in main
    for fn in os.listdir(dir):
WindowsError: [Error 267] The directory name is invalid: u'C:\\Users\\12044_000\\Dropbox\\System\\renpy-6.99.5-sdk\\dse3-20150407\\dse\\game\\main.rpy\\*.*'

Windows-8-6.2.9200
Ren'Py 6.99.5.602
Do you know how to rectify the problem? Thanks and sorry for bothering you ^^;

User avatar
qirien
Veteran
Posts: 473
Joined: Thu Jul 31, 2003 10:06 pm
Organization: Metasepia Games
Deviantart: qirien
Github: qirien
itch: qirien
Location: New Mexico, USA
Contact:

Re: Dating Sim Engine (DSE) 3.0! Day Planner and Event Manag

#24 Post by qirien » Sat Aug 15, 2015 4:04 pm

I'm not sure what that error is - did you unzip the files in your Ren'Py projects directory?
Finished games:
Image
Image
Image
In progress: Our Personal Space 2: Space to Grow

User avatar
sheetcakeghost
Veteran
Posts: 377
Joined: Sat Sep 19, 2009 9:19 pm
Contact:

Re: Dating Sim Engine (DSE) 3.0! Day Planner and Event Manag

#25 Post by sheetcakeghost » Wed Feb 03, 2016 9:42 pm

Okay, so everything works fine with the DSE dayplanner accept.

Image

Image

That is the dialog box (I tested to be sure it wasn't some other similar looking GUI) and it's covering the whole screen. Now I've tried using things like window hide and $ _window_during_transitions = False. I can't find anything in the DSE code that would cause this to happen, and I don't have any other code that would either. The only part of screens I've changed is the save/load menu and I've only image mapped the main menu.

I can post chunks of code if you guys need it, but I honestly have no idea what code I should post that would be relevant to this.

User avatar
qirien
Veteran
Posts: 473
Joined: Thu Jul 31, 2003 10:06 pm
Organization: Metasepia Games
Deviantart: qirien
Github: qirien
itch: qirien
Location: New Mexico, USA
Contact:

Re: Dating Sim Engine (DSE) 3.0! Day Planner and Event Manag

#26 Post by qirien » Wed Feb 03, 2016 10:53 pm

It looks like the default window background is a transparent gray, so that is going on top of your "say" screen and background. If you don't want it to do that, you can open up day_planner.rpy and add

Code: Select all

background None
right after where it says

Code: Select all

screen day_planner(periods):  
    # indicate to Ren'Py engine that this is a choice point
    $ renpy.choice_for_skipping()
    window:
so that now the day_planner screen looks like this:

Code: Select all

screen day_planner(periods):  
    # indicate to Ren'Py engine that this is a choice point
    $ renpy.choice_for_skipping()
    window:
        background None        
        use display_stats(True, True, True, True)
        use display_planner(periods) 
Is this the behavior you wanted?
Finished games:
Image
Image
Image
In progress: Our Personal Space 2: Space to Grow

User avatar
sheetcakeghost
Veteran
Posts: 377
Joined: Sat Sep 19, 2009 9:19 pm
Contact:

Re: Dating Sim Engine (DSE) 3.0! Day Planner and Event Manag

#27 Post by sheetcakeghost » Wed Feb 03, 2016 11:29 pm

It certainly is! Thanks for the prompt response!

Kshimimi
Newbie
Posts: 13
Joined: Mon Nov 09, 2015 7:29 am
Tumblr: kshimimishimesh.tumblr.com
Contact:

Re: Dating Sim Engine (DSE) 3.0! Day Planner and Event Manag

#28 Post by Kshimimi » Sun Feb 07, 2016 11:28 pm

I've been rooting around in the forums and I haven't found an 'answer' for this so to speak, so I thought I'd try here.

Is there a way to declare and run events outside of the defined periods? like if I wanted to be able to have an event trigger by, say, location, and for that event to run before the day planner and the morning/afternoon/evening events?

User avatar
qirien
Veteran
Posts: 473
Joined: Thu Jul 31, 2003 10:06 pm
Organization: Metasepia Games
Deviantart: qirien
Github: qirien
itch: qirien
Location: New Mexico, USA
Contact:

Re: Dating Sim Engine (DSE) 3.0! Day Planner and Event Manag

#29 Post by qirien » Mon Feb 08, 2016 2:04 pm

If you want events that are not during a regular period of time, you will need to add that in separately from the DSE. If you want an event to run before the day planner, you should probably add a line in main.rpy before where it says "It's day %(day)d", kind of like this:

Code: Select all

# This is the label that is jumped to at the start of a day.
label day:
    # Increment the day it is.
    $ day += 1

    # If we are in Barstow, play an intro event before asking the user what to do today
    if (location == "Barstow"):
        call barstow_special_event

    "It's day %(day)d."
Is this kind of what you wanted?
Finished games:
Image
Image
Image
In progress: Our Personal Space 2: Space to Grow

Kshimimi
Newbie
Posts: 13
Joined: Mon Nov 09, 2015 7:29 am
Tumblr: kshimimishimesh.tumblr.com
Contact:

Re: Dating Sim Engine (DSE) 3.0! Day Planner and Event Manag

#30 Post by Kshimimi » Mon Feb 08, 2016 4:07 pm

Yup. That's just what I needed. I had some concerns with being able to link special non-period events up with the DSE but it all works swimmingly.

Thanks for the quick response!

Post Reply

Who is online

Users browsing this forum: Bing [Bot]