Search found 14 matches
- Mon Jan 08, 2024 12:14 am
- Forum: Ren'Py Questions and Announcements
- Topic: Textbox fading in/out wrong
- Replies: 0
- Views: 135274
Textbox fading in/out wrong
Hello! I have a few different textboxes I'm using for each character. When I try to fade them in and out when the scene changes, it grabs the default textbox file instead. It's like this: start: one "dialogue, dialogue." #showing one's textbox window hide dissolve #snaps to default textbox...
- Sat Dec 16, 2023 7:09 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Drag & Drop Stops Working
- Replies: 2
- Views: 6370
Re: Drag & Drop Stops Working
This will confuse programmers that try to use your code, so good job. :D I'm sorry you were confused, it really wasn't my intention. I'm learning by myself, so if I see other guides in python or other people fix their problems like that, that's how my own code skills tend to develop :p If there are...
- Fri Dec 15, 2023 12:38 am
- Forum: Ren'Py Questions and Announcements
- Topic: Drag & Drop Stops Working
- Replies: 2
- Views: 6370
Drag & Drop Stops Working
Hello! I am having issues with the drag & drop function. The way it works right now is that it makes a list of each item in a list and puts them on the screen to drag and drop. This works great! But only if the items are in a certain order in the list. The player will be able to add items to the...
- Wed Dec 06, 2023 8:54 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Screen Variable Changes When Clicking/Progressing [Solved]
- Replies: 7
- Views: 7802
Re: Screen Variable Changes When Clicking/Progressing
Mkay after a little more fiddling, I removed the other random ints and that fixed it and it looks pretty much the same as I was going for with your code too. tysm for your help!!
- Wed Dec 06, 2023 8:43 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Screen Variable Changes When Clicking/Progressing [Solved]
- Replies: 7
- Views: 7802
Re: Screen Variable Changes When Clicking/Progressing
lst is just an example name. Use whatever name you want for your variables except those that are included in the reserved keywords list. In short, just rename your variables to something that doesn't violate the reserved keywords. Ahh I definitely read that wrong then my bad! I'm not sure why I'm g...
- Wed Dec 06, 2023 5:54 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Screen Variable Changes When Clicking/Progressing [Solved]
- Replies: 7
- Views: 7802
Re: Screen Variable Changes When Clicking/Progressing
I removed the ATL event idle from your transform object. And then, in the screen, I pre-generated the random ints and assigned it to a screen variable rints . Notice also that I'm using lst instead of list here. list is one of the reserved keywords in renpy. Apologies for the late reply! But thank ...
- Sat Dec 02, 2023 1:00 am
- Forum: Ren'Py Questions and Announcements
- Topic: Screen Variable Changes When Clicking/Progressing [Solved]
- Replies: 7
- Views: 7802
Re: Screen Variable Changes When Clicking/Progressing
You can try storing the random int in the screen's parameter. screen conclusion(t=0): ... ...at conclusion_float(0, 300, t) label start: show screen conclusion(renpy.random.randint(-15, 0)) or in screen variables. screen conclusion(): default t = renpy.random.randint(-15, 0) ... ...at conclusion_fl...
- Fri Dec 01, 2023 11:51 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Screen Variable Changes When Clicking/Progressing [Solved]
- Replies: 7
- Views: 7802
Screen Variable Changes When Clicking/Progressing [Solved]
Hello! I have a screen that I'm using that grabs all the items in my list and presents them on screen like this: screen conclusion: vbox align (0.1, 0.5): spacing 100 for e in list: textbutton "[e.n]" action SetVariable('selecting', False), Jump(e.label) at conclusion_float(0, 300, renpy.r...
- Thu Nov 09, 2023 2:52 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Variables in Function Won't Load Correctly
- Replies: 1
- Views: 1617
Variables in Function Won't Load Correctly
Hello! I have a screen/function that displays the time in a clock. The clock progresses, even when the player is still reading current dialogue. This works very well! However, the issue comes with saving/loading the game. When the game is saved, it shows the correct time in the file slots, but when ...
- Sat Oct 28, 2023 6:08 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved] Can you put an ATL transform on a bar?
- Replies: 4
- Views: 3879
- Sat Oct 28, 2023 6:06 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved] Can you put an ATL transform on a bar?
- Replies: 4
- Views: 3879
Re: Can you put an ATL transform on a bar?
Just use transform as you did for imagebutton. Try transform bar_transform(t=0.5): 0.5 parallel: linear t * (config.screen_width / config.screen_height) xalign 1.0 linear t * (config.screen_width / config.screen_height) xalign 0.0 repeat parallel: linear t * (config.screen_height / config.screen_wi...
- Fri Oct 27, 2023 10:38 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved] Can you put an ATL transform on a bar?
- Replies: 4
- Views: 3879
[Solved] Can you put an ATL transform on a bar?
Hi! I'm trying to create a bar within a screen and want it to move/animate on an ATL transform. For example, I'd like this: bar value AnimatedValue(charFriendship, range = 10) xalign 0.5 yalign 0.5: top_bar "gui/bar/friendshipBar_empty.png" bottom_bar "gui/bar/friendshipBar_filled.png...
- Fri Oct 27, 2023 2:19 pm
- Forum: Ren'Py Questions and Announcements
- Topic: ATL causing other imagebuttons to stop working?
- Replies: 2
- Views: 2552
Re: ATL causing other imagebuttons to stop working?
Can you please try formatting it like this? No clue if this fixes things, but it feels weird to me that the "at" statement comes after possible imagebutton statements. At the moment I don't see anything wrong with your code. screen characterCheck(): showif at_cafe: imagebutton auto "...
- Thu Oct 26, 2023 5:53 pm
- Forum: Ren'Py Questions and Announcements
- Topic: ATL causing other imagebuttons to stop working?
- Replies: 2
- Views: 2552
ATL causing other imagebuttons to stop working?
Hello! I have an issue that's giving me this error message: 'NoneType' object has no attribute 'transform' I've tried going through my code to see what I did wrong or what I can fix, but I haven't found anything and I'm sure I missed it somewhere. One thing I think I've determined is what is causing...