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

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
alestiago committed Mar 12, 2024
2 parents 35971bf + 5827917 commit f0f9ab0
Show file tree
Hide file tree
Showing 52 changed files with 11 additions and 180 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.
Binary file not shown.
Binary file modified packages/trashy_road/assets/images/sprites/apple_core_1.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 not shown.
Binary file modified packages/trashy_road/assets/images/sprites/apple_core_2.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 not shown.
Binary file modified packages/trashy_road/assets/images/sprites/banana.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 not shown.
Binary file modified packages/trashy_road/assets/images/sprites/bench.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 not shown.
Binary file modified packages/trashy_road/assets/images/sprites/bus_stop.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 not shown.
Binary file modified packages/trashy_road/assets/images/sprites/bush_1.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 not shown.
Binary file modified packages/trashy_road/assets/images/sprites/bush_2.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 not shown.
Binary file modified packages/trashy_road/assets/images/sprites/can_holder.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 not shown.
Binary file modified packages/trashy_road/assets/images/sprites/fire_hydrant.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 not shown.
Binary file modified packages/trashy_road/assets/images/sprites/lamp_post.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 not shown.
Binary file modified packages/trashy_road/assets/images/sprites/paper_1.png
Diff not rendered.
Binary file modified packages/trashy_road/assets/images/sprites/paper_2.png
Diff not rendered.
Binary file modified packages/trashy_road/assets/images/sprites/paper_ball.png
Diff not rendered.
Binary file modified packages/trashy_road/assets/images/sprites/plastic_bottle_1.png
Diff not rendered.
Binary file modified packages/trashy_road/assets/images/sprites/plastic_bottle_2.png
Diff not rendered.
Binary file modified packages/trashy_road/assets/images/sprites/plastic_straw.png
Diff not rendered.
Binary file modified packages/trashy_road/assets/images/sprites/post_box.png
Diff not rendered.
Binary file modified packages/trashy_road/assets/images/sprites/sandwich.png
Diff not rendered.
Diff not rendered.
Binary file modified packages/trashy_road/assets/images/sprites/takeaway_cup_hot.png
Diff not rendered.
Binary file modified packages/trashy_road/assets/images/sprites/tree_1.png
Diff not rendered.
Binary file modified packages/trashy_road/assets/images/sprites/tree_2.png
115 changes: 5 additions & 110 deletions packages/trashy_road/lib/gen/assets.gen.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

36 changes: 0 additions & 36 deletions packages/trashy_road/lib/src/game/entities/obstacle/obstacle.dart
Original file line number Diff line number Diff line change
Expand Up @@ -293,10 +293,6 @@ class _Tree1SpriteGroup extends PositionComponent {
position: Vector2(-0.2, 0.5)..toGameSize(),
scale: Vector2.all(0.8),
children: [
GameSpriteComponent.fromPath(
anchor: Anchor.bottomLeft,
spritePath: Assets.images.sprites.tree1Shadow.path,
),
GameSpriteComponent.fromPath(
anchor: Anchor.bottomLeft,
spritePath: Assets.images.sprites.tree1.path,
Expand All @@ -314,10 +310,6 @@ class _Tree2SpriteGroup extends PositionComponent {
position: Vector2(-0.2, 0.5)..toGameSize(),
scale: Vector2.all(0.8),
children: [
GameSpriteComponent.fromPath(
anchor: Anchor.bottomLeft,
spritePath: Assets.images.sprites.tree2Shadow.path,
),
GameSpriteComponent.fromPath(
anchor: Anchor.bottomLeft,
spritePath: Assets.images.sprites.tree2.path,
Expand All @@ -335,10 +327,6 @@ class _FireHydrantSpriteGroup extends PositionComponent {
position: Vector2(0.2, 0)..toGameSize(),
scale: Vector2.all(1),
children: [
GameSpriteComponent.fromPath(
anchor: Anchor.bottomLeft,
spritePath: Assets.images.sprites.fireHydrantShadow.path,
),
GameSpriteComponent.fromPath(
anchor: Anchor.bottomLeft,
spritePath: Assets.images.sprites.fireHydrant.path,
Expand All @@ -356,10 +344,6 @@ class _Bush1SpriteGroup extends PositionComponent {
position: Vector2(0.12, -0.1)..toGameSize(),
scale: Vector2.all(0.5),
children: [
GameSpriteComponent.fromPath(
anchor: Anchor.bottomLeft,
spritePath: Assets.images.sprites.bush1Shadow.path,
),
GameSpriteComponent.fromPath(
anchor: Anchor.bottomLeft,
spritePath: Assets.images.sprites.bush1.path,
Expand All @@ -377,10 +361,6 @@ class _Bush2SpriteGroup extends PositionComponent {
position: Vector2(0.12, -0.1)..toGameSize(),
scale: Vector2.all(0.5),
children: [
GameSpriteComponent.fromPath(
anchor: Anchor.bottomLeft,
spritePath: Assets.images.sprites.bush2Shadow.path,
),
GameSpriteComponent.fromPath(
anchor: Anchor.bottomLeft,
spritePath: Assets.images.sprites.bush2.path,
Expand Down Expand Up @@ -607,10 +587,6 @@ class _BenchSpriteGroup extends PositionComponent {
position: Vector2(-0.13, -0.1)..toGameSize(),
scale: Vector2.all(0.38),
children: [
GameSpriteComponent.fromPath(
anchor: Anchor.bottomLeft,
spritePath: Assets.images.sprites.benchShadow.path,
),
GameSpriteComponent.fromPath(
anchor: Anchor.bottomLeft,
spritePath: Assets.images.sprites.bench.path,
Expand All @@ -627,10 +603,6 @@ class _LampPostSpriteGroup extends PositionComponent {
position: Vector2(0.3, -0.1)..toGameSize(),
scale: Vector2.all(0.6),
children: [
GameSpriteComponent.fromPath(
anchor: Anchor.bottomLeft,
spritePath: Assets.images.sprites.lampPostShadow.path,
),
GameSpriteComponent.fromPath(
anchor: Anchor.bottomLeft,
spritePath: Assets.images.sprites.lampPost.path,
Expand All @@ -647,10 +619,6 @@ class _BusStopSpriteGroup extends PositionComponent {
position: Vector2(0.3, -0.1)..toGameSize(),
scale: Vector2.all(0.6),
children: [
GameSpriteComponent.fromPath(
anchor: Anchor.bottomLeft,
spritePath: Assets.images.sprites.busStopShadow.path,
),
GameSpriteComponent.fromPath(
anchor: Anchor.bottomLeft,
spritePath: Assets.images.sprites.busStop.path,
Expand All @@ -667,10 +635,6 @@ class _PostBoxSpriteGroup extends PositionComponent {
position: Vector2(0.15, -0.1)..toGameSize(),
scale: Vector2.all(0.6),
children: [
GameSpriteComponent.fromPath(
anchor: Anchor.bottomLeft,
spritePath: Assets.images.sprites.postBoxShadow.path,
),
GameSpriteComponent.fromPath(
anchor: Anchor.bottomLeft,
spritePath: Assets.images.sprites.postBox.path,
Expand Down
Loading

0 comments on commit f0f9ab0

Please sign in to comment.