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.
-
amaturemanga
- Regular
- Posts: 94
- Joined: Sun Mar 08, 2015 6:55 pm
- Deviantart: amaturemanga
- Skype: amature.manga
-
Contact:
#1
Post
by amaturemanga » Sat May 21, 2016 4:42 pm
Hello everyone, im trying to make this scene but im having a little trouble on it what im trying to do is i have a background of a kitchen and a sprite displayed on the screen of a character i named Saki. In the scene Saki is pissed and what i want to do is have a new background fadein of a dragon head and its working like how i want it. However when the image fades in the sprite disappears. I want the background to change but not the sprite to go away. Here's my code for the scene:
Code: Select all
hide Saki shocked with fastdissolve
show Saki pissed with fastdissolve
play music "Minima.mp3" fadein 3.0
s"\"Ho-oh! What was that? Did i just hear you correctly? Did you just ask me to make you, your breakfast?"
story "Uh-oh, no doubt about it. I triggered it. It's..."
hide breakfast with fastdissolve
show dragonrage with fastdissolve
story "THE DRAGON'S RAGE!!"
Last edited by
amaturemanga on Sat May 21, 2016 5:42 pm, edited 2 times in total.
-
xavimat
- Eileen-Class Veteran
- Posts: 1458
- Joined: Sat Feb 25, 2012 8:45 pm
- Completed: Yeshua, Jesus Life, Cops&Robbers
- Projects: Fear&Love, unknown
- Organization: Pilgrim Creations
- Github: xavi-mat
- itch: pilgrimcreations
- Location: Spain
-
Contact:
#2
Post
by xavimat » Sat May 21, 2016 4:53 pm
Edited to correct:
You can show the dragon BEHIND the sprite, and do not touch the background:
Code: Select all
scene kitchen # show the background
show Saki pissed # show the sprite
show dragonrage behind Saki with fastdissolve # Show the dragon
story "THE DRAGON'S RAGE"
hide dragonrage with whatever
https://www.renpy.org/doc/html/displayi ... -statement
Last edited by
xavimat on Sat May 21, 2016 5:25 pm, edited 1 time in total.
-
amaturemanga
- Regular
- Posts: 94
- Joined: Sun Mar 08, 2015 6:55 pm
- Deviantart: amaturemanga
- Skype: amature.manga
-
Contact:
#3
Post
by amaturemanga » Sat May 21, 2016 5:09 pm
xavimat wrote:You can show the dragon BEHIND the sprite, and do not touch the background:
Code: Select all
scene kitchen # show the background
show Saki pissed # show the sprite
show dragonrage with fastdissolve behind Saki # Show the dragon
story "THE DRAGON'S RAGE"
hide dragonrage with whatever
https://www.renpy.org/doc/html/displayi ... -statement
still not working im getting errors
Code: Select all
Parsing the script failed.
File "game/script.rpy", line 285: end of line expected.
show dragonrage with fastdissolve behind(arrow) saki
-
xavimat
- Eileen-Class Veteran
- Posts: 1458
- Joined: Sat Feb 25, 2012 8:45 pm
- Completed: Yeshua, Jesus Life, Cops&Robbers
- Projects: Fear&Love, unknown
- Organization: Pilgrim Creations
- Github: xavi-mat
- itch: pilgrimcreations
- Location: Spain
-
Contact:
#4
Post
by xavimat » Sat May 21, 2016 5:24 pm
amaturemanga wrote:still not working im getting errors
Code: Select all
Parsing the script failed.
File "game/script.rpy", line 285: end of line expected.
show dragonrage with fastdissolve behind(arrow) saki
Oh, my bad, you can't have "with" before "behind", try:
Code: Select all
show dragonrage behind saki with fastdissolve
-
amaturemanga
- Regular
- Posts: 94
- Joined: Sun Mar 08, 2015 6:55 pm
- Deviantart: amaturemanga
- Skype: amature.manga
-
Contact:
#5
Post
by amaturemanga » Sat May 21, 2016 5:41 pm
xavimat wrote:amaturemanga wrote:still not working im getting errors
Code: Select all
Parsing the script failed.
File "game/script.rpy", line 285: end of line expected.
show dragonrage with fastdissolve behind(arrow) saki
Oh, my bad, you can't have "with" before "behind", try:
Code: Select all
show dragonrage behind saki with fastdissolve
ok now its working thanks
Users browsing this forum: Bing [Bot]