Search found 910 matches

by _ticlock_
Sun Jun 25, 2023 5:09 pm
Forum: Ren'Py Questions and Announcements
Topic: The day and night cycle does not work
Replies: 6
Views: 524

Re: The day and night cycle does not work

cuteankle wrote: Sun Jun 25, 2023 3:26 pm
You don’t have return statement in the label room_day.

Instead of using while True, you can use jump statement. This way you don’t need additional indent.

Code: Select all


label newday:
    if energy == 3:
        call room_morning
    …
    jump newday

by _ticlock_
Sun Jun 25, 2023 4:30 pm
Forum: Ren'Py Questions and Announcements
Topic: [solved]properties 'anchor' and 'align' conflict with each other?
Replies: 7
Views: 1010

Re: properties 'anchor' and 'align' conflict with each other?

align (0.5,0.5) anchor (0.0, 0.0) I am not sure when they started to conflict. Align is supposed to set both pos and anchor, so they should conflict with each other. I believe documentation never explained what should happen if you combine them together. That is probably why the changelog may not e...
by _ticlock_
Fri Jun 23, 2023 11:47 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Glitch when rotating a screen
Replies: 2
Views: 179

Re: Glitch when rotating a screen

Any way to fix that? I think we can all agree a card with nothing on it would be boring... I believe it is due to gl_depth=True and the text being partially transparent. Not sure if there is a simple way to avoid it. As an option, you can take 2 steps: (don't use gl_depth) 1) rotate card_back from ...
by _ticlock_
Thu Jun 22, 2023 1:06 pm
Forum: Ren'Py Questions and Announcements
Topic: Spacing between lines in history screen
Replies: 4
Views: 1264

Re: Spacing between lines in history screen

Looking online it seems like setting "define gui.history_height" to "None" in gui.rpy should fix it(?), but I did that, and it didn't change anything. The default history screen uses: use game_menu(_("History"), scroll=("vpgrid" if gui.history_height else &qu...
by _ticlock_
Thu Jun 22, 2023 12:19 pm
Forum: Ren'Py Questions and Announcements
Topic: How to create a checkpoint and return to it
Replies: 6
Views: 344

Re: How to create a checkpoint and return to it

This all gives me flashbacks of writing network software in the 90s. You can guarantee that two people would be editing the same file at the same time, would delete a file from the disk someone else was using, and no matter how deeply coded the security would be, somebody would always end up overwr...
by _ticlock_
Thu Jun 22, 2023 11:04 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED]Fake main menu
Replies: 2
Views: 269

Re: Fake main menu

Okay I had some help figuring out how to make the fake main menu. How the problems are 1. My video file for the fake splash screen won't play 2. I don't now how to change the navigation and buttons for my fake main menu 3. I don't know how to make it so that the fake main menu leads to the fake sta...
by _ticlock_
Thu Jun 22, 2023 12:23 am
Forum: Ren'Py Questions and Announcements
Topic: Setting a variable within a screen not working
Replies: 6
Views: 317

Re: Setting a variable within a screen not working

Any ideas? Combining the choice menu with another screen could be tricky. Most solutions have limitations or are not applicable in some cases. In addition to jeffster suggestions: 1) If you don’t need the other screen while being in the choice menu, you can hide other screens or make the choice scr...
by _ticlock_
Wed Jun 21, 2023 11:47 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED]Can you make a fake game start up?
Replies: 17
Views: 703

Re: Can you make a fake game start up?

Okay I had some help figuring out how to make the fake main menu. How the problems are 1) You need to put name of the file inside the quotation marks $ renpy.movie_cutscene("YBF-TitleScreen_1.mpg") 2) You can also use the screen navigation for fake menu if you add similar checks to screen...
by _ticlock_
Wed Jun 21, 2023 8:58 pm
Forum: Ren'Py Questions and Announcements
Topic: Invalid syntax with transforms [SOLVED]
Replies: 2
Views: 472

Re: Invalid syntax with transforms

Hello, I'm trying to make a simple transform to use on a layeredimage. However, when I try to define it, I get this error (saying it doesn't recognize the name of the transform after the first letter): File "game/src/portraits/haewon/haewon_global.rpy", line 13: invalid syntax transform h...
by _ticlock_
Wed Jun 21, 2023 5:17 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED]Can you make a fake game start up?
Replies: 17
Views: 703

Re: Can you make a fake game start up?

I tried if that's didn't seem to work, so I tried to put a temporary screen instead and it keeps saying “persistent.confirmation”:This persistent variable has not been defaulted or defined. Based on the posted code, I suggest the following (there is no reason to mess with save files or the main men...
by _ticlock_
Wed Jun 21, 2023 1:21 pm
Forum: Ren'Py Questions and Announcements
Topic: Play sound partial playback
Replies: 4
Views: 323

Re: Play sound partial playback

Triority wrote: Wed Jun 21, 2023 12:42 pm Ah, so an addition loop has to be added
<loop 1.0> does not loop. It only specifies the position at which the second and later play-throughs begin playing. play sound is not looped by default. In contrast, play music is looped by default.
by _ticlock_
Wed Jun 21, 2023 11:10 am
Forum: Ren'Py Questions and Announcements
Topic: Non empty block statement error in script
Replies: 3
Views: 722

Re: Non empty block statement error in script

menu: if choice_1_nonchalant1: nvlmc "It's not like I care but it's a big event I guess." You have a menu statement but no choices. Either you need to remove menu statement or add choices. Possibly you meant to do something like: menu: "Choice - nonchalant": nvlmc "It's not...
by _ticlock_
Wed Jun 21, 2023 11:01 am
Forum: Ren'Py Questions and Announcements
Topic: Play sound partial playback
Replies: 4
Views: 323

Re: Play sound partial playback

With this command : play sound "<from 0.0 to 9.4 loop 1.0>", the sound won't loop (at all). Is there any way of looping from a specific position in the sound file? I can loop from the beginning (or change the from value), but then I lose a bit of the sound effect By default, play sound is...
by _ticlock_
Tue Jun 20, 2023 7:09 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED]Can you make a fake game start up?
Replies: 17
Views: 703

Re: Can you make a fake game start up?

Would I put a auto save flag afterg the player made the first choice? I wanted the game to restart after, also well I want the some certain splash screens to appear once with the fake main menu and also never appear again? You can’t save in the main menu. You can use a persistent variable to add ad...
by _ticlock_
Tue Jun 20, 2023 1:39 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED]Can you make a fake game start up?
Replies: 17
Views: 703

Re: Can you make a fake game start up?

I wanted it to happen once and the player can't go back to it unless all save data is deleted, like the nonpoint of return sequence in Doki Doki literature club. I hope you get what I mean I don't want to spoil it if anyone see this 😅 An example using a persistent variable: default persistent.fake_...