Search found 280 matches

by Levrex
Mon Dec 03, 2012 5:40 am
Forum: Ren'Py Questions and Announcements
Topic: Play sound with loop
Replies: 4
Views: 684

Re: Play sound with loop

Register a sfx channel in init block, then play sounds on it normally.
In my case the name of channel is ambient.

$ renpy.music.register_channel("ambient", "sfx", True)
play ambient lsys19
by Levrex
Wed Nov 28, 2012 1:38 pm
Forum: Ren'Py Questions and Announcements
Topic: Quick Menu - How to toggle visibility of the textbox?
Replies: 1
Views: 1559

Re: Quick Menu - How to toggle visibility of the textbox?

It is doable, but not without some mind screwing... Due to the fact that the default quick_menu is called within a dialogue screen, possible two ways to prevent it from being hidden at hiding dialogue are: 1. Step one is similar for both screens. Remove all links to the said screen in screens.rpy. I...
by Levrex
Tue Nov 27, 2012 4:39 am
Forum: Ren'Py Questions and Announcements
Topic: How to add Song Information to "Music Room." [Solved]
Replies: 10
Views: 976

Re: How to add Song Information to "Music Room."

Answer to real question is yes. ======= Answer to your question is below. textbutton _("So-n-so Song"): action [mr.Play("music/SNS.ogg"), Show("music_info", chapter_text=u'The song that's played currently is called "So-n-so Song" and was written by The So-n-So...
by Levrex
Tue Nov 27, 2012 4:33 am
Forum: Ren'Py Questions and Announcements
Topic: Other Commands within Text? [SOLVED]
Replies: 2
Views: 370

Re: Other Commands within Text?

Use extend instead. With {nw}, if you don't really want a wait.

Code: Select all

e "Text, then pause with a wait."
play sound "soundeffect.wav"
extend " NOW play the sound."
by Levrex
Mon Nov 26, 2012 12:39 pm
Forum: Ren'Py Questions and Announcements
Topic: Different responses to different renpy.input entries[Solved]
Replies: 4
Views: 2545

Re: Different responses to different renpy.input entries

You forgot dollar sign before the input.
You're dealing with variables, remember.

No more errors there.
by Levrex
Sun Nov 25, 2012 3:06 am
Forum: Ren'Py Questions and Announcements
Topic: Showing Images On The Gallery
Replies: 2
Views: 639

Re: Showing Images On The Gallery

You have to use aliases, not the image names themselves.
Defining image meido = "meido.jpg"
and changing the image string to "meido" will do.
by Levrex
Thu Nov 22, 2012 10:26 pm
Forum: Ren'Py Questions and Announcements
Topic: UnicodeDecodeError? (Solved)
Replies: 5
Views: 1224

Re: UnicodeDecodeError?

This isn't the full line, right?

Mind providing the fake_end.rpy?
by Levrex
Wed Nov 21, 2012 1:09 pm
Forum: Ren'Py Questions and Announcements
Topic: GUI Help for Touchscreen (rollback with button) [SOLVED!]
Replies: 11
Views: 1753

Re: Need GUI Help for Touchscreen

PyTom wrote:Why?
Because i wrote that he'll need to look up a function, then write one of his own... when it was already there and ready to use.
by Levrex
Tue Nov 20, 2012 11:57 pm
Forum: Ren'Py Questions and Announcements
Topic: Questions about voice acting
Replies: 1
Views: 660

Re: Questions about voice acting

1) Huh? It doesn't stop automatically? Then use the following callback for all characters. May be wrong event, beware. def stop_voice(event, **kwargs): if event == "end": renpy.music.stop(channel="voice") 2) Make a button which deliberately sets the value for "voice volume&q...
by Levrex
Tue Nov 20, 2012 4:45 am
Forum: Ren'Py Questions and Announcements
Topic: GUI Help for Touchscreen (rollback with button) [SOLVED!]
Replies: 11
Views: 1753

Re: Need GUI Help for Touchscreen

PyTom wrote:You probably want the Rollback and RollForward actions.
Oh, shame on me.

===

Right, Hyorei, just like the default.
Though an action is already there.

Code: Select all

textbutton _("BACK") action Rollback()
by Levrex
Mon Nov 19, 2012 5:23 am
Forum: Ren'Py Questions and Announcements
Topic: GUI Help for Touchscreen (rollback with button) [SOLVED!]
Replies: 11
Views: 1753

Re: Need GUI Help for Touchscreen

If you mean several lines... then, maybe, you can figure something out by looking at nvl "paged" rollback, which was implemented in 6.14. If you mean simple rollback, here: http://www.renpy.org/wiki/renpy/doc/reference/functions/renpy.rollback If direct input of renpy.rollback doesn't work...
by Levrex
Sun Nov 18, 2012 9:58 pm
Forum: Ren'Py Questions and Announcements
Topic: GUI Help for Touchscreen (rollback with button) [SOLVED!]
Replies: 11
Views: 1753

Re: Need GUI Help for Touchscreen

Yes, you can simply replace it - if you're completely sure in what you're doing, of course. You'll need to kill hbox and insert an imagemap in its place. If you're talking about "screen quick_menu", yeah. I can't really figure out what's the problem in rollback and "back" button....
by Levrex
Sun Nov 18, 2012 10:46 am
Forum: Ren'Py Questions and Announcements
Topic: GUI Help for Touchscreen (rollback with button) [SOLVED!]
Replies: 11
Views: 1753

Re: Need GUI Help for Touchscreen

Imagemap can be used.

Either if you want to change the button size when aiming at or change the imagemap itself, look here:
http://lemmasoft.renai.us/forums/viewto ... =8&t=16630

Though it is much easier to use textbuttons with edited theme images (which are found in common folder)...