Show faces in history?

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
inkacorn
Newbie
Posts: 6
Joined: Thu Nov 30, 2023 3:44 pm
Projects: Married to a Fool, Mehkrow Meadows
Tumblr: inkacornn
itch: inkacorn
Contact:

Re: Show faces in history?

#16 Post by inkacorn »

plastiekk wrote: Fri Dec 01, 2023 11:10 am
inkacorn wrote: Thu Nov 30, 2023 11:08 pm ...
Wow! Could you upload a little example so that users like me can try it out? I'm not firm with python classes but I can imagine that there is a solution not to always write default. Perhaps this can even be solved in the callback function. But I need to fiddle with it :D
absolutely! i had to fix some things because i wrote that code at 2am :oops:
attachment for the game is here
History Screen Test.zip
This is a renpy game
(1.77 MiB) Downloaded 32 times
and ill update the post to reflect the change hfejdwlojffk
Also known as the crazy jester lady
ImageImageImage

User avatar
plastiekk
Regular
Posts: 112
Joined: Wed Sep 29, 2021 4:08 am
Contact:

Re: Show faces in history?

#17 Post by plastiekk »

inkacorn wrote: Fri Dec 01, 2023 7:01 pm absolutely! i had to fix some things...
This works like a charm, no need to change the code because you don't need to write eileen default like thought.
Tested with Ren'Py 7.5.3 which uses Python 2. but I had to uncommend the 'new' config variable in gui.rpy

Code: Select all

## Enable checks for invalid or unstable properties in screens or transforms
# define config.check_conflicting_properties = True
Ren'Py complaint that config.check_conflicting_properties is unknown (also in Renpy 8 ) :shock:

In Version 8 which uses Python 3 I got an error from screens.rpy in line 894:
Invalid Syntax -> raise TypeError, "Input parameter must be list, set or tuple"
So i changed it and got it to work with brackets instead of a comma:

Code: Select all

raise TypeError ("Input parameter must be list, set or tuple")
Good work! I like it very much and thanks for sharing the code!
Why on earth did I put the bread in the fridge?

Post Reply

Who is online

Users browsing this forum: Geminicp, Google [Bot]