Allison Ryan
f00d090e8d
chore: enable and add golden tests ( #186 )
...
* chore: enable/add golden tests
* chore: remove failures
* chore: find by test game
3 years ago
Rui Miguel Alonso
333f91fc1e
feat: add rocket plunger ( #180 )
...
* feat: plunger rocket
* feat: added plunger zone and placed rocket over plunger
* chore: doc and unused import
* refactor: move rocket to pinball components
* refactor: created Launcher to group rocket, plunger and launchramp
* chore: unused import
* test: plunger and rocket tests
* Update lib/game/components/launcher.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* Update lib/game/components/launcher.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* refactor: add LauncherRamp nested to Launcher
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
Co-authored-by: Erick <erickzanardoo@gmail.com>
3 years ago
arturplaczek
034c3719bf
chore: StartGameBloc for control flow before launch the game ( #184 )
3 years ago
Allison Ryan
e1bdb0e14b
feat: prevent re-entering launch ramp ( #174 )
...
* fix: launch ramp render issue
* feat: prevent going back into launch ramp
* fix: changes from merge
3 years ago
Allison Ryan
bc53fb64d9
refactor: ball priority ( #183 )
...
* refactor: ball priority
* refactor: ramp opening and score text
3 years ago
arturplaczek
64f3bbea5e
chore: update characters theme ( #182 )
3 years ago
arturplaczek
7bd0a60bc7
chore: add png assets for character dialog ( #181 )
3 years ago
Allison Ryan
3ead0f76b0
refactor: spaceship ramp curve ( #173 )
...
* refactor: spaceship ramp curve and new assets
* refactor: use separate base assets
* refactor: group spaceship stories
* refactor: set opacity on all sprite descendants
* chore: move positioning
3 years ago
Rui Miguel Alonso
aafc254ad3
feat: add alien bumper ( #166 )
...
* feat: added alien bumpers
* test: tests for alien bumpers
* feat: sandbox for alien bumpers
* refactor: changed alien bumper ellipses
* feat: added alien bumpers zone to game
* test: tests for alien zone
* refactor: final size and positions for alien bumpers
* feat: added new alien zone bumpers
* test: changed tests for alien
* chore: api doc
* refactor: alien sandbox traceable
* Update lib/game/components/alien_zone.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* refactor: moved alien from board to pinball and fixed sprites
* test: fixed test for alien at pinball
* Update packages/pinball_components/sandbox/lib/stories/alien_bumper/alien_bumper_game.dart
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
* test: clean flamebloc test
* refactor: ControlledAlienBumper visible for testing
* chore: removed unused file
* test: fixed alien test in pinball
* refactor: refactored alien dashbook stories
* chore: analysis error
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
3 years ago
Allison Ryan
b424f0a008
feat: add Dash animatronic ( #169 )
...
* feat: add Dash animatronic
* refactor: controlled animatronic
* fix: unused import
* refactor: remove animatronic controller
* chore: non-nullable onLoad
* test: animatronic is in forest
3 years ago
Alejandro Santiago
f9cd93b77e
refactor: used loaded over mounted ( #179 )
3 years ago
Rui Miguel Alonso
bf0596846b
refactor: `Plunger` controls ( #152 )
...
* feat: added plunger asset and move
* feat: fixed plunger assets and position
* fix: set limits to plunger compression correctly
* chore: unused import
* fix: placed plunger correctly
* test: refactor test game
* refactor: changed spawnBall initialPosition
* chore: plunger golden test
* refactor: moved plunger to pinball_components
* feat: plunger story
* refactor: plunger assets preload
* chore: assets for plunger
* refactor: added key events to plunger game
* refactor: make pull and release public to call from outside plunger
* chore: update to retry tests
* refactor: added Traceable to Plunger sandbox story
* refactor: add Traceable
* fix: removed body from PlungerAnchor
* refactor: removed keyevents from plunger
* test: plunger tests refactored without keyevents
* refactor: removed unused keyevents
* refactor: plunger spritecomponent
* refactor: keyevents to gamecontroller
* feat: added plunger controller
* test: tests for plunger controller
* test: tested plunger controller
* fix: assets gen
* chore: removed export from barrel
* refactor: removed unnecessary keyhandler
* refactor: sprite size
* test: anchor at setup
* refactor: plunger const keys
* Update lib/game/components/controlled_plunger.dart
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
3 years ago
Alejandro Santiago
59c7c8b0ff
docs: removed comment_reference ignore ( #177 )
3 years ago
Alejandro Santiago
9a5284f84b
refactor(sandbox): made BasicBallGame color optional ( #171 )
3 years ago
Alejandro Santiago
baf06ca737
feat: implements `GoogleLetter` ( #172 )
...
* feat: implementing GoogleLetter
* feat: implemented GoogleLetterGame
* feat: included temp assets
* feat: exported google_letter
* feat: defined GoogleLetterActivationEffect
* feat: included story
* feat: included activate and deactivate tests
* refactor: simplified GoogleLetter
* refactor: updated constructor
* refactor: removed condition
* feat: included GoogleLetterOrder
* feat: updated constructor
* refactor: removed extension for index
* refactor: removed unnecessary async
Co-authored-by: Erick <erickzanardoo@gmail.com>
* refactor: removed unnecessary async
Co-authored-by: Erick <erickzanardoo@gmail.com>
* Update packages/pinball_components/lib/src/components/google_letter.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* refactor: changed method typo
Co-authored-by: Erick <erickzanardoo@gmail.com>
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
3 years ago
Erick
1fd6d9bf46
feat: adding score text effects ( #170 )
...
* feat: adding score effects
* feat: adding score text effect
* feat: finishing score text effects
* fixing tests
* feat: pr suggestion
* feat: pr suggestion
* Update lib/game/components/score_effect_controller.dart
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
* Update packages/pinball_components/lib/src/components/score_text_effect.dart
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
* pr suggestions
* more pr suggestions
* nit
* Apply suggestions from code review
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
3 years ago
Rui Miguel Alonso
d32192a4e3
feat: ramps sandbox ( #168 )
...
* feat: added LaunchRamp story
* feat: added SpaceshipRail story
* feat: added SpaceshipRamp story
* feat: added new stories for ramps to dashbook
* refactor: added priority and layer to Ball for BasicBallGame
* refactor: changed renderBody to allow tracing on ramps
* refactor: moved renderBody
* fix: bug on spaceshiprail exit never reached
* fix: spaceshiprail exit and basecamp ball blocked
* refactor: set spaceship foreground priority at super
3 years ago
Rui Miguel Alonso
69a88441a6
feat: added SparkyFireZone component to the board ( #165 )
...
* feat: added SparkyFireZone component to the board
* chore: doc for sparky fire zone
* refactor: moved sparky from board to pinball
* refactor: ControlledSparkyBumper visible for testing
* test: fixed test
* test: fixed sparky test in pinball
3 years ago
Allison Ryan
0bec997178
feat: add Sparky's computer ( #155 )
...
* feat: add sparky computer and mechanics
* test: sparky mechanics
* refactor: reposition
* test: contact callback test
* refactor: new separated sprite components
* fix: lint
* refactor: improve ball turbo charge tests
3 years ago
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
Erick
5fe5fc007d
feat: adding assets manager ( #163 )
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
Rui Miguel Alonso
fdc3039f72
feat: sparky bumpers game logic ( #154 )
...
* feat: added event for sparky bumpers hit
* test: test sparky bumper bloc event
* refactor: added sparky bumpers actives to GameState
* refactor: removed active sparky bumper from game bloc logic
* refactor: moved sparky bumpers logic to SparkyBumperController
* test: tests for SparkyBumperController
* chore: removed unused import
* refactor: changed sparky fire zone
* refactor: changed sparky fire zone
* chore: analysis errors
* chore: analysis error
* Update test/game/bloc/game_bloc_test.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* Update lib/game/components/sparky_fire_zone.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* chore: formatting file
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
3 years ago
Rui Miguel Alonso
4744f552f0
fix: removed ghost PlungerAnchor shape ( #162 )
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
Alejandro Santiago
655007b2d2
feat: improved extra ball logic ( #151 )
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
d798fdf9fe
feat: plunger asset ( #145 )
...
* feat: added plunger asset and move
* feat: fixed plunger assets and position
* fix: set limits to plunger compression correctly
* chore: unused import
* fix: placed plunger correctly
* test: refactor test game
* refactor: changed spawnBall initialPosition
* chore: plunger golden test
3 years ago
Alejandro Santiago
1a8f534ece
refactor: test with an empty game ( #147 )
...
* refactor: used EmptyPinballGame
* refactor: removed extension
* refactor: used EmptyPinballGame
* fix: merge conflicts
3 years ago
Allison Ryan
625e033709
chore: preload kicker assets ( #146 )
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
Erick
d857a784b2
fix: ball spawn logic ( #136 )
...
* fix: ball spawn logic
* Update lib/game/components/controlled_ball.dart
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
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