anim = Animation("walk")
anim.body.frames.Add(AnimKeyframe(0.0, 0, 0, 0))
anim.body.frames.Add(AnimKeyframe(0.2, 0,-1, 0))
anim.body.frames.Add(AnimKeyframe(0.4, 0, 0, 0))
anim.body.frames.Add(AnimKeyframe(0.6, 0, 0, 0))
anim.body.frames.Add(AnimKeyframe(0.8, 0,-1, 0))
anim.body.frames.Add(AnimKeyframe(1.0, 0, 0, 0))
(timestamp, x_offset, y_offset, rotation)
the rotation is in degreesenv_point.content = (p.x / 32, p.y / 32, p.r)
env_point.content = (p.x / 32, p.y / 32, p.r)
(timestamp, x_offset, y_offset, rotation)
the rotation is in degrees