Search found 2437 matches

by Alex
Sat Jun 12, 2010 6:05 pm
Forum: Ren'Py Questions and Announcements
Topic: Question about sound channels
Replies: 2
Views: 370

Question about sound channels

Hi folks! I tried to define some new sound channels like this init python: renpy.music.register_channel("step", "sound", True) renpy.music.register_channel("clock", "sound", True) and later use them as $ renpy.music.play("ticking.ogg", channel="clock", fadein = 0.5, if_changed=True) Well, I can hear...
by Alex
Sat Jun 05, 2010 5:46 am
Forum: Creator Discussion
Topic: Does anyone here know how to include voice in a VN?
Replies: 2
Views: 348

Re: Does anyone here know how to include voice in a VN?

You should play music and voice at different channels to make them sound both at the same time.
http://www.renpy.org/wiki/renpy/doc/reference/Audio
by Alex
Fri Jun 04, 2010 11:44 am
Forum: Completed Games
Topic: The Life of a Pacifist
Replies: 24
Views: 4870

Re: The Life of a Pacifist

Uh, nice little game...)) Graphics and music make me feel nostalgie about old console games...
and I totally agreed with the main idea - this world is sick.
by Alex
Mon May 31, 2010 3:49 pm
Forum: Ren'Py Questions and Announcements
Topic: A timer that counts down on screen
Replies: 13
Views: 1671

Re: A timer that counts down on screen

Hm, I don`t get such an error message (tried to quit during countdown and after jump to label)...
Let me guess:
do you use only one countdown?, do you load from save file, that was made befor?, what for "global temps_perdu" is? :?
by Alex
Mon May 31, 2010 3:13 pm
Forum: Ren'Py Questions and Announcements
Topic: A timer that counts down on screen
Replies: 13
Views: 1671

Re: A timer that counts down on screen

Ah. I see...
When your countdown reaches 0 it starts to jump to lable and going on and on till it shown. So the first thing you should do at the label "temps_echoue" - is to hide countdown to make it stop jumping.

Code: Select all

label temps_echoue:
    hide countdown
    #rest of the code
by Alex
Mon May 31, 2010 2:19 pm
Forum: Ren'Py Questions and Announcements
Topic: A timer that counts down on screen
Replies: 13
Views: 1671

Re: A timer that counts down on screen

You don`t need to use "return" to jump some label, just

Code: Select all

else:
    renpy.jump('temps_echoue')
by Alex
Mon May 31, 2010 2:07 pm
Forum: Ren'Py Questions and Announcements
Topic: Changing speed of individual lines
Replies: 2
Views: 511

Re: Changing speed of individual lines

You could define two characters with same name, but different text speed, like init: $ e = Character('Eileen', color="#c8ffc8", window_background = Frame("frame.png", 15, 15)) $ e_slow = Character('Eileen', kind=e , what_slow_speed=30) label start: e "Hello world!" e_slow "H-e-l-l-o _ _ _ w-o-r-l-d-...
by Alex
Sat May 29, 2010 1:28 pm
Forum: Ren'Py Questions and Announcements
Topic: A new screen question
Replies: 13
Views: 1032

Re: A new screen question

When you "call" some label "in new context", you need to "return" to game context. label explanation: scene bg dict ## Long, long explanation return If you need a button, it could be like label explanation: scene bg dict ## Long, long explanation $ ui.textbutton ("Return", clicked=ui.returns("True")...
by Alex
Sat May 29, 2010 3:50 am
Forum: Ren'Py Questions and Announcements
Topic: Ui text?
Replies: 22
Views: 1757

Re: Ui text?

That was just an example of showing missions. To show mission info I used a list <missions_list>, each element of it represents a mission $ missions_list = [Mission0, Mission1, Mission2] And every mission has its title and description, so it should be a list too $ Mission1 = ["Title1", "Description1...
by Alex
Fri May 28, 2010 12:40 pm
Forum: Ren'Py Questions and Announcements
Topic: Ui text?
Replies: 22
Views: 1757

Re: Ui text?

You can try something like this init: $ style.button_text["my_button"].size = 28 $ style.button_text["my_button"].idle_color="#ffffff" $ style.button_text["my_button"].hover_color="#dbdef5" # The game starts here. label start: $ missions_list =[ ["Mission 1", "Rescue hostages\nStay alive\nReturn hom...
by Alex
Thu May 27, 2010 12:02 pm
Forum: Completed Games
Topic: [GxB] Mail Order Bride
Replies: 27
Views: 44237

Re: Mail Order Bride

Try to look through the game code...)) :roll:
by Alex
Thu May 27, 2010 11:56 am
Forum: Ren'Py Questions and Announcements
Topic: Question about Music Room
Replies: 1
Views: 273

Re: Question about Music Room

Hi, again! Still didn`t fix my music room...( In original code, the button for music room is added to classic main menu $ config.main_menu.insert(3, ("Music Room", "music_room", "True")) But I want to make my own main menu of textbuttons, so I wonder, what function (or command - don`t know how to sa...
by Alex
Sat May 22, 2010 5:04 pm
Forum: Ren'Py Questions and Announcements
Topic: Question about Music Room
Replies: 1
Views: 273

Question about Music Room

Hi, folks! I tried recipe for "Music room" from cookbook and met some problems - I`m unable to make it works correct for me. If someone could explain me what`s wrong... Well, I have main menu made of textbuttons and one of them leads to "Music room" and I pasted the code for it from cookbook. Proble...
by Alex
Sat May 22, 2010 8:25 am
Forum: Ren'Py Questions and Announcements
Topic: Sound Effects in the middle of text
Replies: 2
Views: 624

Re: Sound Effects in the middle of text

Well, you can try to mess with extended text, like label start: e "You've created a new Ren'Py game." e "Once you add a story, pictures, and {nw}" play sound "18005551212.ogg" extend " music, you can release it to the world!" As reference says: "{nw}, at the end of a block of text, causes the curren...
by Alex
Sun May 16, 2010 5:26 pm
Forum: Completed Games
Topic: [GxB] Mail Order Bride
Replies: 27
Views: 44237

Re: Mail Order Bride

Hurray to Great Depression...