http://www.renpy.org/wiki/renpy/doc/coo ... y_movement
And I keep getting same error. What does this error message mean? Simple and complex form gives me same error.
Code used:
Code: Select all
init python:
import math
rho = 5.0
mu = 15.0
scale_factor = 1.0 - math.exp(-rho) * math.cos(mu)
def springy_time_warp(x):
return (1.0 - math.exp(-rho * x) * math.cos(mu * x)) / scale_factor
define e = Character('Eileen', color="#c8ffc8")
image eileen happy = "eileen happy.png"
# The game starts here.
label start:
e "You've created a new Ren'Py game."
show eileen happy at Move(offscreenleft, center, 1.0, time_warp = springy_time_warp)
e "Once you add a story, pictures, and music, you can release it to the world!"
returnI'm sorry, but an uncaught exception occurred.
While running game code:
File "game/script.rpy", line 20, in script
show eileen happy at Move(offscreenleft, center, 1.0, time_warp = springy_time_warp)
TypeError: object of type 'ATLTransform' has no len()
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "game/script.rpy", line 20, in script
show eileen happy at Move(offscreenleft, center, 1.0, time_warp = springy_time_warp)
File "D:\Python\Ren'py\renpy\ast.py", line 1040, in execute
show_imspec(self.imspec, atl=getattr(self, "atl", None))
File "D:\Python\Ren'py\renpy\ast.py", line 1012, in show_imspec
atl=atl)
File "D:\Python\Ren'py\renpy\exports.py", line 540, in show
img = i(img)
File "D:\Python\Ren'py\renpy\curry.py", line 38, in __call__
**dict(self.kwargs.items() + kwargs.items()))
File "D:\Python\Ren'py\renpy\display\motion.py", line 1197, in Move
return Motion(Interpolate(startpos, endpos),
File "D:\Python\Ren'py\renpy\display\motion.py", line 1104, in __init__
if len(start) != len(end):
TypeError: object of type 'ATLTransform' has no len()
Windows-8-6.2.9200
Ren'Py 6.99.4.467
sadas 0.0

