Search found 24 matches

by Dacuna
Fri Jul 31, 2020 1:48 am
Forum: Ren'Py Questions and Announcements
Topic: How to shake the scenario but without hiding character sprite
Replies: 5
Views: 552

Re: How to shake the scenario but without hiding character sprite

Hmm... Good question, not actually sure about that one. You're right in that it should be possible, and probably deserving of its own topic.
by Dacuna
Tue Jul 28, 2020 11:48 pm
Forum: Ren'Py Questions and Announcements
Topic: How to shake the scenario but without hiding character sprite
Replies: 5
Views: 552

Re: How to shake the scenario but without hiding character sprite

No problem!
Yes, the "scene" statement can be used for anything as well, including character sprites. However, it clears anything else that was on the screen.
by Dacuna
Tue Jul 28, 2020 4:10 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] What does the engine use as a reference point when positioning sprites?
Replies: 2
Views: 320

Re: What does the engine use as a reference point when positioning sprites?

Thank you! I opened it a few minutes ago, and it's already making things a lot clearer.
by Dacuna
Tue Jul 28, 2020 1:53 am
Forum: Ren'Py Questions and Announcements
Topic: How to shake the scenario but without hiding character sprite
Replies: 5
Views: 552

Re: How to shake the scenario but without hiding character sprite

You don't need to clear the entire screen with the scene statement.

Just use:

Code: Select all

show sc theatre_seats
Alternatively, if you just want the effect, you could use:

Code: Select all

$ renpy.transition(vpunch)
Hopefully this helped!
by Dacuna
Tue Jul 28, 2020 1:45 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] What does the engine use as a reference point when positioning sprites?
Replies: 2
Views: 320

[SOLVED] What does the engine use as a reference point when positioning sprites?

Hi everyone, I'm a bit confused about how Ren'Py positions sprites relative to their x-position on the screen. When positioning sprites in the game, 0.0 references the left side, 0.5 for the center, and 1.0 for the right side. Sounds simple, except I'm not sure what they're using as a reference poin...
by Dacuna
Wed Jul 22, 2020 12:00 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] How to temporarily hide character sprites?
Replies: 5
Views: 380

Re: How to temporarily hide character sprites?

Yes! It worked! I actually tried something similar before to no avail, but this time, I created an image in-script of the background image but removed the "bg" tag. If I don't, it'll remove the other background and still be behind the character sprites. As for performance issues, while I t...
by Dacuna
Mon Jul 20, 2020 8:14 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] How to temporarily hide character sprites?
Replies: 5
Views: 380

Re: How to temporarily hide character sprites?

I've fiddled a bit with layers beforehand, but I haven't come across a solution yet. It seems as though both the background and character sprites are kept on the same "master" layer, so that doesn't seem to help much, unless I put all my sprites on a user-defined layer, which seems like it...
by Dacuna
Mon Jul 20, 2020 2:25 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] How to temporarily hide character sprites?
Replies: 5
Views: 380

[SOLVED] How to temporarily hide character sprites?

Hi everyone, At a certain point in the game, the player can choose an option to look at his surroundings. When the option is chosen, their sprite disappears to give the player a full shot of the background. Unfortunately, when the sprite has to reappear, I have to use the "show" command to...
by Dacuna
Sat Jul 04, 2020 11:36 am
Forum: Ren'Py Questions and Announcements
Topic: Procedurally unlock menu options
Replies: 4
Views: 495

Re: Procedurally unlock menu options

I also got it to work. Very interesting!
Not being an expert programmer by any means, I'm not sure if it is better than the regular ol' variable way, but sometimes being simple to use is enough.

Thank you!
by Dacuna
Sat Jul 04, 2020 1:59 am
Forum: Ren'Py Questions and Announcements
Topic: Procedurally unlock menu options
Replies: 4
Views: 495

Re: Procedurally unlock menu options

That would work, but is there a better way of doing it? Maybe one that doesn't make use of so many variables? I could do that, but because I'm going to be doing this all throughout my game, it would result in me either using a couple hundred variables, or reusing the same variables a couple hundred ...
by Dacuna
Fri Jul 03, 2020 11:40 pm
Forum: Ren'Py Questions and Announcements
Topic: Procedurally unlock menu options
Replies: 4
Views: 495

Procedurally unlock menu options

Hi everyone, I want options in a specific menu to unlock after another option in the same menu is chosen. For instance, I would go: menu options: "Option 1": "You have chosen option 1." jump options "Option 2" if Option 1 was chosen: "This option is only available ...
by Dacuna
Sun Mar 15, 2020 10:39 am
Forum: Ren'Py Questions and Announcements
Topic: How to pause and then play a certain track at that point?
Replies: 4
Views: 395

Re: How to pause and then play a certain track at that point?

You know, that's a very good point. I could just skip to the main part of the song... As for the link, the person's example doesn't work as stated. When I try to unpause with $ fading_pause(), I just get an error. "TypeError: unsupported operand type(s) for *: 'NoneType' and 'int'" I even ...
by Dacuna
Sat Mar 14, 2020 8:28 pm
Forum: Ren'Py Questions and Announcements
Topic: How to pause and then play a certain track at that point?
Replies: 4
Views: 395

Re: How to pause and then play a certain track at that point?

Unfortunately, that doesn't seem to work, even after renaming my variable "red".
by Dacuna
Sat Mar 14, 2020 5:35 pm
Forum: Ren'Py Questions and Announcements
Topic: How to pause and then play a certain track at that point?
Replies: 4
Views: 395

How to pause and then play a certain track at that point?

Say I have a particularly long song with a long opening. Suddenly, a mysterious person pops up and another track plays. Then, you find out that person was really your close friend, so the first song can continue playing. I don't want to start the first song all over again, so how can I play it back ...
by Dacuna
Sat Mar 14, 2020 5:30 pm
Forum: Ren'Py Questions and Announcements
Topic: How to capitalize a character name tag?
Replies: 2
Views: 663

Re: How to capitalize a character name tag?

Sorry, totally forgot about this post! Just wanted to say thanks, it works!