Actualizados los gráficos de los items
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user