Actualizados los gráficos de los items
@@ -1,5 +1,5 @@
|
||||
frameWidth=16
|
||||
frameHeight=16
|
||||
frameWidth=20
|
||||
frameHeight=20
|
||||
|
||||
[animation]
|
||||
name=default
|
||||
|
||||
|
Before Width: | Height: | Size: 334 B After Width: | Height: | Size: 400 B |
@@ -1,5 +1,5 @@
|
||||
frameWidth=16
|
||||
frameHeight=16
|
||||
frameWidth=20
|
||||
frameHeight=20
|
||||
|
||||
[animation]
|
||||
name=default
|
||||
|
||||
|
Before Width: | Height: | Size: 462 B After Width: | Height: | Size: 623 B |
@@ -1,5 +1,5 @@
|
||||
frameWidth=23
|
||||
frameHeight=29
|
||||
frameWidth=30
|
||||
frameHeight=39
|
||||
|
||||
[animation]
|
||||
name=default
|
||||
|
||||
|
Before Width: | Height: | Size: 553 B After Width: | Height: | Size: 972 B |
@@ -1,5 +1,5 @@
|
||||
frameWidth=16
|
||||
frameHeight=16
|
||||
frameWidth=20
|
||||
frameHeight=20
|
||||
|
||||
[animation]
|
||||
name=default
|
||||
|
||||
|
Before Width: | Height: | Size: 263 B After Width: | Height: | Size: 336 B |
@@ -1,5 +1,5 @@
|
||||
frameWidth=16
|
||||
frameHeight=16
|
||||
frameWidth=20
|
||||
frameHeight=20
|
||||
|
||||
[animation]
|
||||
name=default
|
||||
|
||||
|
Before Width: | Height: | Size: 422 B After Width: | Height: | Size: 456 B |
@@ -1,5 +1,5 @@
|
||||
frameWidth=16
|
||||
frameHeight=16
|
||||
frameWidth=20
|
||||
frameHeight=20
|
||||
|
||||
[animation]
|
||||
name=default
|
||||
|
||||
|
Before Width: | Height: | Size: 388 B After Width: | Height: | Size: 492 B |
@@ -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);
|
||||
|
||||