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 » Mon Nov 09, 2020 8:32 pm
Hey there recently i created two basic atl rain animation. The first one works fine but the second no matter what i do it doesnt show up in game. I dont get any errors its as if i didnt save it or the animation is commented out neither of that is the case. Not sure why this is happening i even tried copy and pasting the first rain animation. Since that one did work, even that didnt do anything. Below is the atl code as well as how im implementing it.
Animations.rpy
Code: Select all
image rain:
"Images/Animations/rain1.jpg"
0.1
"Images/Animations/rain2.jpg"
0.1
"Images/Animations/rain3.jpg"
0.1
"Images/Animations/rain4.jpg"
0.1
"Images/Animations/rain5.jpg"
0.1
"Images/Animations/rain7.jpg"
0.1
"Images/Animations/rain8.jpg"
0.1
"Images/Animations/rain9.jpg"
0.1
"Images/Animations/rain10.jpg"
0.1
repeat
image rain2:
"Images/Animations/rain2-1.jpg"
0.1
"Images/Animations/rain2-2.jpg"
0.1
"Images/Animations/rain2-3.jpg"
0.1
"Images/Animations/rain2-4.jpg"
0.1
"Images/Animations/rain2-6.jpg"
0.1
"Images/Animations/rain2-7.jpg"
0.1
"Images/Animations/rain2-8.jpg"
0.1
"Images/Animations/rain2-9.jpg"
0.1
"Images/Animations/rain2-10.jpg"
0.1
repeat
script.rpy
Code: Select all
label Z12ShoppingCentreA:
scene img7 with dissolve
n "Just a little bit down the road from my street is the Z12 Shopping Centre."
n "I don't know the exact reasoning, as to why it's called Z12 though."
n "All i know, is it's fairly big shopping centre. And across the street from it is Leopard's Bush."
n "A Park me and Saki like to cut through as a shortcut as our school is on the other side of the park."
mc "Yawwwnnn"
sa "Ehhh, are you still tired?"
mc "Slightly, I did just wake up afterall."
sa "Hey, who fault is that! You should be grateful I woke you up."
mc "Hehe, yeah I am grateful a cute girl came to bang on my door to wake me up."
sa "Ehhhh? Cute! Shut it."
n "Saki says this while blushing. As tough of a girl Saki is. She still a girl so i guess even Saki can be feminine."
n "I'll keep that to myself though."
scene img8 with blinds
n "Across the street from Z12 is a small park, me and Saki like to cut through on our way to school."
n "This is Leopard's Park, it's not that big but on the other side of the park is our school."
n "So it serves as a good shortcut."
#show saki looking away
n "I glanced over at Saki, and noticed she was trying to look away from the left of the park."
mc "Oh, yeah this park has that place..."
n "I say this myself as i think back to a specific night."
scene rain with flash
n "It was a dark and stormy night"
n "I had just gotten into an argument with my parents, and in my rage to this day i have no idea why."
n "I decided to storm out in the pouring rain"
#Maya worried
ma "SHUYAKU WAIT!! WHERE ARE YOU GOING?!"
#robert mad
r "That damn kid, what does he think he's doing."
scene rain2
n "After running out i started running and running not even looking back."
return
Last edited by
amaturemanga on Sat Nov 14, 2020 7:59 pm, edited 1 time in total.
-
rayminator
- Miko-Class Veteran
- Posts: 754
- Joined: Fri Feb 09, 2018 12:05 am
- Location: Canada
-
Contact:
#2
Post
by rayminator » Mon Nov 09, 2020 9:49 pm
have you tried removing - and use _?
have you tried using show instead of scene?
-
amaturemanga
- Regular
- Posts: 94
- Joined: Sun Mar 08, 2015 6:55 pm
- Deviantart: amaturemanga
- Skype: amature.manga
-
Contact:
#3
Post
by amaturemanga » Tue Nov 10, 2020 3:58 pm
rayminator wrote: ↑Mon Nov 09, 2020 9:49 pm
have you tried removing - and use _?
have you tried using show instead of scene?
yes i did i changed the file names in the actual images and in the code same thing even tried show same thing.
-
rayminator
- Miko-Class Veteran
- Posts: 754
- Joined: Fri Feb 09, 2018 12:05 am
- Location: Canada
-
Contact:
#4
Post
by rayminator » Tue Nov 10, 2020 4:32 pm
I just tested it they both work fine
what version of renpy are you using?
maybe try to change the name of the second rain into something else
-
amaturemanga
- Regular
- Posts: 94
- Joined: Sun Mar 08, 2015 6:55 pm
- Deviantart: amaturemanga
- Skype: amature.manga
-
Contact:
#5
Post
by amaturemanga » Tue Nov 10, 2020 6:27 pm
im using version 7.3.5.606 i actually did rename the files the new name is rainV2_x (where x is the frame number)
-
_ticlock_
- Veteran
- Posts: 391
- Joined: Mon Oct 26, 2020 5:41 pm
-
Contact:
#6
Post
by _ticlock_ » Tue Nov 10, 2020 6:51 pm
Is it possible that something is wrong with the images for 2nd animation? The resolution might be wrong. What if you change half of the images for 2nd animation with images from 1st animation? Is it showing anything?
-
amaturemanga
- Regular
- Posts: 94
- Joined: Sun Mar 08, 2015 6:55 pm
- Deviantart: amaturemanga
- Skype: amature.manga
-
Contact:
#7
Post
by amaturemanga » Tue Nov 10, 2020 7:23 pm
_ticlock_ wrote: ↑Tue Nov 10, 2020 6:51 pm
Is it possible that something is wrong with the images for 2nd animation? The resolution might be wrong. What if you change half of the images for 2nd animation with images from 1st animation? Is it showing anything?
no still the same thing
-
rayminator
- Miko-Class Veteran
- Posts: 754
- Joined: Fri Feb 09, 2018 12:05 am
- Location: Canada
-
Contact:
#8
Post
by rayminator » Tue Nov 10, 2020 9:12 pm
i have no clue why it's not work right for you but I can suggest that you change into video and put it like this
make a new rpy file called video.rpy and put this into it
Code: Select all
image rain2 movie = Movie(play="videos/your_video.webm", loop=True)
and in you script.rpy where you want to put it
Code: Select all
label Z12ShoppingCentreA:
scene img7 with dissolve
n "Just a little bit down the road from my street is the Z12 Shopping Centre."
n "I don't know the exact reasoning, as to why it's called Z12 though."
n "All i know, is it's fairly big shopping centre. And across the street from it is Leopard's Bush."
n "A Park me and Saki like to cut through as a shortcut as our school is on the other side of the park."
mc "Yawwwnnn"
sa "Ehhh, are you still tired?"
mc "Slightly, I did just wake up afterall."
sa "Hey, who fault is that! You should be grateful I woke you up."
mc "Hehe, yeah I am grateful a cute girl came to bang on my door to wake me up."
sa "Ehhhh? Cute! Shut it."
n "Saki says this while blushing. As tough of a girl Saki is. She still a girl so i guess even Saki can be feminine."
n "I'll keep that to myself though."
scene img8 with blinds
n "Across the street from Z12 is a small park, me and Saki like to cut through on our way to school."
n "This is Leopard's Park, it's not that big but on the other side of the park is our school."
n "So it serves as a good shortcut."
#show saki looking away
n "I glanced over at Saki, and noticed she was trying to look away from the left of the park."
mc "Oh, yeah this park has that place..."
n "I say this myself as i think back to a specific night."
scene rain with flash
n "It was a dark and stormy night"
n "I had just gotten into an argument with my parents, and in my rage to this day i have no idea why."
n "I decided to storm out in the pouring rain"
#Maya worried
ma "SHUYAKU WAIT!! WHERE ARE YOU GOING?!"
#robert mad
r "That damn kid, what does he think he's doing."
show rain2 movie
n "After running out i started running and running not even looking back."
hide rain2 movie
return
-
amaturemanga
- Regular
- Posts: 94
- Joined: Sun Mar 08, 2015 6:55 pm
- Deviantart: amaturemanga
- Skype: amature.manga
-
Contact:
#9
Post
by amaturemanga » Tue Nov 10, 2020 11:27 pm
same exact thing idk why this is happening lol.
-
_ticlock_
- Veteran
- Posts: 391
- Joined: Mon Oct 26, 2020 5:41 pm
-
Contact:
#10
Post
by _ticlock_ » Tue Nov 10, 2020 11:47 pm
Interesting. Just out of curiosity what happens if you switch rain with rain2 in the script or when you define the images.
-
amaturemanga
- Regular
- Posts: 94
- Joined: Sun Mar 08, 2015 6:55 pm
- Deviantart: amaturemanga
- Skype: amature.manga
-
Contact:
#11
Post
by amaturemanga » Tue Nov 10, 2020 11:55 pm
_ticlock_ wrote: ↑Tue Nov 10, 2020 11:47 pm
Interesting. Just out of curiosity what happens if you switch rain with rain2 in the script or when you define the images.
nothing changes
-
amaturemanga
- Regular
- Posts: 94
- Joined: Sun Mar 08, 2015 6:55 pm
- Deviantart: amaturemanga
- Skype: amature.manga
-
Contact:
#12
Post
by amaturemanga » Tue Nov 10, 2020 11:56 pm
amaturemanga wrote: ↑Tue Nov 10, 2020 11:55 pm
_ticlock_ wrote: ↑Tue Nov 10, 2020 11:47 pm
Interesting. Just out of curiosity what happens if you switch rain with rain2 in the script or when you define the images.
nothing changes
i even tried completely creating a new project and dragging all my files over and same thing but now my window is tiny lol
-
_ticlock_
- Veteran
- Posts: 391
- Joined: Mon Oct 26, 2020 5:41 pm
-
Contact:
#13
Post
by _ticlock_ » Wed Nov 11, 2020 12:10 am
What do you mean nothing changes? Let say you have:
Does it still show rain and does not show rain2?
-
amaturemanga
- Regular
- Posts: 94
- Joined: Sun Mar 08, 2015 6:55 pm
- Deviantart: amaturemanga
- Skype: amature.manga
-
Contact:
#14
Post
by amaturemanga » Wed Nov 11, 2020 12:19 am
_ticlock_ wrote: ↑Wed Nov 11, 2020 12:10 am
What do you mean nothing changes? Let say you have:
Does it still show rain and does not show rain2?
yea it doesnt
-
amaturemanga
- Regular
- Posts: 94
- Joined: Sun Mar 08, 2015 6:55 pm
- Deviantart: amaturemanga
- Skype: amature.manga
-
Contact:
#15
Post
by amaturemanga » Wed Nov 11, 2020 12:19 am
rain2 is before rain now but it showing rain and not rain2 as if i made no changes
Users browsing this forum: Majestic-12 [Bot]