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

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