Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
-
Andredron
- Miko-Class Veteran
- Posts: 535
- Joined: Thu Dec 28, 2017 2:37 pm
- Completed: Kimi ga nozomu renpy-port(demo), Albatross Koukairoku(demo)
- Projects: Sisters ~Natsu no Saigo no Hi~(renpy-port)
- Location: Russia
-
Contact:
#1
Post
by Andredron » Mon Jun 20, 2022 12:24 am
Hi, everybody,
In the project, I have to use a crutch in the form of this code:
Code: Select all
label start:
scene anim_01
voice "voice/001.ogg"
ger "bla-bla{nw}"
show anim_02
ger "bla-bla{fast}"
My problem is that when I call the history, I have the phrase displayed 2 times
There is no code for such a plan
Code: Select all
label start:
scene anim_01
voice "voice/001.ogg"
ger "bla-bla{nw}"
$ disable_history = True
show anim_02
ger "bla-bla{fast}"
$ disable_history = False
-
Syrale
- Regular
- Posts: 99
- Joined: Sun Oct 25, 2015 10:28 am
- Completed: Robot Daycare, Deep Sea Valentine, Locke(d)
- Projects: Artificial Selection, rei_carnation
- itch: kigyo
- Discord: kigyo#2564
-
Contact:
#3
Post
by Syrale » Mon Jun 20, 2022 6:12 am
An alternate solution that I tend to use is:
Code: Select all
label start:
scene anim_01
voice "voice/001.ogg"
ger "bla-bla{nw}"
show anim_02
extend ""
That way you don't need to deal with the history at all.
-
Andredron
- Miko-Class Veteran
- Posts: 535
- Joined: Thu Dec 28, 2017 2:37 pm
- Completed: Kimi ga nozomu renpy-port(demo), Albatross Koukairoku(demo)
- Projects: Sisters ~Natsu no Saigo no Hi~(renpy-port)
- Location: Russia
-
Contact:
#4
Post
by Andredron » Mon Jun 20, 2022 3:27 pm
Guys, thank you so much!
Users browsing this forum: Bing [Bot]