ATLTransform has no len() Error

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
Sumire76Joker
Newbie
Posts: 8
Joined: Fri May 06, 2016 4:06 pm
Deviantart: Sumire56
Contact:

ATLTransform has no len() Error

#1 Post by Sumire76Joker » Sat May 21, 2016 2:43 pm

So, I'm just getting to adding transitions in my VN, and I'm trying to do a bouncy-type motion when this one character talks. However, when I try to implement the Move() transformation, it gives me the error ATLTransform has no len().

Code: Select all

show jikkou happy at Move(right, right, 1.0, time_warp = springy_time_warp(rho = 5.0, mu = 15.0))
That's my code as of right now, I did try changing (right, right) to (center, right) and (right, center) but that didn't fix it. What I am trying to do is have the sprite in one x position, but move the y position in a bounce.
Any help is appreciated!

User avatar
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:

Re: ATLTransform has no len() Error

#2 Post by xavimat » Sat May 21, 2016 3:11 pm

Have a look at the ATL, there are bouncing warpers too:
https://www.renpy.org/doc/html/atl.html#warpers
Comunidad Ren'Py en español: ¡Únete a nuestro Discord!
Rhaier Kingdom A Ren'Py Multiplayer Adventure Visual Novel.
Cops&Robbers A two-player experiment | Fear&Love Why can't we say I love you?
Honest Critique (Avatar made with Chibi Maker by ~gen8)

Sumire76Joker
Newbie
Posts: 8
Joined: Fri May 06, 2016 4:06 pm
Deviantart: Sumire56
Contact:

Re: ATLTransform has no len() Error

#3 Post by Sumire76Joker » Sat May 21, 2016 5:04 pm

I tried using that, like

Code: Select all

show jikkou happy at right with ease_bounce
but that gave me an error, saying that ease_bounce was not defined. I'm guessing I'm using it wrong? But I don't know where else to put it.

User avatar
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:

Re: ATLTransform has no len() Error

#4 Post by xavimat » Sat May 21, 2016 5:12 pm

Warpers are not the same as transition (see: both in https://www.renpy.org/doc/html/index.ht ... ransitions )

The "ease" transitions you can use are listed here: https://www.renpy.org/doc/html/transiti ... l#var-ease

You can use the warper "ease_bounce" in ATL code:

Code: Select all

show jikkou happy at right:
    yoffset 100
    ease_bounce 1.0 yoffset 0
Or

Code: Select all

show jikkou happy at right:
    easein .5 yoffset 100
    easeout .5 yoffset 0
And many other combinations.
You can use also vpunch:

Code: Select all

show jikkou happy at right with vpunch
Comunidad Ren'Py en español: ¡Únete a nuestro Discord!
Rhaier Kingdom A Ren'Py Multiplayer Adventure Visual Novel.
Cops&Robbers A two-player experiment | Fear&Love Why can't we say I love you?
Honest Critique (Avatar made with Chibi Maker by ~gen8)

Post Reply

Who is online

Users browsing this forum: Google [Bot]