Search found 910 matches

by _ticlock_
Sun Aug 27, 2023 8:30 am
Forum: Ren'Py Questions and Announcements
Topic: Game slowing down when showing many Text
Replies: 6
Views: 438

Re: Game slowing down when showing many Text

but i got error I'm sorry, but errors were detected in your script. Please correct the errors listed below, and try again. File "game/script.rpy", line 340: invalid syntax j = getattr(store, f"var{i}") ^ Ren'Py Version: Ren'Py 7.4.9.2142 Sat Aug 26 15:20:28 2023 f-strings are no...
by _ticlock_
Sat Aug 26, 2023 6:53 pm
Forum: Ren'Py Questions and Announcements
Topic: onlayer mcsprite in menu
Replies: 3
Views: 316

Re: onlayer mcsprite in menu

Is there a way to make the character stay in the scene the whole time and not hide after every line? Do you want the character stay when the dialogue is shown? Or do you want the character stay even when the dialogue text box is hidden? In the first case, you can modify the say screen to show more ...
by _ticlock_
Sat Aug 26, 2023 4:26 pm
Forum: Ren'Py Questions and Announcements
Topic: onlayer mcsprite in menu
Replies: 3
Views: 316

Re: onlayer mcsprite in menu

I wanted my character to stay on top of the text box so I looked it up and found out I have to use "show character onlayer mcsprite". But when I do that the character stays when I go to the game menu. Help??? You probably want to use side images . They are positioned on top of the text box.
by _ticlock_
Sat Aug 26, 2023 3:06 pm
Forum: Ren'Py Cookbook
Topic: 83 mini game Renpy
Replies: 74
Views: 198181

Re: 71 mini game Renpy

Thank you for the reply, I actually looked at this exact code before asking my question but unfortunately, I never managed to make it work. The arrows just won't appear , I managed to do it once but never managed to do it again but even then, it was impossible for me to click on them... Where in th...
by _ticlock_
Sat Aug 26, 2023 3:01 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Minigame Help - Screens, Inputs, Gameloops - tysm _ticlock_!
Replies: 35
Views: 4659

Re: [SOLVED] Minigame Help - Screens, Inputs, Gameloops - tysm _ticlock_!

https://lemmasoft.renai.us/forums/viewtopic.php?f=51&t=47820&p=562435#top But we've both been struggling to get it to work. Thought it was worth reaching out to you to see if you could help clarify, if you get the chance! :) In the crane minigame we use the following approach: Minigame loop...
by _ticlock_
Thu Aug 17, 2023 10:29 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Reset alpha modification in transform
Replies: 2
Views: 327

Re: Reset alpha modification in transform

$ next_c = next_c+"_active" show image next_c: I did not notice before but you should use show expression statements. $ next_c = next_c+"_active" show expression next_c: it looks like the value of alpha is stuck at 0.0, which affects also other sprites. Any ideas how to fix it? ...
by _ticlock_
Thu Aug 17, 2023 3:17 pm
Forum: Ren'Py Questions and Announcements
Topic: How to embed mini game following choice?
Replies: 3
Views: 374

Re: How to embed mini game following choice?

I'm a little confused why suddenly "chest_unlocked" is supposedly not defined when it used to work fine before? I briefly looked at the code. I believe you put the definition of the chest_unlocked inside the screen. As a result, it is a screen variable that is not defined outside the scre...
by _ticlock_
Thu Aug 17, 2023 12:57 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED]Using function in ATL.
Replies: 4
Views: 407

Re: Using function in ATL.

Thanks for the reply and my first idea was to use choice method, but for what I need would require to write a lot of choices because I want it to have more "random" so to say with more possibilities. So I just simply wanted some sort of function and use like "renpy.random.randint(100...
by _ticlock_
Thu Aug 17, 2023 11:28 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Customers' alignment in a queue
Replies: 9
Views: 670

Re: [Solved] Customers' alignment in a queue

Actually, I wonder. Is there a way to make them move half of the distance between them, instead of jumping on each other places? Or do I need to do it with vbox, since "i" as index is used in the calculations? You can apply a transform. For example: for i, customer in enumerate(customer_q...
by _ticlock_
Wed Aug 16, 2023 10:09 pm
Forum: Ren'Py Questions and Announcements
Topic: How to embed mini game following choice?
Replies: 3
Views: 374

Re: How to embed mini game following choice?

I already tried tinkering with the coding in a couple of ways (to no success) and the fact that the mini game is using screens seems to create some sort of issue - but since I've never used screens before, I couldn't figure out what to do with that information, either... But maybe this is useful in...
by _ticlock_
Sun Aug 13, 2023 10:32 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Customers' alignment in a queue
Replies: 9
Views: 670

Re: Customers' alignment in a queue

I'm getting an "can't multiply sequence by non-int of type 'float'" error. Tried solving it but couldn't reach anything. I made a mistake. You can try this: screen the_customers(): ... for i, customer in enumerate(customer_q): $ the_image = str (customer + "_idle") $ x_align = 0...
by _ticlock_
Thu Aug 10, 2023 3:30 pm
Forum: Ren'Py Questions and Announcements
Topic: How to prevent text from advancing (blank) during transitions?
Replies: 3
Views: 349

Re: How to prevent text from advancing (blank) during transitions?

Thank you for responding. That does achieve the effect of skipping the blank text. However it instantly skips to the next text line. It is better than the alternative, but I would like for it to keep the first string displayed, then update to next string as soon as transition is done. One option is...
by _ticlock_
Thu Aug 10, 2023 2:49 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Customers' alignment in a queue
Replies: 9
Views: 670

Re: Customers' alignment in a queue

I can't get the alignment to work, so either the customers appear from the right side of the queue, or are placed offscreen. What I'm trying to do is a queue growing from right to left side, but leave a space in the middle of the screen, were they're being served. If I correctly understand what you...
by _ticlock_
Thu Aug 10, 2023 12:36 pm
Forum: Ren'Py Questions and Announcements
Topic: Make a button that changes the in game dialogue text color
Replies: 2
Views: 206

Re: Make a button that changes the in game dialogue text color

I want to make a button to my options menu that changes the text color in says, dialogues.I wrote this to make it work but it does not make the required task. Could someone help? imagebutton: idle "gui/blue_button.png" xpos 1416 ypos 984 action SetVariable("gui.text_color","...
by _ticlock_
Thu Aug 10, 2023 10:31 am
Forum: Ren'Py Questions and Announcements
Topic: Disabling keyboard functions
Replies: 4
Views: 258

Re: Disabling keyboard functions

That works, but if the accesibility menu is opened and then the esc button, the player would be able to access to the menu, and that's exactly what I don't want. Is there a way to solve it? 1) screen disable_some_keys(): zorder 2001 key ["hide_windows", "game_menu"] action NullA...