Impact

This forum is read only and just serves as an archive. If you have any questions, please post them on github.com/phoboslab/impact

1 decade ago by Hazneliel

Hello, I have the following code in my update method:
/* JUMPING */
if ( this.vel.y < 0 ) {
	console.log('jumping');
	this.currentAnim = this.anims.jump;
	console.log(this.currentAnim.tile);
}

And my jumping animation was declared like this:
this.addAnim('jump', 0.3, [45,46,47,48], true);

When I excecute a jump the animation doesnt play, it looks only the last frame and the console outputs the following:
jumping
45 
jumping
48
jumping
48
jumping
48
jumping
48

So why it goes from frame 45 to 48??? is an Impact´s bug???

1 decade ago by Hazneliel

Still cant figure this out....
Page 1 of 1
« first « previous next › last »