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