Skip to content

TypeError: this.timeSamplesMap[lookupTime] is undefined #14

@sampenland

Description

@sampenland

I'm using creature with Phaser 3 (pack version) and I get this:

TypeError: this.timeSamplesMap[lookupTime] is undefined

when the animation ends. Would setting the animation to loop fix this? How do I do that?

My animation code is:

start_animation(name, speed, fade_time)
{
if(this.creature_object.pack_renderer.activeAnimationName == name) return;

	this.creature_object.pack_renderer.blendToAnimation(name, fade_time);
	this.creature_object.speed = speed;

}

`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions