Search found 358 matches

by gas
Thu Apr 19, 2018 3:34 pm
Forum: Ren'Py Questions and Announcements
Topic: My Splashscreen does not appear
Replies: 11
Views: 98

Re: My Splashscreen does not appear

I've analized the code of DDLC quite a bit, if you keep some of DDLC original script it mess everything.
On a code sense, dokidoki sucks.
Like some persistent...
by gas
Wed Apr 18, 2018 2:52 pm
Forum: Ren'Py Cookbook
Topic: Play events by day (quick mode)
Replies: 2
Views: 85

Play events by day (quick mode)

PLAY EVENTS BY DAY (quick mode, call expression example) This is not a recipe, but mostly a code snippet I'm using often. Is quite convenient. default day=0 default schedule=[3,7] label start: "Welcome to a looping game!" label cycle: $ day +=1 "It's day [day]." if day in schedule: $ lbl="event"+str...
by gas
Tue Apr 17, 2018 3:04 pm
Forum: Ren'Py Cookbook
Topic: Determine zodiac sign by a day
Replies: 0
Views: 72

Determine zodiac sign by a day

COMPUTE ZODIAC FROM A DATE This snippet allow you, giving a day and a month number, to come with the proper Zodiac sign. It's not as easy as it seems, as zodiac signs are not starting the first day of the year, so you need some math. IF YOU'RE GUESSING WHAT I'M TALKING ABOUT Once upon a time, in Anc...
by gas
Mon Apr 16, 2018 3:22 pm
Forum: Ren'Py Cookbook
Topic: Have characters greet you at game launch
Replies: 2
Views: 162

Have characters greet you at game launch

HAVE CHARACTERS GREET AT GAME LAUNCH This easy recipe allow for characters to greet you at game launch, as for Tokimeki Memorial 3, BEFORE the main menu. It also show how you can use the internal device clock ("locale") to differentiate events between night and day. At first we import time module, t...
by gas
Sat Apr 07, 2018 2:47 pm
Forum: Ren'Py Questions and Announcements
Topic: Different location of buttons for Main Menu vs Navigation Menu (SOLVED)
Replies: 3
Views: 128

Re: Different location of buttons for Main Menu vs Navigation Menu

You have to rewrite the main menu, not using the game menu navigation. It's the easier and quick solution. And the less contrived. Try on your own, it's propedeutical.
by gas
Sat Apr 07, 2018 2:39 pm
Forum: Ren'Py Questions and Announcements
Topic: Image not defined on a screen [solved 'cause i'm silly]
Replies: 2
Views: 82

Re: Image not defined on a screen

mitoky wrote:
Wed Apr 04, 2018 4:14 pm
Try writing it as:

Code: Select all

add "her"
O fcourse you were correct and of course i had to stay focused some more :-) thank you
by gas
Sat Apr 07, 2018 2:35 pm
Forum: Ren'Py Cookbook
Topic: Simon minigame
Replies: 6
Views: 1878

Re: Simon minigame

Sorry if actually don't work as intended, it's a bit old. I'll revise it this week along a lot of other minigames and codes
by gas
Wed Apr 04, 2018 3:03 pm
Forum: Ren'Py Questions and Announcements
Topic: Image not defined on a screen [solved 'cause i'm silly]
Replies: 2
Views: 82

Image not defined on a screen [solved 'cause i'm silly]

Defined an image in the script, correctly shown in the game using SHOW statement. Using Add in a screen (splashscreen context) return undefined image error. The code is correct, no need to paste it. Something like: image her = ConditionSwitch(..) screen myscreen(): add her label splashscreen: show s...
by gas
Wed Mar 28, 2018 9:34 am
Forum: Ren'Py Questions and Announcements
Topic: Creating a "form" for players to check
Replies: 2
Views: 71

Re: Creating a "form" for players to check

Use call screen to call a screen,full of buttons that SetVariable, with just one that instead just Return(),this one have execution proceed. Called screen stop execution until something Return.
by gas
Thu Mar 16, 2017 6:48 pm
Forum: Ren'Py Questions and Announcements
Topic: Ahi ahi ahi, the pickle module doesn't work
Replies: 2
Views: 253

Re: Ahi ahi ahi, the pickle module doesn't work

...I'll never forget 'init' again, I'll swear.

Thank you.
by gas
Thu Mar 16, 2017 2:51 pm
Forum: Ren'Py Questions and Announcements
Topic: Draggable Background-JPGs [with x-y-limits w/o story-break]?
Replies: 3
Views: 352

Re: Draggable Background-JPGs [with x-y-limits w/o story-bre

Now we solve it with ergonomics.
What exactly is the case of use?
'cause moving the background at will for the sole purpose of is anti-gaming.
by gas
Thu Mar 16, 2017 2:44 pm
Forum: Ren'Py Questions and Announcements
Topic: Ahi ahi ahi, the pickle module doesn't work
Replies: 2
Views: 253

Ahi ahi ahi, the pickle module doesn't work

It work for other projects I'm working with. So probably depend on the structure. It's so complex that I can't post examples. Could be: label main_menu: return being responsible? If not, what else? I'm sorry, but an uncaught exception occurred. While running game code: File "renpy/common/00keymap.rp...