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
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
Allison Ryan
5abfe6ab42
feat: add `ChromeDino` behaviors ( #277 )
...
* feat: included new head and mouth assets
* feat: including sprites
* feat: sized sprites
* feat: included new sprites
* feat: adjusted SpriteAnimationComponent
* feat: adjusted tracing logic
* feat: added Traceable to ChromeDinoGame
* feat: synced dino animation
* refactor: fix crazy rendering
* test: chrome dino
* refactor: dino sandbox
* chore: revert spaceship changes
* chore: move assets for sanbox game
* refactor: move dino walls and bottom boundary
* refactor: move dino for moved dino wall
* test: update goldens
* feat: add behaviors to dino
* test: dino behaviors
* feat: add invisible barrier behind dino
* chore: update boundaries golden
* chore: update dino goldens
* fix: spitting test
* fix: two coverage lines
* fix: unused import
* chore: fix personal nits
* fix: test description error
* chore: dino zIndex
* fix: dino desert test from merge
* refactor: moved Vector2 size
* refactor: removed unused userData
* feat: mvoed ChromeDino slightly back
Co-authored-by: alestiago <dev@alestiago.com>
3 years ago
Allison Ryan
02edc75255
feat: adjusting game physics ( #285 )
...
* feat: adjusting game physics
* refactor: adjust physics and add tests
* fix: imports
* test: coverage
* feat: adjusted FlutterForestBonusBehavior rendering
Co-authored-by: alestiago <dev@alestiago.com>
3 years ago
Allison Ryan
92b83dc892
feat: implement blinking `Kicker` assets ( #283 )
...
* refactor: simplified Fixtures creation
* feat: add blinking assets
* test: blinking and asset updates
* docs: clean kicker docs
* refactor: adjusted Kicker constructor
* refactor: moved Mock
Co-authored-by: alestiago <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
Jorge Coca
3fbb2564cc
feat: character selection for desktop and mobile ( #280 )
3 years ago
Rui Miguel Alonso
97193c63f3
refactor: change dino top wall asset, without door ( #278 )
3 years ago
Allison Ryan
3bb5f42f58
refactor: `SparkyScorch` and asset renaming ( #268 )
...
* refactor: sparky scorch
* test: update golden
* chore: update preLoad method
* chore: remove constructor
3 years ago
Allison Ryan
e5e770d086
fix: ball gravity ( #275 )
3 years ago
jonathandaniels-vgv
8fddce60a8
chore: reference the app text styles from theme context ( #264 )
3 years ago
jonathandaniels-vgv
2b0e8b98b8
feat(pinball): added the footer widget with tests ( #253 )
...
* feat(pinball): added the footer widget with tests
* chore: addressed review feedback
* chore: refactor helper methods and mock classes for footer links test
3 years ago
Allison Ryan
3991207d62
feat: add board background asset ( #270 )
...
* feat: add board background sprite
* test: board background sprite
* fix: ignore coverage for dead code
* fix: swap comment order for lint
* fix: comment unused code
* fix: remove unused import 🤦♀️
3 years ago
Jorge Coca
874507d14b
feat(authentication_repository): support anonymous authentication ( #269 )
3 years ago
Alejandro Santiago
f2a20742f0
feat: allow targeting fixtures in `ContactBehavior` ( #263 )
3 years ago
Allison Ryan
0a1ae053d8
feat: add android assets and fix shapes ( #258 )
...
* feat: add android assets and fix shapes
* refactor: remove docs and size
* fix: asset gen styling
3 years ago
Rui Miguel Alonso
cc3ba899ce
feat: implemented `Multipliers` ( #231 )
...
* feat: added multipliers
* feat: added multipliers to sandbox
* test: tests and golden tests for multipliers
* feat: multipliers controller
* fix: missed assets load
* refactor: multiplier refactored and tested
* refactor: changed sandbox for multipliers
* feat: multiplier controller
* refactor: moved assets to constructor at sandbox
* test: coverage for multipliers
* test: removed test
* refactor: coverage for multiplier
* test: coverage for multiplier
* chore: multiplier doc
* Update packages/pinball_components/sandbox/lib/stories/multipliers/multipliers_game.dart
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
* chore: little code refactor, doc
* refactor: multiplier creation refactored
* test: fixed tests for multipliers
* refactor: changed properties names
* refactor: multipliers cubit
* test: refactored tests for multipliers
* refactored: sandbow for multipliers
* refactor: multipliers controller
* test: tests for multiplier behavior
* chore: analysis errors
* feat: multipliers behavior with multiplier from gamebloc
* refactor: changed toggle to next at multipliers
* test: coverage for cubit
* refactor: refactored multipliers and coverage
* refactor: sandbox
* test: flamebloctester
* Update lib/game/components/multipliers/multipliers.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* Update packages/pinball_components/lib/src/components/multiplier/cubit/multiplier_cubit.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* Update lib/game/components/multipliers/multipliers.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* Update packages/pinball_components/lib/src/components/multiplier/cubit/multiplier_state.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* Update packages/pinball_components/lib/src/components/multiplier/cubit/multiplier_state.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* Update test/game/components/multipliers/behaviors/multipliers_behavior_test.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* test: fixed test names and golden files
* test: golden tests
* fix: fixed bloc bug for tests on multiplier behavior
* chore: renamed rotation
* chore: doc ignore
* test: grouped
* test: golden tests dir
* Update packages/pinball_components/sandbox/lib/stories/multipliers/stories.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* refactor: moved extension for multiplier value
* chore: multiplier extension equalsTo name
* fixed: missed method rename
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
3 years ago
Rui Miguel Alonso
7d8cd8c357
feat: implemented `AndroidBumper.cow` ( #257 )
...
* feat: added cow assets
* feat: added cow bumper
* feat: cow sanbox
* Update packages/pinball_components/sandbox/lib/stories/android_acres/android_bumper_cow_game.dart
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
* refactor: sandbox ball color
* fix: cow bumper spriteposition
* fix: cow bumper size
* refactor: cow shape and positioning
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
Co-authored-by: Allison Ryan <allisonryan0002@gmail.com>
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
3 years ago
Alejandro Santiago
fc039ec082
fix: based `BumpingBehavior` on world's normal ( #267 )
3 years ago
Jorge Coca
c290465247
refactor(leaderboard_repository): only keep the top-10 score in the leaderboard collection ( #265 )
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
jonathandaniels-vgv
21b54a0cdc
feat: added how to play dialog for desktop and mobile ( #242 )
...
* chore: create app_ui package
* chore: add dialog asset
* chore: create DialogDecoration
* chore: import app_ui
* feat: use DialogDecoration in app
* fix: update description
* fix: rename package
* fix: update README
* fix: exlude generated files from analysis
* fix: update workflow file
* fix: update tests
* fix: update description
* added how to play content
* added how to play screen for mobile devices (#245 )
* ui: added how to play dialog for mobile
* chore: added mobile dialog content test
* fix: apply code review
* chore: addressed refactor feedback
* feat: how to play dialog is timed and manually dismissible (#251 )
* chore: autoclose how to play dialog after 3 seconds
* test: added test for barrier dismiss on tap
* fix: update description
* fix: add Material to decoration
* chore: swapped asset for the spacebar
* chore: removed duplicate variable
* chore: moved timer logic to how to play dialog
* ui: added rocket to mobile launch directions
* feat(platform_helper): created a platform helper package to detect web vs mobile
* feat(platform_helper): import platform helper into pinball
* test: wrote tests for platform detection on how to play dialog
* chore: added platform helper package to ci
* chore: address foreseen nits
Co-authored-by: arturplaczek <arturp1989@gmail.com>
Co-authored-by: arturplaczek <33895544+arturplaczek@users.noreply.github.com>
3 years ago
Rui Miguel Alonso
09c841b5e1
feat: updated `RocketSpriteComponent` sprite ( #255 )
...
* feat: updated final rocket asset
* chore: minor changes at test and doc
* fix: rendering
Co-authored-by: Allison Ryan <allisonryan0002@gmail.com>
3 years ago
arturplaczek
45cd89face
chore: dialog background for select character & how to play ( #236 )
3 years ago
Alejandro Santiago
61ed719bc5
fix: flipper not fully locking ( #175 )
...
* fix: waited for game to unlock
* fix: flipper lock
Co-authored-by: Allison Ryan <allisonryan0002@gmail.com>
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
3 years ago
Allison Ryan
cf688f0f26
chore: removed `Wall` and `Board` ( #224 )
...
* chore: remove wall and board
* fix: lint
* refactor: bottom group test
* chore: remove start and end variables
* refactor: group stories
* refactor: bottom group blueprint
* style: remove whitespace and add comma
* refactor: add drain behavior
* refactor: bottom group to component
* fix: render issue
3 years ago
Allison Ryan
97337938d4
feat: animate chrome dino ( #229 )
...
* feat: included new head and mouth assets
* feat: including sprites
* feat: sized sprites
* feat: included new sprites
* feat: adjusted SpriteAnimationComponent
* feat: adjusted tracing logic
* feat: added Traceable to ChromeDinoGame
* feat: synced dino animation
* refactor: fix crazy rendering
* test: chrome dino
* refactor: dino sandbox
* chore: revert spaceship changes
* chore: move assets for sanbox game
* refactor: move dino walls and bottom boundary
* refactor: move dino for moved dino wall
* test: update goldens
* chore: clean up dino wall fixture defs
* refactor: dino variable and comment fixes
* chore: add todo
* refactor: fix PR nits
* chore: use internal positioning
* refactor: keep positioning
* chore: fix nits and add todo
* fix: update boundaries golden
Co-authored-by: alestiago <dev@alestiago.com>
3 years ago
Allison Ryan
8e9ef85dda
refactor: add spaceship rail assets ( #244 )
...
* refactor: update rail assets and shape
* fix: add assets to newly merged test
3 years ago
Allison Ryan
fdc73b637b
refactor: add new boundary curve ( #238 )
...
* refactor: add new asset and update fixtures
* chore: clean up fixtures
3 years ago
Alejandro Santiago
683f2746f3
feat: defined `BumpingBehavior` ( #248 )
...
* feat: defined BumpingBehavior
* refactor: removed unused import
* docs: fixed typo
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* feat: made strength private
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
3 years ago
Allison Ryan
c33d34e42f
refactor: alien to android ( #246 )
...
Co-authored-by: Alejandro Santiago <dev@alestiago.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
arturplaczek
b9c2f3a54f
feat: score widget with animation ( #206 )
3 years ago
arturplaczek
bd9d219f0b
chore: rename ThemeCubit to CharacterThemeCubit ( #233 )
3 years ago
Rui Miguel Alonso
f20662cdaa
refactor: changed dino walls ( #208 )
...
* refactor: changed dino walls
* fix: fixed walls shapes
* refactor: load dino walls assets from cache
* feat: added dino walls to sandbox
* test: added dino wall assets to test
* test: fixed golden test
* fix: pubspec from main
* refactor: refactored code and fixed shapes
* refactor: create fixtures
* test: golden test updated
* refactor: dinowalls sandbox refactor
3 years ago
jonathandaniels-vgv
36c1afe80d
feat(share_repository): added ability to fetch share url for facebook and twitter ( #225 )
...
* feat(share_repository): added ability to fetch share url for facebook and twitter
* doc(share_repository): mention to open share links with url_launcher
* chore: addressed review feedback
* chore: update repository to take in app url
* test: changed test url to a fake one
* chore: rename method signature
* chore: renamed variables for new method name
Co-authored-by: RuiAlonso <rui.alonso@verygood.ventures>
3 years ago
jonathandaniels-vgv
47b74e3a9d
feat(leaderboard_repository): enable ability to check if initials are allowed ( #226 )
...
* feat(leaderboard_repository): enable ability to check if a username is allowed
* chore: addressed review feedback
* chore: addressed review feedback
3 years ago
Alejandro Santiago
06b7f29830
feat: removed `Component` inheritance form `Blueprint` ( #218 )
3 years ago
arturplaczek
20529c1406
chore: SpriteAnimationWidget from pre release flame ( #228 )
3 years ago
Alejandro Santiago
1f72dbfd4a
refactor(sandbox): reduced Stories boilerplate code ( #227 )
...
* refactor: implemented addGame method
* refactor: renamed extension to StoryAddGame
* refactor: renamed .info to .description
* refactor: used imagesFileNames to cache images
* feat: specified simple toPath method
* refactor: removed unused import
* refactor: usde correct title
* fix: moved camera to center
* refactor: removed redundant Traceable
* feat: modified trace algorithm
3 years ago
Rui Miguel Alonso
e63d893a9c
feat: added outer bottom boundary ( #221 )
...
* feat: added outer bottom boundary
* feat: added outer bottom asset to sandbox
* refactor: pubspeck from main
* test: fix tests
* test: fixed load at tests
* test: fixed golden tests
3 years ago
Jochum van der Ploeg
06ed83bdf2
feat: add debug information ( #222 )
...
* feat: add debug information
* feat: add debug information
* feat: add debug information
* feat: add debug information
* feat: add debug information
* feat: add debug information
* feat: add debug information
3 years ago
arturplaczek
08bc805b8b
chore: character animations files ( #223 )
...
* chore: add animation files
* chore: update CharacterTheme with animation path
* fix: apply code review
* fix: update description
* fix: test
3 years ago
jonathandaniels-vgv
169fb2c2d5
feat(share_repository): created the dart package ( #215 )
...
* feat(share_repository): created the dart package
* chore: updated description
3 years ago
Allison Ryan
7cc41231a9
feat: add sparky animatronic ( #194 )
...
* feat: add sparky animatronic
* refactor: move computer into sparky fire zone
* test: sparky animatronic and controller
* chore: removed old test
* test: remove test for sparky fire zone component
* refactor: use onComplete
* chore: included SparkyTurboChargeSensor
* feat: specified priority
* fix: specified render priority
* refactor: spacing changes
* refactor: used children param
* feat: made SparkyFireZone a Blueprint
* feat: updated assets
* refactor: moved SparkyComputerSensor
* test: fix contact callback tests
* test: updated SparkyComputer loading test
* test: updated golden animatronic tests
* feat: modified turboCharge duration
* fix: included missing cached image
* fix: coverage
* refactor: removed unused HasGameRef mixin
* fix: included missing plunger assets
* Update test/game/components/sparky_fire_zone_test.dart
* fix: unused import
Co-authored-by: alestiago <dev@alestiago.com>
3 years ago
Alejandro Santiago
8a9c269b60
feat: include `blueprints` getter ( #220 )
3 years ago
Allison Ryan
29ec61ff97
fix: sanbox stories ( #219 )
3 years ago
Allison Ryan
38602c8dba
chore: add more colored assets ( #217 )
...
* chore: add new assets and clean up code
* style: trailing comma
* refactor: use duration variable
3 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>
3 years ago
Allison Ryan
0bc597d34f
feat: add character icon next to initials input ( #209 )
...
* chore: add icon assets
* test: update theme tests
* feat: add icon to initials input
* fix: remove material design from theme package
* refactor: suggestions
* refactor: load from cache
* chore: remove unawaited
* test: update test for caching
3 years ago
Rui Miguel Alonso
5889ca8379
feat: spaceship ramp final assets ( #207 )
...
* refactor: updated spaceship ramp assets
* "feat: added spritecomponent for arrow"
* test: tests for spaceship ramp
* refactor: spaceship ramp tests
* chore: trailing commas
* refactor: updated assets for ramp main and opening
* Update packages/pinball_components/lib/src/components/spaceship_ramp.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* Update packages/pinball_components/lib/src/components/spaceship_ramp.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* chore: changed visibility, some comments
* test: golden tests for ramp
* test: refactored tests for spaceshipramp
* refactor: make arrow accesible
* refactor: changed arrow assets filenames
* refactor: changed arrow assets filenames
* chore: doc for arrow sprites state
* test: removed pump
* refactor: load images from cache
* test: refactor test with cached images
* refactor: fir spaceship ramp entrance"
* refactor: new priority for ramp arrow and fix comments
* test: ramp assets
* refactor: spaceship sandbox refactored to see arrow behaviour
* test: assets for tests
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
3 years ago
Allison Ryan
58324adad6
refactor: bumper animation logic ( #204 )
...
* chore: update assets
* refactor: bumpers to use group components
* refactor: update dash nest games
* refactor: load assets in test games
* test: bumper changes
* fix: analyzer warning
* refactor: load assets in sandbox stories
* refactor: back to active/inactive naming
* refactor: sprite sizing
* refactor: use loadAll
* refactor: loadAll in sandbox
* refactor: comments and sizing
* fix: preload assets for pinball page test
* refactor: load signpost assets from cache
* refactor: signpost tests from cache
* refactor: loadAll sprites
3 years ago
Alejandro Santiago
00e006bde3
feat: adds Sprite states to SignPost ( #205 )
...
* feat: included new assets
* chore: update game assets loader
* feat: allowed progressing sprite
* feat(sanbox): updated games
* feat: updated tests
* feat: updated goldens
* feat: renamed FlutterSignPost to SignPost
* chore: updated goldens
* chore: renamed story
* refactor: removed caching
* refactor: changed how Sprites are loaded
* feat: made SignpostSpriteState visibleForTesting
* refactor: rename SignPost to Signpost
* chore: updated goldens
* refactor: improved test name
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* docs: documented new Signpost functionality
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* docs: improved progress doc
* feat: removed loop
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
3 years ago
arturplaczek
0203927c49
chore: update common files, add text style & color files ( #193 )
3 years ago
Rui Miguel Alonso
a7a0082831
feat: plunger animation ( #200 )
...
* feat: new plunger animation asset
* refactor: changed plunger position
* fix: fixed merge conflicts with main at launcher component
* fix: fixed merge conflicts on plunger
* feat: added plunger animation and fixed position
* refactor: plunger position and compressionDistance
* test: tests and golden test for plunger
* refactor: oncomplete at plunger animations
* test: fixed tests for animation
* refactor: plunger with SpriteAnimationGroupComponent
* test: fixed golden tests and removed unused ones
* test: golden tests images
* chore: doc and refactor methods
* refactor: improved plunger body to catch the ball
* refactor: improved plunger body to catch the ball
* test: updated plunger golden tests
* Update packages/pinball_components/lib/src/components/plunger.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* refactor: _PlungerSpriteAnimationGroupComponent load sprites onload
* chore: removed unused import
* Update packages/pinball_components/lib/src/components/plunger.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* Update packages/pinball_components/lib/src/components/plunger.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* fix: fix animation duration
* fix: fixed plunger animation
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
3 years ago
Allison Ryan
12d20b8dbc
feat: add explicit render priorities ( #198 )
...
* feat: static priorities
* refactor: assign all priority values
* chore: rocket and plunger priorities
* chore: rename priority class
* chore: add todo
* chore: remove todo
* refactor: move to separate file
* chore: uncomment score effects
* chore: revert spacing change
* refactor: update spaceship rail priority
* fix: issue in test from merge
* chore: add todos
* feat: add fire animation priority
3 years ago
Rui Miguel Alonso
14f7034d13
feat: launcher final asset ( #201 )
...
* feat: launch backgroun railing asset
* refactor: launch ramp final assets
* refactor: updated assets and position for launcher ramp
* test: golden tests for launcher ramp
* fix: render order and positioning
* refactor: TODO for future refactor of final ramp shape
* refactor: extended launcher foreground rail until boundary bottom to avoid balls scape from dino
Co-authored-by: Allison Ryan <allisonryan0002@gmail.com>
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
3 years ago
Allison Ryan
2c879ab5b5
feat: add flame animation on boost ( #196 )
...
* feat: add flame animation on boost
* refactor: pr suggestions
* chore: add Component suffix
3 years ago
Rui Miguel Alonso
e4ab7c35d1
feat: updated dino walls and bottom wall ( #203 )
...
* feat: updated dino walls with coloured assets and fixed shapes and tests
* refactor: priorities for top wall
* refactor: added bottom wall coloured asset and fixed position and priority with dino bottom wall
* chore: added TODO comments for priority future refactors
* test: golden tests for dino and bottom walls
* refactor: bottom boundary render body
* fix: moved up boundary bottom to avoid line separation between dino bottom wall
3 years ago
Allison Ryan
2d076cceca
refactor: ramp opening logic and naming ( #197 )
...
* refactor: ramp opening logic and naming
* fix: unused import
3 years ago
Alejandro Santiago
0dbd8f1600
refactor: moved Sprites to children param ( #189 )
3 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
3 years ago
Alejandro Santiago
437dc07ba7
refactor: used new Forge2D Defs API ( #188 )
3 years ago
Allison Ryan
9714bead89
feat: gravity override ( #192 )
3 years ago
Erick
43ca2beca7
feat: game over with initials input ( #187 )
...
* adding backboard stories
* progress on the input
* feat: finishing contrls
* adding missing tests
* tests
* removing todo
* Apply suggestions from code review
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* feat: pr suggestions
* feat: pr suggestions
* fix: lint
* feat: pr suggestions
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
3 years ago
Allison Ryan
707e2e78b0
chore: bump flame versions ( #185 )
...
* chore: bumped version numbers
* refactor: resolved gravityScale problems
* chore: fix inverted y axis issues
* test: update tests related to y directions
* fix: unused math imports
* chore: flame version in sandbox
* fix: merge axis adjustments
Co-authored-by: alestiago <dev@alestiago.com>
3 years ago
Allison Ryan
f00d090e8d
chore: enable and add golden tests ( #186 )
...
* chore: enable/add golden tests
* chore: remove failures
* chore: find by test game
3 years ago
Rui Miguel Alonso
333f91fc1e
feat: add rocket plunger ( #180 )
...
* feat: plunger rocket
* feat: added plunger zone and placed rocket over plunger
* chore: doc and unused import
* refactor: move rocket to pinball components
* refactor: created Launcher to group rocket, plunger and launchramp
* chore: unused import
* test: plunger and rocket tests
* Update lib/game/components/launcher.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* Update lib/game/components/launcher.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* refactor: add LauncherRamp nested to Launcher
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
Co-authored-by: Erick <erickzanardoo@gmail.com>
3 years ago
Allison Ryan
e1bdb0e14b
feat: prevent re-entering launch ramp ( #174 )
...
* fix: launch ramp render issue
* feat: prevent going back into launch ramp
* fix: changes from merge
3 years ago
Allison Ryan
bc53fb64d9
refactor: ball priority ( #183 )
...
* refactor: ball priority
* refactor: ramp opening and score text
3 years ago
arturplaczek
64f3bbea5e
chore: update characters theme ( #182 )
3 years ago
arturplaczek
7bd0a60bc7
chore: add png assets for character dialog ( #181 )
3 years ago
Allison Ryan
3ead0f76b0
refactor: spaceship ramp curve ( #173 )
...
* refactor: spaceship ramp curve and new assets
* refactor: use separate base assets
* refactor: group spaceship stories
* refactor: set opacity on all sprite descendants
* chore: move positioning
3 years ago
Rui Miguel Alonso
aafc254ad3
feat: add alien bumper ( #166 )
...
* feat: added alien bumpers
* test: tests for alien bumpers
* feat: sandbox for alien bumpers
* refactor: changed alien bumper ellipses
* feat: added alien bumpers zone to game
* test: tests for alien zone
* refactor: final size and positions for alien bumpers
* feat: added new alien zone bumpers
* test: changed tests for alien
* chore: api doc
* refactor: alien sandbox traceable
* Update lib/game/components/alien_zone.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* refactor: moved alien from board to pinball and fixed sprites
* test: fixed test for alien at pinball
* Update packages/pinball_components/sandbox/lib/stories/alien_bumper/alien_bumper_game.dart
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
* test: clean flamebloc test
* refactor: ControlledAlienBumper visible for testing
* chore: removed unused file
* test: fixed alien test in pinball
* refactor: refactored alien dashbook stories
* chore: analysis error
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
3 years ago
Allison Ryan
b424f0a008
feat: add Dash animatronic ( #169 )
...
* feat: add Dash animatronic
* refactor: controlled animatronic
* fix: unused import
* refactor: remove animatronic controller
* chore: non-nullable onLoad
* test: animatronic is in forest
3 years ago
Alejandro Santiago
f9cd93b77e
refactor: used loaded over mounted ( #179 )
3 years ago
Rui Miguel Alonso
bf0596846b
refactor: `Plunger` controls ( #152 )
...
* feat: added plunger asset and move
* feat: fixed plunger assets and position
* fix: set limits to plunger compression correctly
* chore: unused import
* fix: placed plunger correctly
* test: refactor test game
* refactor: changed spawnBall initialPosition
* chore: plunger golden test
* refactor: moved plunger to pinball_components
* feat: plunger story
* refactor: plunger assets preload
* chore: assets for plunger
* refactor: added key events to plunger game
* refactor: make pull and release public to call from outside plunger
* chore: update to retry tests
* refactor: added Traceable to Plunger sandbox story
* refactor: add Traceable
* fix: removed body from PlungerAnchor
* refactor: removed keyevents from plunger
* test: plunger tests refactored without keyevents
* refactor: removed unused keyevents
* refactor: plunger spritecomponent
* refactor: keyevents to gamecontroller
* feat: added plunger controller
* test: tests for plunger controller
* test: tested plunger controller
* fix: assets gen
* chore: removed export from barrel
* refactor: removed unnecessary keyhandler
* refactor: sprite size
* test: anchor at setup
* refactor: plunger const keys
* Update lib/game/components/controlled_plunger.dart
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
3 years ago
Alejandro Santiago
59c7c8b0ff
docs: removed comment_reference ignore ( #177 )
3 years ago
Alejandro Santiago
9a5284f84b
refactor(sandbox): made BasicBallGame color optional ( #171 )
3 years ago
Alejandro Santiago
baf06ca737
feat: implements `GoogleLetter` ( #172 )
...
* feat: implementing GoogleLetter
* feat: implemented GoogleLetterGame
* feat: included temp assets
* feat: exported google_letter
* feat: defined GoogleLetterActivationEffect
* feat: included story
* feat: included activate and deactivate tests
* refactor: simplified GoogleLetter
* refactor: updated constructor
* refactor: removed condition
* feat: included GoogleLetterOrder
* feat: updated constructor
* refactor: removed extension for index
* refactor: removed unnecessary async
Co-authored-by: Erick <erickzanardoo@gmail.com>
* refactor: removed unnecessary async
Co-authored-by: Erick <erickzanardoo@gmail.com>
* Update packages/pinball_components/lib/src/components/google_letter.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* refactor: changed method typo
Co-authored-by: Erick <erickzanardoo@gmail.com>
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
3 years ago
Erick
1fd6d9bf46
feat: adding score text effects ( #170 )
...
* feat: adding score effects
* feat: adding score text effect
* feat: finishing score text effects
* fixing tests
* feat: pr suggestion
* feat: pr suggestion
* Update lib/game/components/score_effect_controller.dart
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
* Update packages/pinball_components/lib/src/components/score_text_effect.dart
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
* pr suggestions
* more pr suggestions
* nit
* Apply suggestions from code review
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
3 years ago
Rui Miguel Alonso
d32192a4e3
feat: ramps sandbox ( #168 )
...
* feat: added LaunchRamp story
* feat: added SpaceshipRail story
* feat: added SpaceshipRamp story
* feat: added new stories for ramps to dashbook
* refactor: added priority and layer to Ball for BasicBallGame
* refactor: changed renderBody to allow tracing on ramps
* refactor: moved renderBody
* fix: bug on spaceshiprail exit never reached
* fix: spaceshiprail exit and basecamp ball blocked
* refactor: set spaceship foreground priority at super
3 years ago
Allison Ryan
0bec997178
feat: add Sparky's computer ( #155 )
...
* feat: add sparky computer and mechanics
* test: sparky mechanics
* refactor: reposition
* test: contact callback test
* refactor: new separated sprite components
* fix: lint
* refactor: improve ball turbo charge tests
3 years ago
Allison Ryan
98f25242b6
refactor: bottom boundary curve ( #156 )
...
* refactor: update bottom curve
* fix: unused import
* fix: disable golden tests
* refactor: use Traceable
* chore: re-enable zoom golden tests
3 years ago
Erick
bfba65823f
feat: implementing the new game start flow ( #160 )
...
* feat: implementing the new game start flow
* fix: coverage
* fix: lint
* fix: lint
* Apply suggestions from code review
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* feat: PR suggestions
* feat: improve test docs
* feaT: pr suggestions
* feat: adding backboard assets to the pre fetch
* feat: pr suggestions
* feat: pr suggestions
* fix: lint
* fix: ci
* fix: tests
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
3 years ago
Alejandro Santiago
31afa08fc1
feat(sandbox): adds sandbox for all `FlutterForest `components ( #167 )
...
* feat(sandbox): included sandbox for FlutterSignPost
* feat(sandbox): included SmallDashNestBumpers
3 years ago
Allison Ryan
502babf38e
refactor: flipper position and angle ( #161 )
...
* chore: board todos
* refactor: flipper position and angle
* fix: unused import
* style: add space in comment
* chore: half sweeping angle
3 years ago
Rui Miguel Alonso
d7216bbe6d
fix: moved `DinoWalls` slightly to the right ( #164 )
...
* fix: placed right some moved sprites
* fix: added renderBody removed
3 years ago
Alejandro Santiago
51b7f478af
refactor: SpriteComponent subclassing ( #158 )
...
* refactor: remove _loadSprites
* feat: defined BallSprite
* refactor: removed late SpriteComponent
* refactor: defined BaseboardSprite
* refactor: defined DinoWalls sprites
* refactor: defined FlutterSIgnPostSprite
* refactor: defined KickerSprite
* refactor: defined LaunchRampSprite
* refactor: removed trailing comma
* refactor: defined _AndroidHeadSpriteAnimation
* refactor: removed unused import
* refactor: defined FlipperSprite
* docs: improved SpaceshipWall docs
* refactor: defined SpaceshipRailRampSprite
* refactor: suffixed Component
* refactor: adjusted FlipperSpriteComponent size
* refactor: resized ball
* chore: trace all bodies in sandbox (#157 )
* feat: add traceAllBodies method
* chore: update tracing stories
* refactor: use for each
* refactor: convert to mixin
* refactor: simplify mixin
* feat(sandbox): made BasicBallGame traceable
* feat: adjusted ball size
3 years ago
Allison Ryan
9d2e9dd243
chore: trace all bodies in sandbox ( #157 )
...
* feat: add traceAllBodies method
* chore: update tracing stories
* refactor: use for each
* refactor: convert to mixin
* refactor: simplify mixin
3 years ago
Alejandro Santiago
d86ef40cb9
feat: Flipper joint adjustment ( #159 )
...
* feat(sandbox): removed FlipperTracingGame
* feat: adjusted flipper anchor
* refacto: adjusted anchoring points
* refactor: removed unused import
* refactor: renamed FlipperGame
3 years ago
Erick
daebb0b749
feat: adding camera zoom effect ( #153 )
...
* feat: adding camera zoom effect
* testing ci
* testing ci
* Apply suggestions from code review
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* testing ci
* testing ci
* ci
* feat: pr suggestion
* fix: lint
* fix: lint
* Apply suggestions from code review
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
2f40dcc971
feat: add slingshots ( #148 )
...
* feat: add slingshots
* test: slingshot
* feat: add slingshot to sandbox
* chore: add todo
3 years ago
Rui Miguel Alonso
254c38d2a4
feat: add sparky bumpers ( #150 )
...
* feat: added sparky bumpers
* test: tests for sparky bumpers
* feat: sandbox for sparky bumpers
* chore: unused imports
* refactor: removed Bumper and added TODO for future refactor
* fix: fixed size and tracing
* fix: fix tracing
* fix: final ellipse sizes
* refactor: different sized bumpers
* Update packages/pinball_components/lib/src/components/sparky_bumper.dart
Co-authored-by: Allison Ryan <allisonryan0002@gmail.com>
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
3 years ago
Rui Miguel Alonso
39b04c1393
feat: kicker assets and dimension ( #144 )
...
* refactor: added kicker asset and fixed dimensions and sizes
* refactor: loadsprite for kicker
* test: added golden test for kicker
* feat: included Kicker sandbox
* refactor: analyzer fixes
Co-authored-by: alestiago <dev@alestiago.com>
3 years ago
Allison Ryan
d25643ce9a
fix: component render order ( #142 )
...
* fix: simplify and order priorities
* test: remove position
3 years ago
Erick
c65dfb6001
feat: adds sound effects ( #143 )
...
* feat: adding placeholder sound effects
* feat: adding sound effects
* fix: lint
* fix: adding pinball audio to mock
* fix: tests
3 years ago
Allison Ryan
4e0f0ffe29
refactor: smooth out drop tube exit ( #135 )
...
* refactor: shrink sensor and add foreground
* fix: uncomment line
* style: trailing comma
* refactor: organize spaceship assets
* refactor: asset name change and size fix
3 years ago
Alejandro Santiago
fcca84be90
refactor: renaming sandbox files ( #141 )
...
* refactor(sandbox): renamed files to stories
* refactor(sandbox): rephrased descriptions
* refactor: renamed files
* refactor: renaming
* chore: merge
3 years ago