Alejandro Santiago
ace61193fb
refactor: removed `GameBallsController` ( #349 )
3 years ago
Alejandro Santiago
3465c9f1e7
refactor: implemented `CameraFocusingBehavior` ( #346 )
3 years ago
Erick
79da2e9234
feat: game over voice over ( #320 )
...
* feat: game over voice over
* docs nits
* fixing rebase
3 years ago
Allison Ryan
391f9cac8f
refactor: input letter looping and reverse direction ( #335 )
...
* refactor: letter looping and reverse direction
* doc: update test comments to match changes
3 years ago
Erick
e9b902355d
feat: user initials submission ( #341 )
...
* feat: initial implementation
* feat: tests
* fix: lint
* fix: removing wrong commited images
* feat: pr suggestions
* feat: PR suggestions
* Apply suggestions from code review
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
* Apply suggestions from code review
* Apply suggestions from code review
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* fix
* pr suggestions
* fixing comments
* pr suggestions
* lint
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
3 years ago
Alejandro Santiago
2ad0196e44
refactor: include `GameStatus` on `GameBloc` ( #345 )
3 years ago
Erick
34d0e7d65a
feat: improving pinball audio code and loading ( #325 )
...
* feat: improving pinball audio code and loading
* fix: some errors
* refactoring the solution
* Apply suggestions from code review
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
* fix: tests
* fix rebase
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
Co-authored-by: Tom Arra <tarra3@gmail.com>
3 years ago
Alejandro Santiago
5fb9a40e66
fix: rendering with `FilterQuality.medium` ( #334 )
...
* feat: defined HighFilterQualityCanvas
* refactor: removed trailing comma
* refactor: started defining CanvasComponent
* feat: implemented CanvasComponent
* docs: fixed typos
* docs: changed template name
* fix: merge conflict
* refactor: set filterQuality to Medium
* refactor: removed nullable from typdef
* test: updated tests to FilterQuality.medium
3 years ago
Allison Ryan
155e316ba1
feat: implemented `SkillShot` ( #337 )
...
* feat: add skill shot
* fix: unused import
* refactor: switched method
* style: parameter order
3 years ago
Rui Miguel Alonso
de3569c479
feat: include `Ball` final assets ( #279 )
...
* refactor: load ball assets from cache
* feat: new ball assets
* refactor: ball loads new sprites
* refactor: modified ball assets for sandbox
* refactor: removing baseColor from ball
* refactor: moved ball assets to pinball_theme
* refactor: removed all baseColor for ball
* refactor: removed unused imports
* test: golden tests for ball
* test: added missed ball assets to tests
* chore: reorder imports
* refactor: removed all default ball, use dash
* test: fixed test for ball changes
* test: adde ball assets to forest tests
* fix: fixed tests for ball
* refactor: removed baseColor from ball tests
* chore: unused imports
* test: removed golden tests for balls
* refactor: removed unused assets at test and renamed spriteAsset for ball
* refactor: spriteAsset changed for ball sprite
Co-authored-by: Tom Arra <tarra3@gmail.com>
3 years ago
Rui Miguel Alonso
79624f07f1
feat: `SpaceshipRamp` shot logic ( #296 )
...
* feat: spaceship ramp added cubit and behavior to sensor
* refactor: changed spaceshipt ramp sensor, cubit and behavior names
* refactor: added behaviors to AndroidAcres
* refactor: connect rampsensors with android acres bonus
* refactor: move ramp sensor to spaceship ramp children
* test: fixed some tests for ramp
* chore: removed unused imports
* chore: removed unused import
* Update lib/game/components/android_acres/behaviors/ramp_bonus_behavior.dart
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
* refactor: search sensors from parent children
* refactor: moved ramp sensor cubit to spaceship ramp
* refactor: modified ramp behaviors
* refactor: fixed ramp behaviors tests
* refactor: changed ramp behaviors
* chore: analysis errors
* test: fixed ramp contact test
* test: coverage for spaceshipramp
* Update packages/pinball_components/lib/src/components/spaceship_ramp/spaceship_ramp.dart
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
* refactor: fixed test when removing children from spaceship test constructor
* refactor: moved arrow state to cubit inside ramp instead of propagate from behavior
* refactor: sandbox for spaceshipramp modified
* refactor: removed arrow value from spaceship ramp state to sprite logic
* test: golden tests for ramp arrow
* test: coverage
* test: coverage
* refactor: changed name for RampBallAscendingContactBehavior
* refactor: added ScoringBehavior on shot and bonus behaviors
* feat: cancel subscription on ramp behavior remove
* chore: unused import
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
3 years ago
arturplaczek
03f60fbffe
chore: restore GameHud visibility and control game flow ( #247 )
3 years ago
Rui Miguel Alonso
d729a9ac69
refactor: split `GameState` score into `totalScore`, `roundScore` and `displayScore` ( #331 )
...
* refactor: GameState adding totalScore, roundScore and displayScore
* chore: trailing commas
* chore: doc
Co-authored-by: Tom Arra <tarra3@gmail.com>
3 years ago
Jochum van der Ploeg
94206bddaa
fix: both `Fipper`s should respond to multi touch taps ( #330 )
...
* fix: both flippers should respond to multi touch taps
* fix: both flippers should respond to multi touch taps
Co-authored-by: Tom Arra <tarra3@gmail.com>
3 years ago
arturplaczek
0a52583519
fix: mock flame images ( #332 )
3 years ago
Allison Ryan
6ed62f37e8
refactor: add `Backbox` asset and localized text ( #319 )
...
* refactor: clean up backboard
* test: backboard changes
* refactor: rename backbox
* fix: tests
* test: localization mocking
* test: initials input display
* chore: remove extra golden file
* chore: small changes
* test: scoreFormat
* style: cascade
* fix: no optimizations for main
* fix: loading assets
Co-authored-by: Tom Arra <tarra3@gmail.com>
3 years ago
Rui Miguel Alonso
b01444c902
feat: debug feature for turbocharging at `DebugPinballGame` ( #333 )
...
* feat: debug feature for turbocharging at DebugPinballGame
* test: ignore start end for debug pinball
* test: coverage
3 years ago
Alejandro Santiago
8957b96ae3
feat: defined `ScoringBehavior` and `ScoringContactBehavior` ( #329 )
...
* refactor: renamed ScoringBehavior to ScoringContactBehavior
* feat: defined ScoringBehavior
* docs: improved documentation
3 years ago
Alejandro Santiago
f38f18d60a
refactor: moved noise logic to `BumperNoisyBehavior` ( #326 )
3 years ago
Alejandro Santiago
44566bcbf0
refactor: moved boost logic to `BallTurboChargingBehavior` ( #323 )
...
* feat(pinball_components): defined BallTurboChargingBehavior
* feat: updated boosting logic
* docs: improved BallTurboChargingBehavior
* docs(pinball_components): changed verb
* test: removed empty group
* test: included instantiation and loading tests
3 years ago
Allison Ryan
182e8f56cb
feat: implemented `Flapper` ( #312 )
...
* feat: add flapper
* chore: add assets to pinball game test
* fix: add mocks in file
* test: check animation onComplete
* fix: image cache in test
* Update packages/pinball_components/lib/src/components/flapper/flapper.dart
* style: commas and userData removal
* refactor: make launcher tests more robust
* refactor: removed children parameter
Co-authored-by: alestiago <dev@alestiago.com>
3 years ago
Jochum van der Ploeg
82588602eb
fix: use both flippers on mobile ( #318 )
...
Co-authored-by: Tom Arra <tarra3@gmail.com>
3 years ago
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
Tom Arra
6e4651f89e
chore: remove VGV copyright ( #292 )
3 years ago
Erick
62be5f636d
feat: adding start screen sfx ( #308 )
...
* feat: adding start screen sfx
* fix: lint
* fix: lint
* feat: PR suggestions
* fix: lint
* 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
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
8d10cf6434
fix: how to play screen can't be dismissed ( #293 )
...
Co-authored-by: Tom Arra <tarra3@gmail.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
d748188286
refactor: improve HowToPlayDialog and reuse existing components ( #281 )
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
Jorge Coca
07ea110ec3
feat: added support for firebase anonymous authentication ( #274 )
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