Allison Ryan
98f25242b6
refactor: bottom boundary curve ( #156 )
...
* refactor: update bottom curve
* fix: unused import
* fix: disable golden tests
* refactor: use Traceable
* chore: re-enable zoom golden tests
3 years ago
Erick
bfba65823f
feat: implementing the new game start flow ( #160 )
...
* feat: implementing the new game start flow
* fix: coverage
* fix: lint
* fix: lint
* Apply suggestions from code review
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* feat: PR suggestions
* feat: improve test docs
* feaT: pr suggestions
* feat: adding backboard assets to the pre fetch
* feat: pr suggestions
* feat: pr suggestions
* fix: lint
* fix: ci
* fix: tests
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
3 years ago
Alejandro Santiago
31afa08fc1
feat(sandbox): adds sandbox for all `FlutterForest `components ( #167 )
...
* feat(sandbox): included sandbox for FlutterSignPost
* feat(sandbox): included SmallDashNestBumpers
3 years ago
Allison Ryan
502babf38e
refactor: flipper position and angle ( #161 )
...
* chore: board todos
* refactor: flipper position and angle
* fix: unused import
* style: add space in comment
* chore: half sweeping angle
3 years ago
Rui Miguel Alonso
d7216bbe6d
fix: moved `DinoWalls` slightly to the right ( #164 )
...
* fix: placed right some moved sprites
* fix: added renderBody removed
3 years ago
Alejandro Santiago
51b7f478af
refactor: SpriteComponent subclassing ( #158 )
...
* refactor: remove _loadSprites
* feat: defined BallSprite
* refactor: removed late SpriteComponent
* refactor: defined BaseboardSprite
* refactor: defined DinoWalls sprites
* refactor: defined FlutterSIgnPostSprite
* refactor: defined KickerSprite
* refactor: defined LaunchRampSprite
* refactor: removed trailing comma
* refactor: defined _AndroidHeadSpriteAnimation
* refactor: removed unused import
* refactor: defined FlipperSprite
* docs: improved SpaceshipWall docs
* refactor: defined SpaceshipRailRampSprite
* refactor: suffixed Component
* refactor: adjusted FlipperSpriteComponent size
* refactor: resized ball
* chore: trace all bodies in sandbox (#157 )
* feat: add traceAllBodies method
* chore: update tracing stories
* refactor: use for each
* refactor: convert to mixin
* refactor: simplify mixin
* feat(sandbox): made BasicBallGame traceable
* feat: adjusted ball size
3 years ago
Allison Ryan
9d2e9dd243
chore: trace all bodies in sandbox ( #157 )
...
* feat: add traceAllBodies method
* chore: update tracing stories
* refactor: use for each
* refactor: convert to mixin
* refactor: simplify mixin
3 years ago
Alejandro Santiago
d86ef40cb9
feat: Flipper joint adjustment ( #159 )
...
* feat(sandbox): removed FlipperTracingGame
* feat: adjusted flipper anchor
* refacto: adjusted anchoring points
* refactor: removed unused import
* refactor: renamed FlipperGame
3 years ago
Erick
daebb0b749
feat: adding camera zoom effect ( #153 )
...
* feat: adding camera zoom effect
* testing ci
* testing ci
* Apply suggestions from code review
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* testing ci
* testing ci
* ci
* feat: pr suggestion
* fix: lint
* fix: lint
* Apply suggestions from code review
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
3 years ago
Allison Ryan
2f40dcc971
feat: add slingshots ( #148 )
...
* feat: add slingshots
* test: slingshot
* feat: add slingshot to sandbox
* chore: add todo
3 years ago
Rui Miguel Alonso
254c38d2a4
feat: add sparky bumpers ( #150 )
...
* feat: added sparky bumpers
* test: tests for sparky bumpers
* feat: sandbox for sparky bumpers
* chore: unused imports
* refactor: removed Bumper and added TODO for future refactor
* fix: fixed size and tracing
* fix: fix tracing
* fix: final ellipse sizes
* refactor: different sized bumpers
* Update packages/pinball_components/lib/src/components/sparky_bumper.dart
Co-authored-by: Allison Ryan <allisonryan0002@gmail.com>
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
3 years ago
Rui Miguel Alonso
39b04c1393
feat: kicker assets and dimension ( #144 )
...
* refactor: added kicker asset and fixed dimensions and sizes
* refactor: loadsprite for kicker
* test: added golden test for kicker
* feat: included Kicker sandbox
* refactor: analyzer fixes
Co-authored-by: alestiago <dev@alestiago.com>
3 years ago
Allison Ryan
d25643ce9a
fix: component render order ( #142 )
...
* fix: simplify and order priorities
* test: remove position
3 years ago
Erick
c65dfb6001
feat: adds sound effects ( #143 )
...
* feat: adding placeholder sound effects
* feat: adding sound effects
* fix: lint
* fix: adding pinball audio to mock
* fix: tests
3 years ago
Allison Ryan
4e0f0ffe29
refactor: smooth out drop tube exit ( #135 )
...
* refactor: shrink sensor and add foreground
* fix: uncomment line
* style: trailing comma
* refactor: organize spaceship assets
* refactor: asset name change and size fix
3 years ago
Alejandro Santiago
fcca84be90
refactor: renaming sandbox files ( #141 )
...
* refactor(sandbox): renamed files to stories
* refactor(sandbox): rephrased descriptions
* refactor: renamed files
* refactor: renaming
* chore: merge
3 years ago
Allison Ryan
510eb17446
refactor: adjust dash bumper body ( #140 )
3 years ago
Alejandro Santiago
7cce862263
feat(sandbox): included ChromeDino sandbox ( #139 )
3 years ago
Alejandro Santiago
124af6b603
feat(sandbox): implemented BigDashNestBumper example ( #137 )
3 years ago
Allison Ryan
b41cd80540
feat: add game boundaries ( #131 )
...
* feat: add outer and bottom boundaries
* test: add golden test
* refactor: load sprite method
3 years ago
Allison Ryan
ab1dbe99d5
feat: add launcher ramp assets ( #120 )
...
* feat: add launcher asset and dimension
* refactor: some visual adjustments
* refactor: revert unintended changes
* refactor: simplify variable names
* refactor: move to package and test
* fix: lint warning
* fix: another lint warning
* fix: merge layer changes
* fix: golden test
* refactor: load sprite method
3 years ago
Alejandro Santiago
2c425670f6
feat: added ChromeDino assets ( #138 )
3 years ago
Rui Miguel Alonso
b40dccb6bf
refactor: move spaceship exit rail ( #130 )
...
* refactor: moved SpaceshipExitRail to pinball components
* test: refactor tests and coverage
* chore: ignore cascade invocations on tests
* refactor: renamed SpaceshipExitRail to SpaceshipRail
3 years ago
Rui Miguel Alonso
61c347c72d
refactor: move JetpackRamp to pinball_components as SpaceshipEntranceRamp ( #129 )
...
* refactor: renamed JetpackRamp to SpaceshipEntranceRamp
* refactor: renamed Layer.jetpack to Layer.spaceshipEntranceRamp
* refactor: moved spaceship entrance ramp and assets to pinball components
* test: tests for spaceship ramp
* refactor: renamed SpaceshipEntranceRamp to SpaceshipRamp
3 years ago
Alejandro Santiago
b67b08a18d
refactor: moved ChromeDino to pinball_components ( #134 )
3 years ago
Alejandro Santiago
b243c063a3
refactor: moved Kicker to pinball_components ( #133 )
3 years ago
Alejandro Santiago
0285698e5c
feat(sandbox): made BasicFlipperGame respond to KeyEvents ( #123 )
...
* feat: made Flippers movable
* feat(sanbox): included balls in flipper example
* feat: improved moving logic
* refactor: removed unused import
3 years ago
Rui Miguel Alonso
21cc04facc
feat: spaceship entrance ramp ( #126 )
...
* feat: added spaceship entrance ramp assets
* refactor: modified ramp to fit on curves
* fix: fixed priorities and positions on ramp
* refactor: placed jetpack ramp
* fix: modified rampopening for priority changes
* fix: launcher ramp ball priority
* fix: fixed positions and priority
* chore: removed unused import
* refactor: priority on jetpack ramp
* refactor: removed position and changed sprite load method
3 years ago
Rui Miguel Alonso
c8bc7c1942
feat: spaceship drop assets ( #110 )
...
* feat: added assets for drop rail
* feat: placed assets and base bodies
* feat: assets and bases
* refactor: hide spaceship hole
* refactor: redimension curves
* fix: lint
* test: fix geometry tests
* refactor: tube to fit spaceship opening
* refactor: applied priority changes to drop tube
* test: fixed tests for ball contact with exit rail
* Update test/game/components/spaceship_exit_rail_test.dart
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
* chore: formatted test file
Co-authored-by: Allison Ryan <allisonryan0002@gmail.com>
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
3 years ago
Alejandro Santiago
cbbf7b121e
fix: flaky FireEffect test ( #124 )
...
* refactor: migrated to ParticleSystemComponent
* refactor: simplified tests
* feat: forced min count to be 1
* feat: adjusted priorities
3 years ago
Alejandro Santiago
e5c3708952
feat: implemented DashBumper assets ( #119 )
...
* chore: rebase
* chore: rebase
* chore: rebase
* docs: removed extra paragraph
* fix: removed checks
* refactor: removed ephemeral state
* refactor: uncommented code
* feat: automatically sized Sprites
* docs: included TODO comment
* refactor: corrected typo
* docs: updated doc comment
* feat: adjusted tests
* chore: rebase
* feat: included mustCallSuper
* feat: implemented FlutterForest controllers
* feat: improved tests
* fix: analyzer
* refactor: removed unneccessary mock
* feat: include DashNestBumper tests
* docs: improved doc comment
* refactor: fixed test name grammar
* fix: fixed test
3 years ago
Rui Miguel Alonso
48f831264e
feat: add dino wall ( #115 )
...
* feat: added dino walls
* refactor: moved board
* fix: undo board movement
* feat: fixing shapes for wall with asset
* fix: placed dino wall asset and shapes
* fix: fixed top wall shape
* feat: added dino bottom wall
* fix: show background
* fix: fixed geometry test
* test: added golden tests for dino wall
* test: removed unused import
* refactor: moved dino walls to pinball_components
* chore: analysis errors
* refactor: more analysis errors
* chore: analysis error
* test: added tests for dino walls
* chore: unused import
* test: refactored golden test
* refactor: refactored vertices shapes
* test: make dino wall private and removed golden tests for them
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
3 years ago
Rui Miguel Alonso
8b86656412
refactor: priority layer ( #83 )
...
* refactor: removed findNested extensions (#77 )
* feat: added new Elevation for manage priority of BodyComponents
* refactor: changed ball with Elevated
* refactor: changed spaceship with Elevated
* test: tests for Elevated
* test: fix tests
* chore: removed unused
* test: fixed tests
* refactor: changed Elevated mixin to Priority extension
* test: fixed priority test changes
* chore: ignore for file
* test: fixed tests for PriorityX
* chore: unused import
* chore: removed unecessary ignore
* refactor: removed unnecessary comma
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* refactor: fixed grammatical error in test named
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* refactor: moved priority set to constructors
* chore: tests names
* doc: doc priority
* refactor: moved priority to flame dir
* feat: added priority to rampopening
* fix: fixed priority changes
* test: fixed tests for spaceship priority changes
* fix: fixed tests for priority
* chore: renamed pathwayLayer and pathwayPriority to inside
* Update packages/pinball_components/lib/src/components/ramp_opening.dart
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
3 years ago
Allison Ryan
90588d95c4
feat: add `Baseboard` assets ( #106 )
...
* feat: add baseboard assets
* refactor: move to components package
* test: coverage fix
* chore: small suggestions
* refactor: adjust size
* style: make angle readable
3 years ago
Allison Ryan
83e6cb892b
feat: dynamic ball size ( #113 )
...
* feat: scale ball and add ball asset
* refactor: increase plunger properties
* test: board dimensions
* refactor: store adjusted height
* chore: add todo
3 years ago
Alejandro Santiago
930c7fa001
refactor: used new createJoint method ( #117 )
3 years ago
Alejandro Santiago
79687c8ea3
feat: implemented `ComponentController` ( #111 )
...
* feat: defined component controller
* feat: inclued flame barrel file
* feat: implemented ComponentController
* feat: implemented PlungerBallController
* feat: improved tests
* feat: enhanced component_controller
* feat: included instantiation test
* feat: removed attach method for mixin
* docs: improved doc comment
* feat: included Controls tests
* fix: commented golden test
3 years ago
Erick
84d7ab8564
feat: updating flame versions ( #112 )
3 years ago
Rui Miguel Alonso
f44c2bc25e
feat: spaceship drop tube ( #79 )
...
* feat: added spaceship drop ramp to board
* refactor: removed findNested extensions (#77 )
* refactor: placed drop ramp below spaceship, fixed position and layers
* test: tests coverage
* chore: analysis errors
* refactor: named SpaceshipExitRail
* chore: doc
* Update lib/game/components/spaceship_exit_rail.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* Update test/game/components/spaceship_exit_rail_test.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* Update test/game/components/spaceship_exit_rail_test.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* refactor: changed name for spaceshipexit layer
* refactor: placed curve for spaceship exit rail
* fix: fixed drop tube sizes
* refactor: placed drop tube and fixed layers from spaceship
* fix: fixed exit hole contact size
* refactor: reordered mocks at tests
* chore: reorder params and typo
* fix: moved drop tube
* test: fixed spaceship exit test
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
Co-authored-by: Erick <erickzanardoo@gmail.com>
3 years ago
Erick
e7ba6dc91d
feat: better spaceship hole area ( #109 )
...
* feat: improving the spaceship hole area
* fix: lint
* feat: improved wall area for the spaceship
* fix: lint
3 years ago
Alejandro Santiago
dd88114d1c
feat: included FlutterSignPost ( #107 )
...
* feat: loaded flutter_sign_post.png
* feat: added board priority
* feat: included FlutterSignPost
* feat: included tests
* refactor: renamed tests names for consistency
* chore: refactored exception
* docs: fixed incorrect grammar
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* docs: fixed typo
* refactor: cleaned SpriteComponent logic
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
3 years ago
Erick
0b72a28183
feat: improving the spaceship hole area ( #108 )
...
* feat: improving the spaceship hole area
* fix: lint
3 years ago
Erick
90131d9724
feat: applying assets to the spaceship ( #101 )
...
* feat: applying assets to the spaceship
* fix: rebase issues
* feat: adding missing coverage
* fix: lint
* feat: improving test
* Apply suggestions from code review
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
* feat: pr suggestions
* feat: pr suggestions
* Update packages/pinball_components/lib/src/components/spaceship.dart
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
* feat: pr suggestions
* fix: rebase issues
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
3 years ago
Alejandro Santiago
72b8213f74
feat: including black and white Flipper assets ( #102 )
...
* feat: included left and right flipper assets
* feat: loaded left and right flipper assets
* feat: moved Flipper to components and defined controller
* refactor: moved lock to FlipperJoint
* refactor(sandbox): rephrased description
* feat(sanbox): including Flipper example
* feat: included Tracing story
* feat: defined trace method
* feat(sandbox): included right flipper
* feat: sized Flipper to match asset
* refactor: moved tests
* feat: tested flipper_controller
* feat: adjusted flipper size
* feat(sandbox): removed TapDetector
* refactor: removed unused import
* fix: increased test coverage
* docs: improved doc comments
* fix: changing merge imports
* refactor: simplified loading asset logic
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* chore: removed old Flipper asset
* fix: used correct variable
* feat: enchanced tracing example
* refactor: renamed circleAssetShadow to assetShadow
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
3 years ago
Alejandro Santiago
411b489e1e
refactor: Pathway to Shapes ( #87 )
...
* refactor: removed findNested extensions (#77 )
* refactor: changed Pathway for Shapes
* refactor: renamed pathway to shape
* refactor: moved shapes to components package
* fix: fixed arc radius on shapes
* refactor: changed jetpack to shapes
* refactor: modified jetpack ramp to use shapes and blueprint
* refactor: launcher ramp
* test: removed unnecessary tests for ramps
* refactor: refactored baseboard with arcshapes
* chore: doc refactor
* test: coverage tests
* refactor: refactored launcher ramp
* test: tests for shapes
* test: added removed ellipse tests
* test: arcshape coverage
* test: unnecessary tests removed
* chore: params names
* chore: modified doc for Layered and added one test for nested
* test: changed tests names
* test: not layered nested children
* refactor: moved static param and made other private on ramps
* Update lib/game/components/jetpack_ramp.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* Update lib/game/components/jetpack_ramp.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* Update lib/game/components/launcher_ramp.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* chore: renamed straight path vars
* Update packages/pinball_components/lib/src/components/shapes/arc_shape.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* refactor: constructors with rotation instead of separated method
* test: refactored tests
* refactor: moved rotate to separate method
* refactor: rotation on shapes
Co-authored-by: RuiAlonso <rui.alonso@verygood.ventures>
Co-authored-by: Rui Miguel Alonso <ruiskas@gmail.com>
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
3 years ago
Erick
2d647f9630
fix: sandbox github workflow ( #99 )
...
* fix: sandbox github workflow
* fix: forcing error to test
* fix: lint
* fix: lint
3 years ago
Rui Miguel Alonso
9f1f9f4466
feat (sandbox): added layers story at sandbox to check collision with nested components ( #97 )
...
* feat: added layers story to check collision with nested components
* feat: added more components to layer story
* chore: unused import
* chore: renamed component
3 years ago
Erick
de963cbc86
feat: adds ball turbocharge effect ( #66 )
...
* feat: adding ball boost effect
* fix: lint
3 years ago
Allison Ryan
e6dca1ed7f
refactor: dimension and position `Plunger` ( #96 )
...
* refactor: dimension plunger
* refactor: adjust launch ramp and ball size
* refactor: use board center for positioning
Co-authored-by: Erick <erickzanardoo@gmail.com>
3 years ago
Erick
b8f86a9976
feat: adding sandbox project on pinball_components ( #90 )
3 years ago
Erick
c8782cfbf4
refactor: splitting `Ball` business from UI logic ( #86 )
...
* feat: refactoring ball component to separate business from ui logic
* fix: tests
* fix: lint
* fix: test coverage
* Update lib/game/components/ball.dart
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
3 years ago
Erick
92404fbdba
feat: adding pinball components scaffold project ( #82 )
...
* refactor: removed findNested extensions (#77 )
* feat: bootstraping the components package
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
3 years ago