mirror of
https://git.leinelab.org/Mal/mr-crocs-adventures.git
synced 2025-09-11 02:57:36 +02:00
Animation frame offsets are not interpolated anymore
This commit is contained in:
@@ -54,8 +54,8 @@ export default class RetroAnimation extends RetroSprite
|
|||||||
0,
|
0,
|
||||||
this.frameWidth,
|
this.frameWidth,
|
||||||
this.canvas.height,
|
this.canvas.height,
|
||||||
this.position.x - camera.position.x,
|
parseInt(this.position.x - camera.position.x),
|
||||||
this.position.y - camera.position.y,
|
parseInt(this.position.y - camera.position.y),
|
||||||
this.frameWidth,
|
this.frameWidth,
|
||||||
this.canvas.height
|
this.canvas.height
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user