mirror of
https://git.leinelab.org/Mal/mr-crocs-adventures.git
synced 2026-03-17 21:02:23 +01: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