Álvaro Stivi
1c6a3cde65
Flutter 3.22 ( #505 )
...
## Description
Updates dependencies in general for the code to be able to build with
the latest version of flutter and dart.
## Type of Change
- [ ] ✨ New feature (non-breaking change which adds functionality)
- [x] 🛠️ Bug fix (non-breaking change which fixes an issue)
- [x] ❌ Breaking change (fix or feature that would cause existing
functionality to change)
- [x] 🧹 Code refactor
- [x] ✅ Build configuration change
- [x] 📝 Documentation
- [x] 🗑️ Chore
1 year ago
Allison Ryan
b21e7f9e5f
refactor: migrate flutter forest to new bloc api ( #481 )
...
Co-authored-by: Tom Arra <tarra3@gmail.com>
3 years ago
Alejandro Santiago
5007705e82
fix: enable auto-pulling for all devices ( #455 )
3 years ago
Allison Ryan
1c8813e039
feat: loop animatronics ( #452 )
...
* feat: loop animatronics
* chore: rename animationCooldown
* fix: appease cspell
Co-authored-by: Tom Arra <tarra3@gmail.com>
3 years ago
Erick
5431f2058a
feat: flipper sfx ( #449 )
...
* feat: flipper sfx
* lint
* Apply suggestions from code review
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* pr
* lint
* Update packages/pinball_audio/lib/src/pinball_audio.dart
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
855e93ec56
feat: flutter forest reset ( #448 )
...
Co-authored-by: Tom Arra <tarra3@gmail.com>
3 years ago
Rui Miguel Alonso
32e3e8d641
fix: `SpaceshipRamp` logic ( #416 )
...
* feat: added behaviors for arrow
* feat: arrow behaviors
* refactor: changed ramp behaviors to new flame bloc
* feat: reset and blinking on ramp
* fix: added behaviors to ramp and some tests
* test: coverage
* refactor: spaceship ramp sandbox
* chore: clean prints
* refactor: unnecessary test methods
* chore: removed unused files
* refactor: remove arrow blinking from this pr
* test: coverage
* refactor: ramp bonus listen when refactored
* refactor: moved FlameBlocProvider inside SpaceshipRamp
* refactor: moved FlameBlocProvider inside SpaceshipRamp and refactor tests
* chore: removed tests failures
* test: removed golden tests for spaceship
* chore: failure tests images
* test: refactor test
* test: coverage
* Update test/game/components/android_acres/behaviors/ramp_progress_behavior_test.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* Update test/game/components/android_acres/behaviors/ramp_reset_behavior_test.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* Update test/game/components/android_acres/behaviors/ramp_shot_behavior_test.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* Update test/game/components/android_acres/behaviors/ramp_reset_behavior_test.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* Update packages/pinball_components/test/src/components/spaceship_ramp/cubit/spaceship_ramp_state_test.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* Update test/game/components/android_acres/behaviors/ramp_progress_behavior_test.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* Update test/game/components/android_acres/behaviors/ramp_progress_behavior_test.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* Update test/game/components/android_acres/behaviors/ramp_progress_behavior_test.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* Update test/game/components/android_acres/behaviors/ramp_progress_behavior_test.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* Update test/game/components/android_acres/behaviors/ramp_progress_behavior_test.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* refactor: flamebloclistenable
* Update packages/pinball_components/test/src/components/spaceship_ramp/cubit/spaceship_ramp_cubit_test.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* Update packages/pinball_components/test/src/components/spaceship_ramp/spaceship_ramp_test.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* refactor: changed listenWhen conditions
* chore: formatting
* test: coverage
* test: multiblocprovider
* Update packages/pinball_components/lib/src/components/spaceship_ramp/cubit/spaceship_ramp_cubit.dart
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
* Update packages/pinball_components/lib/src/components/spaceship_ramp/cubit/spaceship_ramp_state.dart
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
* test: refactored tests
* refactor: max multiplier
* test: fixed error in test
* refactor: removed trailing commas
* test: used ensureAdd
* test: awaited zero duration to trigger next event loop
* test: triggered next event loop
* test: triggered next event loop
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
3 years ago
Allison Ryan
4ad59a795a
chore: fix sandbox and asset cache loading ( #445 )
3 years ago
Alejandro Santiago
973375a9b3
refactor: implemented `FlipperMovingBehavior` ( #444 )
3 years ago
Alejandro Santiago
0ac9cb3140
fix: replaying resets game state ( #441 )
...
* feat: added replay functionality
* feat: resetting google word bonus
* Merge remote-tracking branch 'origin' into feat/replay-functionality
* test: tested Replay overlay
* docs: fixed typo
* test: renamed test
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
3 years ago
Allison Ryan
032618020e
fix: android bonus animation ( #442 )
3 years ago
Alejandro Santiago
461471b01f
refactor: implemented `Plunger` behaviors ( #434 )
...
* feat: defined Plunger behaviors
* refactor: removed ComponentController
* refactor: implementing plunger behaviors
* feat: tested plunger behaviors
* feat: applied Plunger behaviours depending on platfotm
* refactor: fixed typos
* test: updated tap
* refactor: removed key_testers
* refactor: PR typos
* test: added strength assertions
* test: updated goldens
* refactor: renamed methods
* refactor: fixed typo
* refactor: removed dead file
3 years ago
Allison Ryan
1e804694ff
feat: google letter animation sequence ( #431 )
...
Co-authored-by: Tom Arra <tarra3@gmail.com>
3 years ago
Allison Ryan
37f35dc60f
feat: google bonus ball and multiball sync ( #425 )
3 years ago
Allison Ryan
48c5c80b38
feat: add `GoogleRollovers` ( #407 )
...
* feat: add google rollovers
* fix: spelling
* refactor: move zIndex to parent
* chore: remove unnecessary wrapper
* fix: CI
* refactor: PR revisions
* refactor: suggestions
* style: remove parentheses
Co-authored-by: Jorge Coca <jorgecoca@users.noreply.github.com>
3 years ago
Erick
ea33c1c889
feat: adding leaderboard pagination buttons ( #420 )
...
* feat: adding leaderboard pagination buttons
* lint
* cspell
3 years ago
Jorge Coca
ff5e538ac1
perf: compress pinball_ui and pinball_components assets ( #417 )
3 years ago
Allison Ryan
c3094850fd
feat: add arcade backgrounds ( #405 )
...
* feat: add arcade backgrounds
* chore: lighter assets
* chore: swap for smaller assets
3 years ago
Tom Arra
b345c56134
fix: use snake case for goldens ( #400 )
3 years ago
Alejandro Santiago
d0b9bc204f
refactor: moved Shapes to pinball_flame ( #410 )
...
* refactor: moved Shapes to pinball_flame package
* refactor: simplified BezierCurveShape test
* test: properly used isA matcher
3 years ago
Alejandro Santiago
12bc209524
refactor: removed FireEffect ( #402 )
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
Alejandro Santiago
8920689de4
refactor: removed RampScoringSensor ( #395 )
3 years ago
Alejandro Santiago
f7f8661d81
feat: implemented `ScoreComponentScalingBehavior` ( #391 )
...
* feat: implemented ScoreComponentScalingBehavior
* fix: adjusted score ZIndex
* refactor: removed unused class
* refactor: adjusted goldens path
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
Allison Ryan
7f7c14477d
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
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
Alejandro Santiago
eb8cc4bb6f
fix: improved entering SpaceshipRamp consitency ( #385 )
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
Allison Ryan
1a4bd2f85b
chore: swap assets ( #379 )
...
Co-authored-by: Tom Arra <tarra3@gmail.com>
3 years ago
Alejandro Santiago
6b67525716
fix: flying ball when entering SpaceshipRamp ( #380 )
3 years ago
Jorge Coca
4a3e9f7abc
chore: cleanup public api docs annotations ( #382 )
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
Allison Ryan
d2372b539f
fix: ball disappearing behind dino ( #369 )
...
* fix: adjust dino dimensions so a ball can't get stuck
* fix: goldens
3 years ago
Erick
0502d97400
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
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
c9b46f6753
refactor: new asset ( #328 )
3 years ago