Allison Ryan
d601af7307
feat: add kicker audio group ( #418 )
...
* feat: add kicker audio group
* refactor: add RandomABAudio
3 years ago
Allison Ryan
cc73a52428
fix: add bumper noise to cow bumper ( #415 )
3 years ago
Allison Ryan
8b40a642ec
feat: add cow moo sound ( #412 )
3 years ago
Rui Miguel Alonso
80da24b43c
feat: social networks `ShareDisplay` ( #406 )
...
* feat: share screen and tests
* chore: assets gen
* feat: added share repository
* feature: injecting sharerepository
* feat: share url
* feat: state for showing ShareDisplay at Backbox
* test: tests for sharing links
* test: backbox tests
* Update lib/game/components/backbox/displays/share_display.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* Update lib/game/components/backbox/displays/share_display.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* Update lib/game/components/backbox/displays/share_display.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* Update test/game/components/backbox/backbox_test.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* Update test/game/components/backbox/displays/share_display_test.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* Update test/game/components/backbox/displays/share_display_test.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* Update test/game/components/backbox/backbox_test.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* Update test/game/components/backbox/backbox_test.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* refactor: moved down social networks icons
* refactor: url and text for share
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
3 years ago
Rui Miguel Alonso
fdb9075738
feat: `GameOverInfoDisplay` on game over `Backbox` ( #359 )
...
* feat: info screen ui
* feat: info screen ui
* feat: replay button
* feat: added replay button and game flow
* feat: game over info display flow at backbox
* test: fixed tests and coverage
* test: fix tests and coverage
* chore: info display doc"
* refactor: text component name
* Update lib/game/components/backbox/bloc/backbox_state.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* Update lib/game/components/backbox/bloc/backbox_state.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* Update lib/game/components/backbox/bloc/backbox_state.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* Update test/game/components/backbox/displays/info_display_test.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* Update test/start_game/widgets/start_game_listener_test.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* Update test/start_game/widgets/start_game_listener_test.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* Update test/game/view/widgets/replay_button_overlay_test.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* Update test/game/components/backbox/displays/info_display_test.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* Update lib/game/components/backbox/displays/info_display.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* Update lib/game/components/backbox/displays/info_display.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* Update lib/game/components/backbox/displays/info_display.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* Update lib/game/components/backbox/displays/info_display.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* Update lib/game/view/widgets/replay_button_overlay.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* Update lib/l10n/arb/app_en.arb
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* Update test/game/components/backbox/backbox_test.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* Update test/game/components/backbox/bloc/backbox_bloc_test.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* Update lib/l10n/arb/app_en.arb
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* refactor: changed names and removed replaying
* refactor: removed restart logic changes for another pr
* feat: link underscore
* chore: test fixed, names changed
* chore: unused import
* feat: add replayButtonOverlay at GameOverInfoDisplay
* feat: added open source url url launcher
* feat: launch url and test
* chore: removed comments
* fix: remove overlay for Replay to merge info screen
* chore: unused import
* test: load images bug fix
* Update lib/game/components/backbox/displays/game_over_info_display.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* refactor: removed props from state for sharing only score
* feat: moved open links to info display and added link to OS
* test: fixed merge tests
* chore: unused imports and annotation missed
* Update lib/game/components/backbox/bloc/backbox_state.dart
* chore: tappables added to cspell
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
Co-authored-by: Tom Arra <tarra3@gmail.com>
3 years ago
Tom Arra
ce39bc1471
feat: add cspell ( #399 )
...
* feat: add cspell
* revert main and add spell check as a different flow
* check all files
* all files again
* another regex
* dart files
* more changes
* actually checkout the repo
* adding words
* more words
* more words and starting to change code
* more words
* more words
* more words
* more words
* more words
* fixing words
* fixing words
* adding and fixing
* fixes and words
* word fixes
* fixes and words
3 years ago
Erick
6aef28ed8c
feat: final screen for the initials submission error ( #393 )
3 years ago
Erick
75feeaae26
feat: adding leaderboard error screen ( #398 )
...
* feat: adding leaderboard error screen
* Update lib/game/components/backbox/displays/leaderboard_failure_display.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
3 years ago
Erick
52085fdfd3
refactor: renaming to `PinballPlayer` to `PinballAudioPlayer` ( #396 )
...
* refactor: renaming to
* fix merge
* lint
* suggestions
* suggestions
* suggestions
3 years ago
Alejandro Santiago
2284f57ac2
fix: made Flippers start from bottom position ( #392 )
3 years ago
Alejandro Santiago
fd87afb23b
refactor: renamed `DashNestBumper` to `DashBumper` ( #381 )
...
* refactor: renamed DashNestBumper to DashBumper
* refactor: PR suggestions
* refactor: renamed stories
* refactor: renamed test names
* test: renamed test name
* docs: improved bumper docs
* docs: improve docs
* refactor: renamed stories
3 years ago
Felix Angelov
75527d1fe1
refactor: AndroidSpaceshipBonusBehavior use FlameBlocListener ( #371 )
3 years ago
Erick
7fb634bf96
feat: pre fetch leaderboard ( #389 )
3 years ago
Erick
9d184fedf9
feat: adding mobile controls ( #377 )
...
* feat: adding mobile controls
* adding tests for pinball dpad button
* feat: tests
* lint
* Apply suggestions from code review
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* suggestions
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
3 years ago
Alejandro Santiago
0b22b712b0
refactor: removed `ControlledFlipper` ( #343 )
...
* feat: implemented Flippers behaviors
* test: tested Flipper behaviors
* refactor: fixed typo
* refactor: removed unecessary import
* feat: removed and added behavior depending on game status
* test: renamed test
* test: changed golden path
* refactor: removed TODOs
3 years ago
Allison Ryan
54b0bc6e17
feat: add `BonusBallSpawningBehavior` ( #378 )
...
* feat: add BonusBallSpawningBehavior
* refactor: remove on tick and remove behavior
* fix: impulse test
Co-authored-by: Tom Arra <tarra3@gmail.com>
3 years ago
Jorge Coca
b8f26b81de
chore: remove TODO comments form the codebase ( #373 )
...
Co-authored-by: Tom Arra <tarra3@gmail.com>
3 years ago
Allison Ryan
698085a79c
feat: provide and listen to `CharacterThemeCubit` in game ( #375 )
...
* feat: connect game ball to theme selection
* chore: swap out ball assets
* chore: swap out flipper assets
* fix: ball spawn layer
* refactor: use readBloc and fix tests
* refactor: update ball sprite only
3 years ago
Allison Ryan
da064ade32
refactor: `SparkyComputer` behaviors and removed `ControlledBall` ( #365 )
...
* refactor: sparky behaviors and remove controlled ball
* fix: test typo
* fix: PR suggestions
3 years ago
Erick
de76b54efc
feat: adding sparky sfx ( #364 )
...
* feat: adding sparky sfx
* Apply suggestions from code review
* lint
* feat: better bonus sound implementation
* lint
3 years ago
Erick
c8a2150787
feat: adding leaderboard display ( #352 )
...
* feat: adding leaderboard display
* feat: pr suggestions
* fix: conflicts
* lint
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
3 years ago
Allison Ryan
e6005cd735
refactor: add new background and reposition components ( #356 )
...
* refactor: new asset and shape resize
* refactor: add background and move components to match
* chore: update goldens
* chore: swap out computer glow
* chore: pubspec
3 years ago
Alejandro Santiago
b3136e5857
chore: migrating to `flame_bloc` 1.4.0 ( #357 )
...
* refactor: migrating to flame_bloc
* test: passed all tests
* test: updeted ControlledFlipperTest
* test: tested FlameProvider
* test: awaited loading
* test: waited loading ScoreBehavior
* refactor: removed unused files
* refactor: removed FlameBlocTester
* refactor: moved helper
* test: fixed typo name
* refactor: renamed file name to bumper_noise_behavior_test.dart
* refactor: renamed to TestDebugPinballGame
* refactor: removed uncessary KeybordHandler mixin
* refactor: removed unecessary imports
* test: removed testGameWidgets
3 years ago
Erick
135b4ed5c2
refactor: renaming noisy to noise ( #353 )
3 years ago
Erick
df7408728e
feat: adding `Plunger` sound effects ( #324 )
...
* feat: adding launcher sfx
* Apply suggestions from code review
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
* fix test
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
3 years ago
Alejandro Santiago
ace61193fb
refactor: removed `GameBallsController` ( #349 )
3 years ago
Alejandro Santiago
3465c9f1e7
refactor: implemented `CameraFocusingBehavior` ( #346 )
3 years ago
Erick
79da2e9234
feat: game over voice over ( #320 )
...
* feat: game over voice over
* docs nits
* fixing rebase
3 years ago
Allison Ryan
391f9cac8f
refactor: input letter looping and reverse direction ( #335 )
...
* refactor: letter looping and reverse direction
* doc: update test comments to match changes
3 years ago
Erick
e9b902355d
feat: user initials submission ( #341 )
...
* feat: initial implementation
* feat: tests
* fix: lint
* fix: removing wrong commited images
* feat: pr suggestions
* feat: PR suggestions
* Apply suggestions from code review
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
* Apply suggestions from code review
* Apply suggestions from code review
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* fix
* pr suggestions
* fixing comments
* pr suggestions
* lint
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
3 years ago
Alejandro Santiago
2ad0196e44
refactor: include `GameStatus` on `GameBloc` ( #345 )
3 years ago
Erick
34d0e7d65a
feat: improving pinball audio code and loading ( #325 )
...
* feat: improving pinball audio code and loading
* fix: some errors
* refactoring the solution
* Apply suggestions from code review
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
* fix: tests
* fix rebase
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
Co-authored-by: Tom Arra <tarra3@gmail.com>
3 years ago
Alejandro Santiago
5fb9a40e66
fix: rendering with `FilterQuality.medium` ( #334 )
...
* feat: defined HighFilterQualityCanvas
* refactor: removed trailing comma
* refactor: started defining CanvasComponent
* feat: implemented CanvasComponent
* docs: fixed typos
* docs: changed template name
* fix: merge conflict
* refactor: set filterQuality to Medium
* refactor: removed nullable from typdef
* test: updated tests to FilterQuality.medium
3 years ago
Allison Ryan
f6719c93cf
fix: barrier obstructing dino movement ( #339 )
3 years ago
Rui Miguel Alonso
de3569c479
feat: include `Ball` final assets ( #279 )
...
* refactor: load ball assets from cache
* feat: new ball assets
* refactor: ball loads new sprites
* refactor: modified ball assets for sandbox
* refactor: removing baseColor from ball
* refactor: moved ball assets to pinball_theme
* refactor: removed all baseColor for ball
* refactor: removed unused imports
* test: golden tests for ball
* test: added missed ball assets to tests
* chore: reorder imports
* refactor: removed all default ball, use dash
* test: fixed test for ball changes
* test: adde ball assets to forest tests
* fix: fixed tests for ball
* refactor: removed baseColor from ball tests
* chore: unused imports
* test: removed golden tests for balls
* refactor: removed unused assets at test and renamed spriteAsset for ball
* refactor: spriteAsset changed for ball sprite
Co-authored-by: Tom Arra <tarra3@gmail.com>
3 years ago
Rui Miguel Alonso
79624f07f1
feat: `SpaceshipRamp` shot logic ( #296 )
...
* feat: spaceship ramp added cubit and behavior to sensor
* refactor: changed spaceshipt ramp sensor, cubit and behavior names
* refactor: added behaviors to AndroidAcres
* refactor: connect rampsensors with android acres bonus
* refactor: move ramp sensor to spaceship ramp children
* test: fixed some tests for ramp
* chore: removed unused imports
* chore: removed unused import
* Update lib/game/components/android_acres/behaviors/ramp_bonus_behavior.dart
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
* refactor: search sensors from parent children
* refactor: moved ramp sensor cubit to spaceship ramp
* refactor: modified ramp behaviors
* refactor: fixed ramp behaviors tests
* refactor: changed ramp behaviors
* chore: analysis errors
* test: fixed ramp contact test
* test: coverage for spaceshipramp
* Update packages/pinball_components/lib/src/components/spaceship_ramp/spaceship_ramp.dart
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
* refactor: fixed test when removing children from spaceship test constructor
* refactor: moved arrow state to cubit inside ramp instead of propagate from behavior
* refactor: sandbox for spaceshipramp modified
* refactor: removed arrow value from spaceship ramp state to sprite logic
* test: golden tests for ramp arrow
* test: coverage
* test: coverage
* refactor: changed name for RampBallAscendingContactBehavior
* refactor: added ScoringBehavior on shot and bonus behaviors
* feat: cancel subscription on ramp behavior remove
* chore: unused import
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
3 years ago
Rui Miguel Alonso
d729a9ac69
refactor: split `GameState` score into `totalScore`, `roundScore` and `displayScore` ( #331 )
...
* refactor: GameState adding totalScore, roundScore and displayScore
* chore: trailing commas
* chore: doc
Co-authored-by: Tom Arra <tarra3@gmail.com>
3 years ago
Allison Ryan
6ed62f37e8
refactor: add `Backbox` asset and localized text ( #319 )
...
* refactor: clean up backboard
* test: backboard changes
* refactor: rename backbox
* fix: tests
* test: localization mocking
* test: initials input display
* chore: remove extra golden file
* chore: small changes
* test: scoreFormat
* style: cascade
* fix: no optimizations for main
* fix: loading assets
Co-authored-by: Tom Arra <tarra3@gmail.com>
3 years ago
Alejandro Santiago
8957b96ae3
feat: defined `ScoringBehavior` and `ScoringContactBehavior` ( #329 )
...
* refactor: renamed ScoringBehavior to ScoringContactBehavior
* feat: defined ScoringBehavior
* docs: improved documentation
3 years ago
Alejandro Santiago
f38f18d60a
refactor: moved noise logic to `BumperNoisyBehavior` ( #326 )
3 years ago
Alejandro Santiago
44566bcbf0
refactor: moved boost logic to `BallTurboChargingBehavior` ( #323 )
...
* feat(pinball_components): defined BallTurboChargingBehavior
* feat: updated boosting logic
* docs: improved BallTurboChargingBehavior
* docs(pinball_components): changed verb
* test: removed empty group
* test: included instantiation and loading tests
3 years ago
Allison Ryan
182e8f56cb
feat: implemented `Flapper` ( #312 )
...
* feat: add flapper
* chore: add assets to pinball game test
* fix: add mocks in file
* test: check animation onComplete
* fix: image cache in test
* Update packages/pinball_components/lib/src/components/flapper/flapper.dart
* style: commas and userData removal
* refactor: make launcher tests more robust
* refactor: removed children parameter
Co-authored-by: alestiago <dev@alestiago.com>
3 years ago
Erick
ca9679ba1d
feat: adding bumper sfx ( #315 )
...
* feat: adding bumper sfx
* feat: adding missing bumpers
* Update packages/pinball_audio/lib/src/pinball_audio.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
3 years ago
Allison Ryan
3e10c5850d
feat: add hole in dino wall ( #306 )
...
* feat: add mouse hole in dino wall
* style: trailing comma
3 years ago
Allison Ryan
9784091f84
feat: add dino game bonus ( #301 )
...
* feat: connect dino bonus
* fix: remove ball on spit
* refactor: move logic to cubit
* chore: update test cases
3 years ago
Alejandro Santiago
30cb1f9daf
feat: implemented new `FlutterForestBonusBehavior` logic ( #303 )
...
* refactor: moved Signpost to own folder
* feat: defined SignpostCubit
* feat: implemented new FlutterForestBonus logic
* chore: changed assets
* test: updated Signpost test and goldens
* feat: updated zoom effect goldens
* feat: adjusted signpost_test
* refactor: defined isFullyProgressed method
* test: tested FlutterForestBonusBehavior
* refactor: uncommented GameHud
* docs: updated FlutterForestBonusBehavior
* test: used canvas
* docs: enhanced documentation
* refactor: swapped active and inactive assets
* test: included canvas
3 years ago
Allison Ryan
f2160feab9
feat: implemented `AndroidSpaceshipBonusBehavior` ( #298 )
...
* refactor: simplify ball entering spaceship
* feat: add bonus logic and scoring
* chore: add animatronic to spaceship sandbox
* chore: remove renderBody change
* chore: remove leftover children change
* chore: test typo
* refactor: re-add children property
* refactor: use firstChild
* refactor: PR suggestions
* Update packages/pinball_components/test/src/components/android_animatronic_test.dart
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
3 years ago
Erick
6cca3b84b5
feat: background music ( #299 )
...
* feat: adding background music
* feat: add missing test
* fix: removing uneeded comment
* converting music to OGG
* Apply suggestions from code review
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
3 years ago
Rui Miguel Alonso
3a593c2e6e
feat: multiball asset ( #235 )
...
* feat: multiball assets
* feat: added multiball to components
* feat: added controller for multiball
* feat: positioned multiball and changed animation
* feat: added sandbox for multiball
* chore: unused import
* refactor: add rotation to multiball constructor
* test: coverage for multiball
* chore: todos for refactor multiball childrens
* test: removed unused mock
* chore: removed unused imports
* test: removed golden tests
* refactor: changed assets and refactored multiball
* refactor: changed assets and refactored multiball
* test: tests for multiball
* refactor: multiballs group refactored
* chore: names and doc
* refactor: removed duplicated images for multiball
* refactor: changed multiball cubit and state
* refactor: changed multiball and group
* chore: positions of lights
* refactor: changing blink behavior
* test: blink behavior
* refactor: blinking multiball lights
* test: tests for blink behavior
* chore: analysis errors
* test: coverage for blinking
* test: coverage
* test: trying to fix tests
* fix: fixed bloc error on behavior with tests
* refactor: multiball blink
* refactor: blinking behavior to TimerComponent and test coverage
* refactor: modified blinking behavior
* chore: error on merge tests
* test: coverage multiballs
* refactor: cleaned blink behavior
* chore: unused import
* Update packages/pinball_components/test/src/components/multiball/behaviors/multiball_blinking_behavior_test.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* Update packages/pinball_components/test/src/components/multiball/behaviors/multiball_blinking_behavior_test.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* Update test/game/components/multiballs/behaviors/multiballs_behavior_test.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* Update packages/pinball_components/test/src/components/multiball/multiball_test.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* refactor: changed multiball states enum values
* test: multiball descendant test at pinball
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
3 years ago
Rui Miguel Alonso
b9df1006cc
feat: add score assets ( #276 )
...
* feat: added assets for scores
* refactor: modified scoretext component to show sprite with the score
* refactor: changed all ocurrences of scoretext to use score enum as value
* feat: extension to get value
* test: refactor score texts
* refactor: refactored sandbox for scoretexts
* refactor: moved score_text to score_component
* refactor: score enum to Points
* test: golden tests for points
* chore: unused imports
* chore: unused imports
* test: coverage for points extension
* refactor: removed unused points and changed enum names
* test: golden test for kept scores
* Update test/game/components/scoring_behavior_test.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* refactor: score priority over sparky animatronic
* test: reorder tests
* chore: removed empty test group
* fix: missed dino desert points
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
3 years ago