Alvaro Almeida Freire Stivi
56abc8daa7
Adds more Canvas Wrapper tests
1 year ago
Alvaro Almeida Freire Stivi
d00f503ee8
Updates dependencies to flutter 3.22, fixes code to run with new dependencies version
...
Disables firebase integration for now, leaderboard functionality will be
restored in another commit.
1 year 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
4 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
4 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
4 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>
4 years ago
Alejandro Santiago
eb8cc4bb6f
fix: improved entering SpaceshipRamp consitency ( #385 )
4 years ago
Alejandro Santiago
6b67525716
fix: flying ball when entering SpaceshipRamp ( #380 )
4 years ago
Jorge Coca
4a3e9f7abc
chore: cleanup public api docs annotations ( #382 )
4 years ago
Jorge Coca
b8f26b81de
chore: remove TODO comments form the codebase ( #373 )
...
Co-authored-by: Tom Arra <tarra3@gmail.com>
4 years ago
Felix Angelov
480b08d3c2
feat(pinball_flame): add readBloc extension ( #374 )
4 years ago
Erick
a55fec26e4
refactor: perfomance improvement on `ZCanvas` ( #366 )
...
* refactor: perfomance improvement on z canvas component
* refactor: used binary search
Co-authored-by: alestiago <dev@alestiago.com>
4 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
4 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>
4 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
4 years ago
Jochum van der Ploeg
5af198a9a0
fix: physics are FPS depended ( #316 )
...
* fix: physics are FPS depended
* fix: physics are FPS depended
4 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
4 years ago
Alejandro Santiago
f2a20742f0
feat: allow targeting fixtures in `ContactBehavior` ( #263 )
4 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>
4 years ago
Alejandro Santiago
06b7f29830
feat: removed `Component` inheritance form `Blueprint` ( #218 )
4 years ago
arturplaczek
20529c1406
chore: SpriteAnimationWidget from pre release flame ( #228 )
4 years ago
Alejandro Santiago
8a9c269b60
feat: include `blueprints` getter ( #220 )
4 years ago
Alejandro Santiago
c73d36d22b
feat: simplified Blueprint implementation ( #212 )
...
* feat: adjusted Blueprint implementation
* refactor: improved tests
* refactor: renamed attach
* feat: tested components setter
* refactor: removed empty line
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* refactor: removed unecessary InitialPosition
* fix: awaited test
* refactor: moved Sensor to ControlledSparkyComputer
* fix: coverage
* refactor: renamed ContactCallback
* docs: renamed template
* docs: renamed template
* refactor: renamed mock ans sensor
* refactor: simplified spaceship_ramp
* refactor: reduced redundancy code
* feat: changes test query
* test: pump on spaceship ramp golden tests
* test: fixed golden tests for inactive spaceship ramp
* refactor: golden tests
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
Co-authored-by: RuiAlonso <rui.alonso@verygood.ventures>
4 years ago
Allison Ryan
2d076cceca
refactor: ramp opening logic and naming ( #197 )
...
* refactor: ramp opening logic and naming
* fix: unused import
4 years ago
Alejandro Santiago
62244f5a37
refactor: define pinball_flame package ( #199 )
...
* feat: created pinball_theme package
* refactor: moved component_controller to pinball_flame
* ci: defined workflow
* refactor: moved blueprint and priority to pinball_flame
* feat: exported keyboard_input_controller.dart
* feat: made Mocks be Mocks
* docs: updated description
* docs: fixed typo
* fix: merge conflicts
4 years ago