Rui Miguel Alonso
e2a82255b8
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
f4b70c712a
fix: add spell check for md files ( #404 )
...
* fix: add spell check for all files
* attempting stuff
* try again
* markdown only
* update words
* final words
3 years ago
Alejandro Santiago
21bf4f478d
refactor: removed FireEffect ( #402 )
3 years ago
Tom Arra
0b9d2131d8
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
Alejandro Santiago
3ee4b0b228
refactor: removed RampScoringSensor ( #395 )
3 years ago
Alejandro Santiago
1e70881751
fix: made Flippers start from bottom position ( #392 )
3 years ago
Alejandro Santiago
42382f3b8a
feat: implemented `ScoreComponentScalingBehavior` ( #391 )
...
* feat: implemented ScoreComponentScalingBehavior
* fix: adjusted score ZIndex
* refactor: removed unused class
* refactor: adjusted goldens path
3 years ago
Alejandro Santiago
b3f891be0e
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
ca6b8cc1b3
refactor: AndroidSpaceshipBonusBehavior use FlameBlocListener ( #371 )
3 years ago
Allison Ryan
e7385266ab
chore: new `TopDinoWall` asset ( #387 )
...
* fix: move sparky computer sensor
* chore: asset with brighter spotlight
* chore: asset with brighter spotlight
* chore: revert change
3 years ago
Allison Ryan
0d2a8c5f67
fix: move `SparkyComputer` sensor ( #386 )
3 years ago
Alejandro Santiago
7f25e2e39d
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
Alejandro Santiago
a359a2ec06
fix: improved entering SpaceshipRamp consitency ( #385 )
3 years ago
Allison Ryan
b9a47b2489
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
Allison Ryan
cd1b0db515
chore: swap assets ( #379 )
...
Co-authored-by: Tom Arra <tarra3@gmail.com>
3 years ago
Alejandro Santiago
0534e2dd84
fix: flying ball when entering SpaceshipRamp ( #380 )
3 years ago
Jorge Coca
1612bd971b
chore: cleanup public api docs annotations ( #382 )
3 years ago
Jorge Coca
22cb02dbc3
chore: remove TODO comments form the codebase ( #373 )
...
Co-authored-by: Tom Arra <tarra3@gmail.com>
3 years ago
Allison Ryan
b6ef9f73f6
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
3b5af49756
refactor: `SparkyComputer` behaviors and removed `ControlledBall` ( #365 )
...
* refactor: sparky behaviors and remove controlled ball
* fix: test typo
* fix: PR suggestions
3 years ago
Allison Ryan
d634adec49
fix: ball disappearing behind dino ( #369 )
...
* fix: adjust dino dimensions so a ball can't get stuck
* fix: goldens
3 years ago
Felix Angelov
b5a4911ab8
ci: remove trailing slash from flame git references ( #367 )
3 years ago
Erick
be3a3b053d
feat: adding error component ( #355 )
...
* feat: adding error component
* Update packages/pinball_components/lib/src/components/error_component.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* Update packages/pinball_components/sandbox/lib/stories/error_component/error_component_game.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* Update packages/pinball_components/sandbox/lib/stories/error_component/stories.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* pr suggestions
* fix tests
* suggestions
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.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
Allison Ryan
a7150279c8
fix: render issue ( #350 )
3 years ago
Alejandro Santiago
ace61193fb
refactor: removed `GameBallsController` ( #349 )
3 years ago
Jochum van der Ploeg
9d98ff37fb
fix: `Plunger`'s pull not correctly working on some devices ( #321 )
...
* fix: plunger's pull not correctly working on some devices
* fix: plunger's pull not correctly working on some devices
* fix: plunger's pull not correctly working on some devices
Co-authored-by: Tom Arra <tarra3@gmail.com>
3 years ago
Allison Ryan
8a8f86ba56
chore: swap out multiple assets ( #342 )
...
* chore: new android and saucer
* chore: new outer boundary
* chore: new computer glow
* chore: switch dash asset states
* refactor: dash nest tracing
Co-authored-by: Tom Arra <tarra3@gmail.com>
3 years ago
Allison Ryan
155e316ba1
feat: implemented `SkillShot` ( #337 )
...
* feat: add skill shot
* fix: unused import
* refactor: switched method
* style: parameter order
3 years ago
Alejandro Santiago
0595e82649
refactor: moving layering to `LayerFilteringBehavior` ( #340 )
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
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
Rui Miguel Alonso
41aaaa4646
refactor: new asset for cow `AndroidBumper` ( #327 )
...
* feat: new assets
* refactor: fixed cow bumper shape to new asset
3 years ago
Rui Miguel Alonso
c9b46f6753
refactor: new asset ( #328 )
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
Jochum van der Ploeg
5af198a9a0
fix: physics are FPS depended ( #316 )
...
* fix: physics are FPS depended
* fix: physics are FPS depended
3 years ago
Alejandro Santiago
01dc3f387a
refactor: moved gravity logic to `BallGravitatingBehavior` ( #314 )
3 years ago
Alejandro Santiago
c67db0e55c
refactor: moved scaling logic to `BallScalingBehavior` ( #313 )
3 years ago
Tom Arra
6e4651f89e
chore: remove VGV copyright ( #292 )
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
Alejandro Santiago
36f7886f63
refactor: removed `mocks.dart` ( #307 )
...
* refactor: removed mocks.dart
* refactor(pinball_audio): removed callable classes
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
Alejandro Santiago
edf427513a
fix: slightly increased Kicker's strength ( #295 )
3 years ago