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
Tom Arra
60b71062b2
ci: attempt to fix hosting permissions issue ( #266 )
...
* ci: attempt to fix hosting permissions issue
* remove dispatch
3 years ago
Jorge Coca
c290465247
refactor(leaderboard_repository): only keep the top-10 score in the leaderboard collection ( #265 )
3 years ago
Tom Arra
54d6a5a629
ci: deploy script for dev ( #261 )
...
* ci: deploy script for dev
* use correct dev id
* updates
* add in release flag
* update flutter action to 2
3 years ago
Tom Arra
496bd009d8
feat: adding Google Tag Manager to web ( #262 )
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
Jorge Coca
afeb7884af
chore: delete leaderboard page ( #260 )
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
Jochum van der Ploeg
6395835f20
feat: add mobile touch controls ( #232 )
...
* feat: add mobile touch controls
* feat: add mobile touch controls
* Apply suggestions from code review
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* feat: add mobile touch controls
* feat: add mobile touch controls
* feat: add mobile touch controls
* feat: add mobile touch controls
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
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
Rui Miguel Alonso
4524849c29
feat: game bloc multiplier ( #213 )
...
* feat: added events for multiplier
* feat: added events for increment, apply and reset multiplier
* feat: added multiplier to game bloc state
* test: test for multiplier at game bloc
* test: added multiplier to game state
* refactor: multiplier always increased by 1
* refactor: add multiplier state on BallLost
* refactor: added round to game state and changed gameover and ball lost logic
* test: fixed tests for game bloc
* refactor: multiplier max value 6 at game bloc
* test: fixed tests with new game over logic
* chore: properties renamed and removed unused
* Update lib/game/bloc/game_event.dart
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
* fix: pubspec from main
* refactor: pubspec from main
* chore: removed unused import
* feat: ball added event to game bloc
* test: fixed test for ball added
* feat: added BallAdded event on ball mounted
* test: fixing tests for BallAdded
* test: flamebloctester for ball added
* test: refactored tests for pinballgame
* refactor: BallAdded event on ball mounted
* chore: removed unnecessary imports
* test: refactor tests for pinball_game
* refactor: use rounds instead of balls
* refactor: changed BallLost event with RoundLost, and moved part of the logic to controlled_ball
* test: tests for RoundLost
* fix: fixed wrong tests for pinball_game
* test: remove deleted balls property from GameState
* chore: doc
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
3 years ago
Allison Ryan
66270d103e
fix: ignore debug information coverage ( #250 )
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
arturplaczek
46e9152225
fix: restore GameHud visibility ( #240 )
3 years ago
Alejandro Santiago
49774a5279
ci: included concurrency tags ( #241 )
...
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
arturplaczek
a71afb7623
fix: use fake image instead of assets in tests ( #243 )
...
* chore: add fake image to fakes
* fix: update broken tests
* fix: add TODOs
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
jonathandaniels-vgv
377df64747
chore: added meta tags in index html for image preview ( #237 )
...
* chore: added meta tags in index html for image preview
* chore: updated placeholder site to flutter page
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
Elizabeth Gaston
ad536bba17
Updating metadata descriptions ( #214 )
...
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
Co-authored-by: Rui Miguel Alonso <ruiskas@gmail.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
8f3e1c0c95
chore: updated dependencies ( #216 )
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
arturplaczek
ec52486ece
chore: score bonus animation ( #191 )
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