Gaps between terrain sprites removed
This commit is contained in:
parent
52123763d3
commit
b141eafb75
@ -228,10 +228,10 @@ export default class RetroArchitecture
|
||||
0,
|
||||
this.tileWidth,
|
||||
this.tileHeight,
|
||||
x * this.tileWidth - camera.position.x - 1,
|
||||
y * this.tileHeight - camera.position.y - 1,
|
||||
this.tileWidth + 1,
|
||||
this.tileHeight + 1
|
||||
Math.round(x * this.tileWidth - camera.position.x),
|
||||
Math.round(y * this.tileHeight - camera.position.y),
|
||||
this.tileWidth,
|
||||
this.tileHeight,
|
||||
);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user