mirror of
https://git.leinelab.org/Mal/mr-crocs-adventures.git
synced 2025-09-11 02:57:36 +02:00
Death Star graphic set added
This commit is contained in:
@@ -224,12 +224,12 @@ export default class RetroArchitecture
|
||||
{
|
||||
context.drawImage(
|
||||
this.tilesetSprite.canvas,
|
||||
field.tile.index * this.tileWidth,
|
||||
(field.tile.index % this.tiles) * this.tileWidth,
|
||||
0,
|
||||
this.tileWidth,
|
||||
this.tileHeight,
|
||||
x * this.tileWidth - camera.position.x,
|
||||
y * this.tileHeight - camera.position.y,
|
||||
x * this.tileWidth - camera.position.x - 1,
|
||||
y * this.tileHeight - camera.position.y - 1,
|
||||
this.tileWidth + 1,
|
||||
this.tileHeight + 1
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user