Using video or Atl for background game freeze? [SOLVED]

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.
Post Reply
Message
Author
User avatar
pratomoastan
Regular
Posts: 39
Joined: Fri Mar 11, 2016 11:39 am
Projects: My High School Life
Organization: After School Things
Deviantart: pratomoastan
Location: Indonesia
Contact:

Using video or Atl for background game freeze? [SOLVED]

#1 Post by pratomoastan » Thu Mar 17, 2016 3:55 am

Hi today i try to use the atl for the background but when arrive at the point when the atl is used the game freeze ?

Atl Code :

Code: Select all

image bg jlated:
    "images/abckgrd/jalan/1.png"
    pause 0.2
    "images/abckgrd/jalan/2.png"
    pause 0.2
    "images/abckgrd/jalan/3.png"
    pause 0.2
    "images/abckgrd/jalan/4.png"
    pause 0.2
    "images/abckgrd/jalan/5.png"
    pause 0.2
    "images/abckgrd/jalan/6.png"
    pause 0.2
    "images/abckgrd/jalan/7.png"
    pause 0.2
    "images/abckgrd/jalan/8.png"
    pause 0.2
    "images/abckgrd/jalan/9.png"
    pause 0.2
    "images/abckgrd/jalan/10.png"
    pause 0.2
    "images/abckgrd/jalan/11.png"
    pause 0.2
    "images/abckgrd/jalan/12.png"
    pause 0.2
    "images/abckgrd/jalan/13.png"
    pause 0.2
    "images/abckgrd/jalan/14.png"
    pause 0.2
    "images/abckgrd/jalan/15.png"
    pause 0.2
    "images/abckgrd/jalan/16.png"
    pause 0.2
    "images/abckgrd/jalan/17.png"
    pause 0.2
    "images/abckgrd/jalan/18.png"
    pause 0.2
    "images/abckgrd/jalan/19.png"
    pause 0.2
    "images/abckgrd/jalan/20.png"
    pause 0.2
    "images/abckgrd/jalan/21.png"
    pause 0.2
    "images/abckgrd/jalan/22.png"
    pause 0.2
    "images/abckgrd/jalan/23.png"
    pause 0.2
    "images/abckgrd/jalan/24.png"
    pause 0.2
    "images/abckgrd/jalan/25.png"
    pause 0.2
    "images/abckgrd/jalan/26.png"
    pause 0.2
    "images/abckgrd/jalan/27.png"
    pause 0.2
    "images/abckgrd/jalan/28.png"
    pause 0.2
    "images/abckgrd/jalan/29.png"
    pause 0.2
    "images/abckgrd/jalan/30.png"
    pause 0.2
    "images/abckgrd/jalan/31.png"
    pause 0.2
    "images/abckgrd/jalan/32.png"
    pause 0.2
    "images/abckgrd/jalan/33.png"
    repeat

Code: Select all

play music "music/endschool.ogg" fadein 1
    
    g "%(p_n)s Text  "

    menu:
        "Neis":
            kmu "Text..."
            g " Text .."
            e " Text !!"
            nrtr "%(p_n)s Text"
            jump neispulang
        
        "Eko":
            kmu "Text..."
            n " Text .."
            g " Text !!"
            nrtr "%(p_n)s Text"
            jump ekopulang
        
        "Grace":
            kmu "Text..."
            n " Text .."
            e " Text !!"
            nrtr "%(p_n)s Text"
            jump gracepulang
          
label neispulang:
    nrtrid "Text ..."
    scene bg jlated with dissolve ## <<<<< Make game freeze ?
    #scene "images/jalanraya.png"
    kmu "Text?"
    n "Text"
    kmu "Text?"
    n "Text"
    kmu "Text?"
    n "Text ~~!"
    kmu "Text"
    n "Text .... "
    kmu "Text"
    n "Text ... "
    kmu "Text !!"
    
    ## End Of 2016 03 15
    stop music fadeout 1
    stop sound fadeout 1
    return

label gracepulang:
    nrtrid "To Be Continued"
    stop music fadeout 1
    stop sound fadeout 1
    return

label ekopulang:
    nrtrid "To Be Continued"
    stop music fadeout 1
    stop sound fadeout 1
    return
    
Last edited by pratomoastan on Sun Jul 03, 2016 12:01 pm, edited 1 time in total.
~ Sempai !!!

User avatar
pratomoastan
Regular
Posts: 39
Joined: Fri Mar 11, 2016 11:39 am
Projects: My High School Life
Organization: After School Things
Deviantart: pratomoastan
Location: Indonesia
Contact:

Re: Using video or Atl for background game freeze?

#2 Post by pratomoastan » Thu Mar 17, 2016 4:08 am

So i could tell that if i use to many image at atl it will make game freeze
from 33 images i reduce it to just only 12 images and it works !!
~ Sempai !!!

User avatar
xela
Lemma-Class Veteran
Posts: 2481
Joined: Sun Sep 18, 2011 10:13 am
Contact:

Re: Using video or Atl for background game freeze?

#3 Post by xela » Thu Mar 17, 2016 7:59 am

Maybe if those are really huge images... I've used over a hundred at the same time without any issues.
Like what we're doing? Support us at:
Image

Post Reply

Who is online

Users browsing this forum: Bing [Bot], Google [Bot]