[SOLVED]ATL Animation Not Showing Up in Game

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.
Message
Author
User avatar
amaturemanga
Regular
Posts: 97
Joined: Sun Mar 08, 2015 6:55 pm
Deviantart: amaturemanga
Skype: amature.manga
Contact:

[SOLVED]ATL Animation Not Showing Up in Game

#1 Post by amaturemanga »

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: 793
Joined: Fri Feb 09, 2018 12:05 am
Location: Canada
Contact:

Re: ATL Animation Not Showing Up in Game

#2 Post by rayminator »

have you tried removing - and use _?
have you tried using show instead of scene?

User avatar
amaturemanga
Regular
Posts: 97
Joined: Sun Mar 08, 2015 6:55 pm
Deviantart: amaturemanga
Skype: amature.manga
Contact:

Re: ATL Animation Not Showing Up in Game

#3 Post by amaturemanga »

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: 793
Joined: Fri Feb 09, 2018 12:05 am
Location: Canada
Contact:

Re: ATL Animation Not Showing Up in Game

#4 Post by rayminator »

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

User avatar
amaturemanga
Regular
Posts: 97
Joined: Sun Mar 08, 2015 6:55 pm
Deviantart: amaturemanga
Skype: amature.manga
Contact:

Re: ATL Animation Not Showing Up in Game

#5 Post by amaturemanga »

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)

User avatar
_ticlock_
Miko-Class Veteran
Posts: 910
Joined: Mon Oct 26, 2020 5:41 pm
Contact:

Re: ATL Animation Not Showing Up in Game

#6 Post by _ticlock_ »

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?

User avatar
amaturemanga
Regular
Posts: 97
Joined: Sun Mar 08, 2015 6:55 pm
Deviantart: amaturemanga
Skype: amature.manga
Contact:

Re: ATL Animation Not Showing Up in Game

#7 Post by amaturemanga »

_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: 793
Joined: Fri Feb 09, 2018 12:05 am
Location: Canada
Contact:

Re: ATL Animation Not Showing Up in Game

#8 Post by rayminator »

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

User avatar
amaturemanga
Regular
Posts: 97
Joined: Sun Mar 08, 2015 6:55 pm
Deviantart: amaturemanga
Skype: amature.manga
Contact:

Re: ATL Animation Not Showing Up in Game

#9 Post by amaturemanga »

same exact thing idk why this is happening lol.

User avatar
_ticlock_
Miko-Class Veteran
Posts: 910
Joined: Mon Oct 26, 2020 5:41 pm
Contact:

Re: ATL Animation Not Showing Up in Game

#10 Post by _ticlock_ »

Interesting. Just out of curiosity what happens if you switch rain with rain2 in the script or when you define the images.

User avatar
amaturemanga
Regular
Posts: 97
Joined: Sun Mar 08, 2015 6:55 pm
Deviantart: amaturemanga
Skype: amature.manga
Contact:

Re: ATL Animation Not Showing Up in Game

#11 Post by amaturemanga »

_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

User avatar
amaturemanga
Regular
Posts: 97
Joined: Sun Mar 08, 2015 6:55 pm
Deviantart: amaturemanga
Skype: amature.manga
Contact:

Re: ATL Animation Not Showing Up in Game

#12 Post by amaturemanga »

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

User avatar
_ticlock_
Miko-Class Veteran
Posts: 910
Joined: Mon Oct 26, 2020 5:41 pm
Contact:

Re: ATL Animation Not Showing Up in Game

#13 Post by _ticlock_ »

What do you mean nothing changes? Let say you have:

Code: Select all

    scene rain2
    ...
    show rain
Does it still show rain and does not show rain2?

User avatar
amaturemanga
Regular
Posts: 97
Joined: Sun Mar 08, 2015 6:55 pm
Deviantart: amaturemanga
Skype: amature.manga
Contact:

Re: ATL Animation Not Showing Up in Game

#14 Post by amaturemanga »

_ticlock_ wrote: Wed Nov 11, 2020 12:10 am What do you mean nothing changes? Let say you have:

Code: Select all

    scene rain2
    ...
    show rain
Does it still show rain and does not show rain2?
yea it doesnt

User avatar
amaturemanga
Regular
Posts: 97
Joined: Sun Mar 08, 2015 6:55 pm
Deviantart: amaturemanga
Skype: amature.manga
Contact:

Re: ATL Animation Not Showing Up in Game

#15 Post by amaturemanga »

rain2 is before rain now but it showing rain and not rain2 as if i made no changes

Post Reply

Who is online

Users browsing this forum: No registered users