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
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
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
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
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
Allison Ryan
431257f831
feat: add `GoogleLetter` assets ( #286 )
...
* chore: add google letter assets
* refactor: reposition letters
* test: update tests
* refactor: renamed GoogleLetterState
* refactor: renamed active/inactive to lit/dimmed
* refactor: renamed Assets paths
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
3 years ago
Alejandro Santiago
95fe7a62aa
feat: implemented rendering with `ZIndex` ( #282 )
...
* feat: defined PinballCavas
* refactor: remove unawaited
* feat: defined renderTree
* refactor: made LaunchRamp a Component
* refactor: removed RenderPriority from FlutterForest
* feat: implementing PinballCanvasComponent
* refactor: migrated to zIndex
* refactor: removed old pinball_canvas.dart
* refactor: cleaned PinballCanvasComponent
* refactor: reordered children additions
* refactor: adjusted priorities
* refactor: adjusted RenderPriority
* refactor: improved rendering algorithm
* refactor: removes Blueprint
* test: migrating blueprint tests
* docs: removed Blueprint references
* refactor: renamed PinballCanvas to ZCanvas
* test: tested z_canvas_component
* refactor: renamed LayerSensor to use zIndex
* refactor: renamed RenderPriority to ZIndexes
* refactor: removed priority instances
* refactor: removed priority occurences
* fix: plunger and tapping positions
* test: correctly testes SparkyScorch
* test: adjusted ScoringBehavior test
* docs: documented z_canvas_component
* test: fixed ScoringBehavior tests
* refactor: renamed to ZCanvas
* refactor: applied PR suggestions
3 years ago
Jochum van der Ploeg
c0d18445bd
chore: update scores ( #256 )
...
* chore: update scores
* chore: update scores
* chore: update scores
* chore: update scores
* chore: update scores
* Update packages/pinball_components/test/src/components/google_letter/google_letter_test.dart
* Update packages/pinball_components/test/src/components/kicker_test.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
3 years ago
Alejandro Santiago
2673c419b5
feat: migration to new `ContactCallbacks` ( #234 )
...
* feat: migrated to new ContactCallbacks
* refactor: moved renderBody to super call
* feat: defined AlienBumper behaviours
* feat: included ParentIsA mixin
* refactor: modified ContactCallbacksGroup
* feat: resolved missing ContactCallbacks with Behaviors
* refactor: removed unused ParentIsA
* refactor: moved tests
* fix: invalid export
* refactor: renamed behaviours
* test: tested pinball_components
* refactor: removed "Behaviour" typo
* docs: included TODO comment for generics
* docs: included flame_bloc TODO comments
* refactor: renamed ContacCallbacksGroup variable
* docs: included doc comments where possible
* docs: rephrased ContactBehaviour doc comment
* test: included ContactBehavior tests
* feat: implemented FlutterForestBonusBehavior
* refactor: fixed analyser warnings
* test: tested DashNestBumper
* refactor: moved children to last arguement
* test: included closing test
* refactor: used barrel files as imports
* docs: included flutter_bloc TODO
* test: correctly tested GoogleWordBonusBehavior
* refactor: moved flutter_forest_test.dart
* test: fixed AlienZone typo
* feat: removed FlutterForestCubit
* test: closed streams
* refactor: removed optional bloc parameter
* refactor: added flame_bloc TODO comment
* docs: included .test constructor docs
* feat: included GoogleLetter.test
* test: made blink test pass
* fix: renamed theme to CharacterTheme
* refactor: moved timer.stop();
* refactor: renamed hasBonus to achievedBonus
* refactor: ignore public_member_api_docs for cubits
* test: removed beginContact group
* refactor: typos correction
* docs: used correct AlienBumper reference
* docs: removed TODO comment from ContactBehavior subclasses
* docs: includes ScoringBehavior doc
* feat: adjusted FlutterForest priorities
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
3 years ago