Search found 179 matches

by hell_oh_world
Wed Feb 26, 2020 3:21 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] How to update a Dictionary Screen Variable?
Replies: 4
Views: 178

Re: How to update a Dictionary Screen Variable?

Guess I made it work! so the only string argument is the key argument and the dict argument is the actual name of the variable.

Code: Select all

value DictInputValue(inputFields["givenName"], "value")
Thanks for the help Alex!
by hell_oh_world
Wed Feb 26, 2020 3:15 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] How to update a Dictionary Screen Variable?
Replies: 4
Views: 178

Re: How to update a Dictionary Screen Variable?

Try https://www.renpy.org/doc/html/screen_actions.html#DictInputValue . Unfortunately, I have no idea on how to use this Action... I used it something like this? value DictInputValue("inputFields", "['givenName']['value']") But an error appears, it says "string indices must be an integer." Am I usi...
by hell_oh_world
Tue Feb 25, 2020 6:20 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] How to update a Dictionary Screen Variable?
Replies: 4
Views: 178

Re: How to update a Dictionary Screen Variable?

Oh my god! Didn't see that one, this one should definitely work! Gotta try this after I get home. Thanks Alex. I'll see if this will work.
by hell_oh_world
Tue Feb 25, 2020 5:25 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] How to update a Dictionary Screen Variable?
Replies: 4
Views: 178

[SOLVED] How to update a Dictionary Screen Variable?

Hey Folks! Good Morning to all of you! So right now I have my variables inside my screen. I structured one of my variables as a dict, unfortunately, I am unable to update it. Simply ScreenVariableInputValue , which I use because I want to live update the variable using an input, and `SetScreenVariab...
by hell_oh_world
Wed Oct 16, 2019 2:00 am
Forum: Ren'Py Questions and Announcements
Topic: I can't use if statement to perform an action (Jump label)
Replies: 6
Views: 462

Re: I can't use if statement to perform an action (Jump label)

It works!!! Thank you so much! Regarding quotes. I know about that, but I was really confused because I don't quite get why sometimes quotes are used and sometimes not. For example I totally get why they aren't used here: screen movement(leftLocation, rightLocation): But I don't get why they are us...
by hell_oh_world
Tue Oct 15, 2019 3:02 am
Forum: Ren'Py Questions and Announcements
Topic: I can't use if statement to perform an action (Jump label)
Replies: 6
Views: 462

Re: I can't use if statement to perform an action (Jump label)

While running game code: File "game/script.rpy", line 19, in script call screen movement("living","exit") ScriptError: could not find label 'leftLocation'. [/code] I really don't have a clue what I'm doing wrong! Remove the quotes... define y = ("Yukio") screen movement(leftLocation, rightLocation)...
by hell_oh_world
Fri Oct 11, 2019 5:19 pm
Forum: Ren'Py Questions and Announcements
Topic: No skip function for playing movies
Replies: 1
Views: 331

Re: No skip function for playing movies

Is there any statement how to "not skipping" the movie scene for the first time playing? After second play they can skip it like the dialogues. What you can do is to create a variable that will keep track of the already watched movies, then use condition and hard pause with the duration being the s...
by hell_oh_world
Thu Oct 10, 2019 4:58 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Using Two Transitions at Once?
Replies: 3
Views: 394

Re: Using Two Transitions at Once?

Hi guys, If I have an image and "narration" dialogue that I want to play at the same time as the image before it, is there a way to do that? For example, here is my code: I want both the image "tc_fire" and the text below it to dissolve in at the same time. Is this possible?? Try this one: show tc_...
by hell_oh_world
Tue Oct 08, 2019 5:22 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Trouble with hovered animation for choice buttons
Replies: 19
Views: 1073

Re: Trouble with hovered animation for choice buttons

Limited to the error itself: you need str() around choice_number since you're trying to concatenate a string and an integer. I totally forgot that it needs type casting, unlike Java that will convert any numerical value into string once it has been concatenated with a string. Nice! Thanks for corre...
by hell_oh_world
Mon Oct 07, 2019 3:47 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Trouble with hovered animation for choice buttons
Replies: 19
Views: 1073

Re: Trouble with hovered animation for choice buttons

So this works but all menu choices hover/ highlight at the same time. Otherwise, it's working just how I want it to. Oops... Kinda forgot that there were many buttons and that using only one variable will trigger the other. Try this instead. screen choice(items): style_prefix "choice" default hover...
by hell_oh_world
Sun Oct 06, 2019 10:07 am
Forum: Ren'Py Questions and Announcements
Topic: Interpolated text not displaying correctly, but only in one project
Replies: 4
Views: 369

Re: Interpolated text not displaying correctly, but only in one project

$ renpy.notify("Now Playing - %s" %np) Thanks, that works well, however I don't really understand it. Any idea why it won't work how I was previously doing it? Still seems to work in older copies of my project, so it isn't something thats changed in the renpy itself. Quite not sure about it though....
by hell_oh_world
Fri Oct 04, 2019 7:11 pm
Forum: Ren'Py Questions and Announcements
Topic: Screen blur
Replies: 4
Views: 506

Re: Screen blur

im.Blur() is a good function to not add too much images and save space, but it's kinda limiting And what do you mean by this? How does it limit you? Actually I'm not sure on what you want to mask out and more specifically what do you want to achieve. You want the buttons to be masked out like to no...
by hell_oh_world
Fri Oct 04, 2019 6:33 pm
Forum: Ren'Py Questions and Announcements
Topic: Getting the music to play after loading a save game
Replies: 2
Views: 535

Re: Getting the music to play after loading a save game

Here is the situation: - I have a scene where music begins playing after some dialogue, then the music is supposed to stay on loop. Next, I saved after the music begins playing. - When I reload this save, there is no music playing only the background ambience that I have on a separate audio channel...
by hell_oh_world
Fri Oct 04, 2019 6:30 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Disable Interactive Director (Or Bind To Another Key)
Replies: 3
Views: 495

Re: Disable Interactive Director (Or Bind To Another Key)

Hello, since I would like to have 2d shooting passages in my game I am currently trying to bind the keys WASD to the movements of the character. Unfortunately when I press D the Interactive Director opens and the game crashes (because it attempts to save and error: can't pickle a Render). Is there ...
by hell_oh_world
Fri Oct 04, 2019 6:26 pm
Forum: Ren'Py Questions and Announcements
Topic: Quick Menu
Replies: 19
Views: 978

Re: Quick Menu

I can confirm (no pun intended) that when I call the confirm screen in my test game, the quick menu is still usable while the confirm dialogue is up. I can't click any other items I have showing, but I can still use the quick menu. Sure! That is what happens... :cry: This happens I guess because of...