Skip to content
This repository has been archived by the owner on Mar 13, 2024. It is now read-only.

Commit

Permalink
feat: reduce size of inventory animations (#324)
Browse files Browse the repository at this point in the history
  • Loading branch information
OlliePugh authored Mar 12, 2024
1 parent a26aac7 commit c5c3c10
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 3 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified packages/trashy_road/assets/images/display/slot_empty.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified packages/trashy_road/assets/images/display/slot_paper_box.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions packages/trashy_road/lib/src/game/widgets/inventory_hud.dart
Original file line number Diff line number Diff line change
Expand Up @@ -143,19 +143,19 @@ class _FilledInventorySlot extends StatefulWidget {
asset: Assets.images.display.slotAppleCore.path,
frames: 23,
amountPerRow: 6,
size: const Size.square(458),
size: const Size.square(96),
),
TrashType.paper: _SpriteSheetData(
asset: Assets.images.display.slotPaperBox.path,
frames: 21,
amountPerRow: 6,
size: const Size.square(458),
size: const Size.square(96),
),
TrashType.plastic: _SpriteSheetData(
asset: Assets.images.display.slotPlasticBottle.path,
frames: 21,
amountPerRow: 6,
size: const Size.square(458),
size: const Size.square(96),
),
},
);
Expand Down

0 comments on commit c5c3c10

Please sign in to comment.