mirror of
https://git.leinelab.org/Mal/mr-crocs-adventures.git
synced 2025-09-11 02:57:36 +02:00
Gaps between terrain sprites removed
This commit is contained in:
@@ -228,10 +228,10 @@ export default class RetroArchitecture
|
|||||||
0,
|
0,
|
||||||
this.tileWidth,
|
this.tileWidth,
|
||||||
this.tileHeight,
|
this.tileHeight,
|
||||||
x * this.tileWidth - camera.position.x - 1,
|
Math.round(x * this.tileWidth - camera.position.x),
|
||||||
y * this.tileHeight - camera.position.y - 1,
|
Math.round(y * this.tileHeight - camera.position.y),
|
||||||
this.tileWidth + 1,
|
this.tileWidth,
|
||||||
this.tileHeight + 1
|
this.tileHeight,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user