Erick
ca9679ba1d
feat: adding bumper sfx ( #315 )
...
* feat: adding bumper sfx
* feat: adding missing bumpers
* Update packages/pinball_audio/lib/src/pinball_audio.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
3 years ago
Jochum van der Ploeg
5af198a9a0
fix: physics are FPS depended ( #316 )
...
* fix: physics are FPS depended
* fix: physics are FPS depended
3 years ago
Jorge Coca
58468bde2f
feat: improve UI of the initial loading screen ( #309 )
3 years ago
Allison Ryan
3e10c5850d
feat: add hole in dino wall ( #306 )
...
* feat: add mouse hole in dino wall
* style: trailing comma
3 years ago
Alejandro Santiago
36f7886f63
refactor: removed `mocks.dart` ( #307 )
...
* refactor: removed mocks.dart
* refactor(pinball_audio): removed callable classes
3 years ago
Allison Ryan
9784091f84
feat: add dino game bonus ( #301 )
...
* feat: connect dino bonus
* fix: remove ball on spit
* refactor: move logic to cubit
* chore: update test cases
3 years ago
Alejandro Santiago
30cb1f9daf
feat: implemented new `FlutterForestBonusBehavior` logic ( #303 )
...
* refactor: moved Signpost to own folder
* feat: defined SignpostCubit
* feat: implemented new FlutterForestBonus logic
* chore: changed assets
* test: updated Signpost test and goldens
* feat: updated zoom effect goldens
* feat: adjusted signpost_test
* refactor: defined isFullyProgressed method
* test: tested FlutterForestBonusBehavior
* refactor: uncommented GameHud
* docs: updated FlutterForestBonusBehavior
* test: used canvas
* docs: enhanced documentation
* refactor: swapped active and inactive assets
* test: included canvas
3 years ago
Allison Ryan
f2160feab9
feat: implemented `AndroidSpaceshipBonusBehavior` ( #298 )
...
* refactor: simplify ball entering spaceship
* feat: add bonus logic and scoring
* chore: add animatronic to spaceship sandbox
* chore: remove renderBody change
* chore: remove leftover children change
* chore: test typo
* refactor: re-add children property
* refactor: use firstChild
* refactor: PR suggestions
* Update packages/pinball_components/test/src/components/android_animatronic_test.dart
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
3 years ago
Erick
6cca3b84b5
feat: background music ( #299 )
...
* feat: adding background music
* feat: add missing test
* fix: removing uneeded comment
* converting music to OGG
* Apply suggestions from code review
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
3 years ago
Jochum van der Ploeg
49b306ff0f
fix: plunger on mobile ( #259 )
...
* fix: plunger on mobile
* fix: plunger on mobile
* fix: plunger on mobile
3 years ago
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
Jorge Coca
26acb63460
feat: added animations to character selection ( #284 )
3 years ago
arturplaczek
6f2344cbc9
fix: update google word animation and change speed of animations to 12fps ( #287 )
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
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
jonathandaniels-vgv
8fddce60a8
chore: reference the app text styles from theme context ( #264 )
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
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
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
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
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
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
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
Alejandro Santiago
06b7f29830
feat: removed `Component` inheritance form `Blueprint` ( #218 )
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
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
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
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
Alejandro Santiago
9615d6105f
feat: spawned ScoreText on Ball's position ( #210 )
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
35c23140b5
feat: change screens flow ( #195 )
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
Alejandro Santiago
831d374705
refactor: Flutter forest logic ( #190 )
...
* refactor: removed FlutterForest logic from Bloc
* refactor: removed ids from Bumpers
* refactor: improved casting
* feat: registered event
* refactor: removed unecessary properties
* feat: properly deactivated bumpers
* refactor: removed unused import
* feat: animated animatronic
3 years ago
Alejandro Santiago
c52db09f77
refactor: renamed test games ( #178 )
3 years ago
Alejandro Santiago
a65fb692b5
feat: implement GoogleWord ( #176 )
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
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
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
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
69a88441a6
feat: added SparkyFireZone component to the board ( #165 )
...
* feat: added SparkyFireZone component to the board
* chore: doc for sparky fire zone
* refactor: moved sparky from board to pinball
* refactor: ControlledSparkyBumper visible for testing
* test: fixed test
* test: fixed sparky test in pinball
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
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
Erick
5fe5fc007d
feat: adding assets manager ( #163 )
3 years ago
Rui Miguel Alonso
fdc3039f72
feat: sparky bumpers game logic ( #154 )
...
* feat: added event for sparky bumpers hit
* test: test sparky bumper bloc event
* refactor: added sparky bumpers actives to GameState
* refactor: removed active sparky bumper from game bloc logic
* refactor: moved sparky bumpers logic to SparkyBumperController
* test: tests for SparkyBumperController
* chore: removed unused import
* refactor: changed sparky fire zone
* refactor: changed sparky fire zone
* chore: analysis errors
* chore: analysis error
* Update test/game/bloc/game_bloc_test.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* Update lib/game/components/sparky_fire_zone.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* chore: formatting file
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
3 years ago
Alejandro Santiago
655007b2d2
feat: improved extra ball logic ( #151 )
3 years ago
Rui Miguel Alonso
d798fdf9fe
feat: plunger asset ( #145 )
...
* 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
3 years ago
Alejandro Santiago
1a8f534ece
refactor: test with an empty game ( #147 )
...
* refactor: used EmptyPinballGame
* refactor: removed extension
* refactor: used EmptyPinballGame
* fix: merge conflicts
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
Erick
d857a784b2
fix: ball spawn logic ( #136 )
...
* fix: ball spawn logic
* Update lib/game/components/controlled_ball.dart
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
3 years ago
Rui Miguel Alonso
b40dccb6bf
refactor: move spaceship exit rail ( #130 )
...
* refactor: moved SpaceshipExitRail to pinball components
* test: refactor tests and coverage
* chore: ignore cascade invocations on tests
* refactor: renamed SpaceshipExitRail to SpaceshipRail
3 years ago
Alejandro Santiago
b67b08a18d
refactor: moved ChromeDino to pinball_components ( #134 )
3 years ago
Alejandro Santiago
b243c063a3
refactor: moved Kicker to pinball_components ( #133 )
3 years ago
Alejandro Santiago
5e2ab9bf7b
refactor: renamed flipper_controller.dart to controlled_flipper.dart ( #128 )
...
* refactor: renamed files
* refactor: renamed barrel file export
3 years ago
Rui Miguel Alonso
c8bc7c1942
feat: spaceship drop assets ( #110 )
...
* feat: added assets for drop rail
* feat: placed assets and base bodies
* feat: assets and bases
* refactor: hide spaceship hole
* refactor: redimension curves
* fix: lint
* test: fix geometry tests
* refactor: tube to fit spaceship opening
* refactor: applied priority changes to drop tube
* test: fixed tests for ball contact with exit rail
* Update test/game/components/spaceship_exit_rail_test.dart
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
* chore: formatted test file
Co-authored-by: Allison Ryan <allisonryan0002@gmail.com>
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
3 years ago
Alejandro Santiago
40d0fd0995
refactor: implemented FlameBlocTester ( #122 )
...
* refactor: implemented FlameBlocTester
* refactor: renamed parameter bloc to blocBuilder
3 years ago
Alejandro Santiago
e5c3708952
feat: implemented DashBumper assets ( #119 )
...
* chore: rebase
* chore: rebase
* chore: rebase
* docs: removed extra paragraph
* fix: removed checks
* refactor: removed ephemeral state
* refactor: uncommented code
* feat: automatically sized Sprites
* docs: included TODO comment
* refactor: corrected typo
* docs: updated doc comment
* feat: adjusted tests
* chore: rebase
* feat: included mustCallSuper
* feat: implemented FlutterForest controllers
* feat: improved tests
* fix: analyzer
* refactor: removed unneccessary mock
* feat: include DashNestBumper tests
* docs: improved doc comment
* refactor: fixed test name grammar
* fix: fixed test
3 years ago
Allison Ryan
90588d95c4
feat: add `Baseboard` assets ( #106 )
...
* feat: add baseboard assets
* refactor: move to components package
* test: coverage fix
* chore: small suggestions
* refactor: adjust size
* style: make angle readable
3 years ago
Alejandro Santiago
07ddb1f7b6
refactor: made ball controller listen to bloc ( #116 )
...
* refactor: included BonusBallController
* feat: made LaunchedBallControler react to states
* refactor: removed isLastBall
* fix: solved tests
* fix: solved BonusLetterActivated test
* refactor: used ensureAdd
3 years ago
Alejandro Santiago
79687c8ea3
feat: implemented `ComponentController` ( #111 )
...
* feat: defined component controller
* feat: inclued flame barrel file
* feat: implemented ComponentController
* feat: implemented PlungerBallController
* feat: improved tests
* feat: enhanced component_controller
* feat: included instantiation test
* feat: removed attach method for mixin
* docs: improved doc comment
* feat: included Controls tests
* fix: commented golden test
3 years ago
Alejandro Santiago
631c1e9860
fix: made mocked instance late ( #114 )
3 years ago
Erick
84d7ab8564
feat: updating flame versions ( #112 )
3 years ago
Rui Miguel Alonso
f44c2bc25e
feat: spaceship drop tube ( #79 )
...
* feat: added spaceship drop ramp to board
* refactor: removed findNested extensions (#77 )
* refactor: placed drop ramp below spaceship, fixed position and layers
* test: tests coverage
* chore: analysis errors
* refactor: named SpaceshipExitRail
* chore: doc
* Update lib/game/components/spaceship_exit_rail.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* Update test/game/components/spaceship_exit_rail_test.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* Update test/game/components/spaceship_exit_rail_test.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* refactor: changed name for spaceshipexit layer
* refactor: placed curve for spaceship exit rail
* fix: fixed drop tube sizes
* refactor: placed drop tube and fixed layers from spaceship
* fix: fixed exit hole contact size
* refactor: reordered mocks at tests
* chore: reorder params and typo
* fix: moved drop tube
* test: fixed spaceship exit test
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
Co-authored-by: Erick <erickzanardoo@gmail.com>
3 years ago
Alejandro Santiago
dd88114d1c
feat: included FlutterSignPost ( #107 )
...
* feat: loaded flutter_sign_post.png
* feat: added board priority
* feat: included FlutterSignPost
* feat: included tests
* refactor: renamed tests names for consistency
* chore: refactored exception
* docs: fixed incorrect grammar
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* docs: fixed typo
* refactor: cleaned SpriteComponent logic
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
3 years ago
Rui Miguel Alonso
4558acd03d
feat: add user at end game ( #98 )
...
* refactor: move user score to gameover dialog
* feat: added input textfield
* feat: fixed ui
* feat: send user added to bloc and firebase
* chore: todo for future ui refactor
* feat: capitalize playerinitials to bloc
* refactor: show button on success add user
* test: fixed tests
* test: adding more tests for tap
* test: fixed tests
* test: fixed tests for gameover dialog pressed buttons
* fix: fixed tests and doc
3 years ago
Erick
90131d9724
feat: applying assets to the spaceship ( #101 )
...
* feat: applying assets to the spaceship
* fix: rebase issues
* feat: adding missing coverage
* fix: lint
* feat: improving test
* Apply suggestions from code review
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
* feat: pr suggestions
* feat: pr suggestions
* Update packages/pinball_components/lib/src/components/spaceship.dart
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
* feat: pr suggestions
* fix: rebase issues
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
3 years ago
Alejandro Santiago
72b8213f74
feat: including black and white Flipper assets ( #102 )
...
* feat: included left and right flipper assets
* feat: loaded left and right flipper assets
* feat: moved Flipper to components and defined controller
* refactor: moved lock to FlipperJoint
* refactor(sandbox): rephrased description
* feat(sanbox): including Flipper example
* feat: included Tracing story
* feat: defined trace method
* feat(sandbox): included right flipper
* feat: sized Flipper to match asset
* refactor: moved tests
* feat: tested flipper_controller
* feat: adjusted flipper size
* feat(sandbox): removed TapDetector
* refactor: removed unused import
* fix: increased test coverage
* docs: improved doc comments
* fix: changing merge imports
* refactor: simplified loading asset logic
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* chore: removed old Flipper asset
* fix: used correct variable
* feat: enchanced tracing example
* refactor: renamed circleAssetShadow to assetShadow
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
3 years ago
Alejandro Santiago
6f32c4f2b8
feat: implemented ChromeDino mechanics ( #76 )
...
* feat: included ChromeDino in Board
* feat: made ChromeDino sweep
* feat: enclosed ChromeDino
* feat: included ChromeDino in Board
* feat: included initial file
* feat: made ChromeDino sweep
* feat: enclosed ChromeDino
* feat: positioned and clean
* feat: used ChromeDinoJoint
* feat: used a Timer in ChromeDino animation
* feat: positioned ChromeDino
* feat: adjusted motor values
* feat: created test file
* feat: included tests
* refactor: used TimerComponent
* feat: adjusted ChromeDino
* refactor: renamed test variable
* refactor: removed redundant test
* fix: included components import
* refactor: removed joint member
* refactor: included missing new line
* docs: fixed "dinosaur" typo
Co-authored-by: Erick <erickzanardoo@gmail.com>
Co-authored-by: Rui Miguel Alonso <ruiskas@gmail.com>
3 years ago
Alejandro Santiago
fad355b2f8
feat: positioned FlutterForest bumpers ( #104 )
...
* feat: positioned FlutterForest bumpers
* feat: removed unused parameters
3 years ago
Alejandro Santiago
411b489e1e
refactor: Pathway to Shapes ( #87 )
...
* refactor: removed findNested extensions (#77 )
* refactor: changed Pathway for Shapes
* refactor: renamed pathway to shape
* refactor: moved shapes to components package
* fix: fixed arc radius on shapes
* refactor: changed jetpack to shapes
* refactor: modified jetpack ramp to use shapes and blueprint
* refactor: launcher ramp
* test: removed unnecessary tests for ramps
* refactor: refactored baseboard with arcshapes
* chore: doc refactor
* test: coverage tests
* refactor: refactored launcher ramp
* test: tests for shapes
* test: added removed ellipse tests
* test: arcshape coverage
* test: unnecessary tests removed
* chore: params names
* chore: modified doc for Layered and added one test for nested
* test: changed tests names
* test: not layered nested children
* refactor: moved static param and made other private on ramps
* Update lib/game/components/jetpack_ramp.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* Update lib/game/components/jetpack_ramp.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* Update lib/game/components/launcher_ramp.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* chore: renamed straight path vars
* Update packages/pinball_components/lib/src/components/shapes/arc_shape.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* refactor: constructors with rotation instead of separated method
* test: refactored tests
* refactor: moved rotate to separate method
* refactor: rotation on shapes
Co-authored-by: RuiAlonso <rui.alonso@verygood.ventures>
Co-authored-by: Rui Miguel Alonso <ruiskas@gmail.com>
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
3 years ago
Alejandro Santiago
ce8917e17d
refactor: used `descendants` to retrieve tested subject ( #94 )
...
* refactor: used descendants to retrieve the subject
* fix: included game.ready in tests
3 years ago
Allison Ryan
db29e5c7b1
refactor: position and dimension google letters ( #93 )
...
* refactor: relative positions
* chore: remove unused code
* test: fix failing tests
* refactor: position logic
* refactor: position logic
* chore: clean up bonus word
* refactor: use relative positions
* refactor: await adding letters
* refactor: remove local variable
* chore: remove empty line
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
3 years ago
Rui Miguel Alonso
1f0a0c2f04
feat: leaderboard screen ( #51 )
...
* feat: leader board page
* feat: strings for leader board ui
* feat: navigate to leaderboard from gameover dialog
* feat: set character theme for leaderboard
* test: test leaderboard page
* chore: removed unused var from tests
* chore: leaderboard misspelling, doc and minor fixes
* chore: doc
* chore: api doc
* refactor: pass theme to leaderboard widgets
* Update lib/leaderboard/view/leaderboard_page.dart
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
* chore: removed ios files
* refactor: leaderboard screen now uses leaderboard_repository models
* test: added tests for extensions
* chore: added todo to move model
* feat: added navigator helper method
* feat: add Flame compatibility to test navigator helper
* chore: removed unused import
* test: modify test to avoid time out
* chore: test method name changed
* refactor: changes from pr
* refactor: removed themecubit
* feat: provide leaderbloc
* feat: added leaderbloc to screen
* chore: removed unused imports
* chore: strings names
* fix: fixed test with model changed
* refactor: removed multirepositoryprovider
* test: remove unnecessary tests
* chore: unused variable
* chore: unused imports
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
3 years ago
Alejandro Santiago
cfd4e790fa
feat: bumping all `DashNestBumper`s summons a new `Ball` ( #89 )
...
* refactor: rename RoundBumper to DashNestBumper
* feat: implemented DashNestBumper
* refactor: renamed files and tests
* chore: removed unused import
* refactor: renamed file to be a test file
* feat: added a new Ball on new state
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
3 years ago
Allison Ryan
e2c67571d5
feat: reshape `Baseboards` ( #85 )
...
* refactor: removed findNested extensions (#77 )
* refactor: baseboard shape and position
* chore: remove unused asset
* test: update fixture test
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
3 years ago
Erick
c8782cfbf4
refactor: splitting `Ball` business from UI logic ( #86 )
...
* feat: refactoring ball component to separate business from ui logic
* fix: tests
* fix: lint
* fix: test coverage
* Update lib/game/components/ball.dart
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
3 years ago
Alejandro Santiago
d5d3640f0a
refactor: define `FlipperJoint` ( #72 )
...
* refactor: defined FlipperJoint
* refactor: simplified logic
* refactor: removed tests
* docs: included TODO comment
* refactor: simplified shape logic
* docs: included asset TODO comment
* refactor: removed verbose constructors
* refactor: reordered classes
* refactor: used renderBody
* chore: removed unused import
* refactor: moved renderBody to onLoad
3 years ago
Rui Miguel Alonso
f1b35d3eb2
feat: create ellipses from geometry ( #84 )
...
* feat: create ellipses from geometry
* test: geometry test for ellipse
* feat: removed required angle and added tests
* test: completed tests for geometry
* chore: unused import
* Update lib/game/components/pathway.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* refactor: renaming params
* chore: missed test saved
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
3 years ago
Alejandro Santiago
823cdb6af5
feat: include DashNest bonus ( #80 )
...
* feat: included dash nest logic
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
3 years ago