Search found 96 matches

by Yuuji
Fri Mar 13, 2015 5:22 am
Forum: Ren'Py Questions and Announcements
Topic: Interrupt voice on next phrase
Replies: 2
Views: 440

Interrupt voice on next phrase

Hello! I'm looking for a way to implement voice interruption when you go to the next phrase in scenario. For example: $playVoice2('mob', 'op_013') char1 "«Пройдёшь со мной в полицейский участок, и все ненужные вопросы отпадут сами собой. Я сейчас вызову патрульную машину, подождёшь немного?» " char2...
by Yuuji
Wed Mar 11, 2015 12:12 pm
Forum: Ren'Py Questions and Announcements
Topic: End trasformation immediately
Replies: 2
Views: 341

Re: End trasformation immediately

Thank you, PyTom! It works perfectly.
by Yuuji
Tue Mar 10, 2015 11:01 pm
Forum: Ren'Py Questions and Announcements
Topic: End trasformation immediately
Replies: 2
Views: 341

End trasformation immediately

Hello! I wonder if I can end my animation immediately. For example: transform slide_up: xpos 0 ypos -576 pause 1.5 linear 4.0 ypos 0 label start: "Жар, излучаемый разогретым солнцем асфальтом, смешивается с солёным запахом океана, создавая характерную удушливую атмосферу." show bg15b at slide_up wit...
by Yuuji
Tue Mar 10, 2015 12:19 pm
Forum: Ren'Py Questions and Announcements
Topic: Display read text with another color
Replies: 5
Views: 551

Re: Display read text with another color

Oh yeah! It works! Thank you very much, nyaatrap! :)
by Yuuji
Tue Mar 10, 2015 11:22 am
Forum: Ren'Py Questions and Announcements
Topic: Import python
Replies: 4
Views: 517

Re: Import python

My code's just importing datetime class from datetime module. So you can use it to import your own classes from your own modules. Just know, that you can use python 'as-is' freely in 'init python' block.
by Yuuji
Tue Mar 10, 2015 10:58 am
Forum: Ren'Py Questions and Announcements
Topic: Display read text with another color
Replies: 5
Views: 551

Re: Display read text with another color

I tried to look through the skip function but I haven't found an answer :( Maybe someone has any idea?
by Yuuji
Tue Mar 10, 2015 10:54 am
Forum: Ren'Py Questions and Announcements
Topic: Import python
Replies: 4
Views: 517

Re: Import python

Just import it in 'init python:' block as like you import your python scripts in other python scripts. For example:

Code: Select all

init python:
    from datetime import datetime
by Yuuji
Mon Mar 09, 2015 10:52 am
Forum: Ren'Py Questions and Announcements
Topic: Display read text with another color
Replies: 5
Views: 551

Re: Display read text with another color

Donmai, thank you for your answer, but that's definitely not what I'm looking for. If I'm not mistaken ren'py can determine if phrase has been read. This is used when ren'py turns on skipping text. I'm looking for something like this function.
by Yuuji
Mon Mar 09, 2015 8:58 am
Forum: Ren'Py Questions and Announcements
Topic: Display read text with another color
Replies: 5
Views: 551

Display read text with another color

Hello! I want my ren'py game to display text that has already been read with another color. Is there any way to do that?
by Yuuji
Mon Mar 09, 2015 8:40 am
Forum: Ren'Py Questions and Announcements
Topic: Return value returned from screen when pressing textbutton
Replies: 6
Views: 3870

Re: Return value returned from screen when pressing textbutt

I think one of solutions is to create global variable, python function and use them.For example, child screen assigns some value to variable, returns and parent screen uses this value. Well, perhaps this is not perfect solution :)
by Yuuji
Mon Mar 09, 2015 5:10 am
Forum: Ren'Py Questions and Announcements
Topic: Point system for a Quiz-game [SOLVED]
Replies: 7
Views: 809

Re: Point system for a Quiz-game [SOLVED]

It depends on programming language. In C-like languages == is used to compare values and = to assign. In python too. But for example in Pascal in both cases = is used.
by Yuuji
Sun Mar 08, 2015 6:29 pm
Forum: Ren'Py Questions and Announcements
Topic: Point system for a Quiz-game [SOLVED]
Replies: 7
Views: 809

Re: Point system for a Quiz-game

Code: Select all

if q_points == 1:

Something like that.
by Yuuji
Sun Mar 08, 2015 6:16 pm
Forum: Ren'Py Questions and Announcements
Topic: How to delete all saves and one more question
Replies: 2
Views: 1114

Re: How to delete all saves and one more question

PyTom, thank you for your answer!
by Yuuji
Sun Mar 08, 2015 6:16 am
Forum: Ren'Py Questions and Announcements
Topic: How to delete all saves and one more question
Replies: 2
Views: 1114

How to delete all saves and one more question

Hello! I've tried to search through forum topics and ren'py manual for function that deletes all save files but I failed :( Is there that function in ren'py engine? If there isn't please advice me how to do it. Have I access to FileDelete function from python? And one more question. I know that ren'...
by Yuuji
Sat Mar 07, 2015 5:55 am
Forum: Ren'Py Questions and Announcements
Topic: JSON problem[SOLVED!]
Replies: 4
Views: 810

Re: JSON problem

Oh... My problem is solved. I just made a stupid mistake. Now all works fine.