Actualizados los gráficos de los items

This commit is contained in:
2024-07-09 17:11:13 +02:00
parent fde5578ea9
commit ab27915dac
13 changed files with 16 additions and 16 deletions

View File

@@ -1,5 +1,5 @@
frameWidth=16 frameWidth=20
frameHeight=16 frameHeight=20
[animation] [animation]
name=default name=default

Binary file not shown.

Before

Width:  |  Height:  |  Size: 334 B

After

Width:  |  Height:  |  Size: 400 B

View File

@@ -1,5 +1,5 @@
frameWidth=16 frameWidth=20
frameHeight=16 frameHeight=20
[animation] [animation]
name=default name=default

Binary file not shown.

Before

Width:  |  Height:  |  Size: 462 B

After

Width:  |  Height:  |  Size: 623 B

View File

@@ -1,5 +1,5 @@
frameWidth=23 frameWidth=30
frameHeight=29 frameHeight=39
[animation] [animation]
name=default name=default

Binary file not shown.

Before

Width:  |  Height:  |  Size: 553 B

After

Width:  |  Height:  |  Size: 972 B

View File

@@ -1,5 +1,5 @@
frameWidth=16 frameWidth=20
frameHeight=16 frameHeight=20
[animation] [animation]
name=default name=default

Binary file not shown.

Before

Width:  |  Height:  |  Size: 263 B

After

Width:  |  Height:  |  Size: 336 B

View File

@@ -1,5 +1,5 @@
frameWidth=16 frameWidth=20
frameHeight=16 frameHeight=20
[animation] [animation]
name=default name=default

Binary file not shown.

Before

Width:  |  Height:  |  Size: 422 B

After

Width:  |  Height:  |  Size: 456 B

View File

@@ -1,5 +1,5 @@
frameWidth=16 frameWidth=20
frameHeight=16 frameHeight=20
[animation] [animation]
name=default name=default

Binary file not shown.

Before

Width:  |  Height:  |  Size: 388 B

After

Width:  |  Height:  |  Size: 492 B

View File

@@ -14,8 +14,8 @@ Item::Item(Uint8 kind, float x, float y, Texture *texture, std::vector<std::stri
if (kind == ITEM_COFFEE_MACHINE) if (kind == ITEM_COFFEE_MACHINE)
{ {
width = 23; width = 30;
height = 29; height = 39;
posX = (((int)x + (PLAY_AREA_WIDTH / 2)) % (PLAY_AREA_WIDTH - width - 5)) + 2; posX = (((int)x + (PLAY_AREA_WIDTH / 2)) % (PLAY_AREA_WIDTH - width - 5)) + 2;
posY = PLAY_AREA_TOP - height; posY = PLAY_AREA_TOP - height;
velX = 0.0f; velX = 0.0f;
@@ -25,8 +25,8 @@ Item::Item(Uint8 kind, float x, float y, Texture *texture, std::vector<std::stri
} }
else else
{ {
width = 16; width = 20;
height = 16; height = 20;
posX = x; posX = x;
posY = y; posY = y;
velX = -1.0f + ((rand() % 5) * 0.5f); velX = -1.0f + ((rand() % 5) * 0.5f);