Alejandro Santiago
fd87afb23b
refactor: renamed `DashNestBumper` to `DashBumper` ( #381 )
...
* refactor: renamed DashNestBumper to DashBumper
* refactor: PR suggestions
* refactor: renamed stories
* refactor: renamed test names
* test: renamed test name
* docs: improved bumper docs
* docs: improve docs
* refactor: renamed stories
3 years ago
Felix Angelov
75527d1fe1
refactor: AndroidSpaceshipBonusBehavior use FlameBlocListener ( #371 )
3 years ago
Erick
8d4b031350
feat: adding remaining bonus sfx ( #390 )
3 years ago
Erick
7fb634bf96
feat: pre fetch leaderboard ( #389 )
3 years ago
Erick
9d184fedf9
feat: adding mobile controls ( #377 )
...
* feat: adding mobile controls
* adding tests for pinball dpad button
* feat: tests
* lint
* Apply suggestions from code review
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* suggestions
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
3 years ago
Alejandro Santiago
0b22b712b0
refactor: removed `ControlledFlipper` ( #343 )
...
* feat: implemented Flippers behaviors
* test: tested Flipper behaviors
* refactor: fixed typo
* refactor: removed unecessary import
* feat: removed and added behavior depending on game status
* test: renamed test
* test: changed golden path
* refactor: removed TODOs
3 years ago
Allison Ryan
54b0bc6e17
feat: add `BonusBallSpawningBehavior` ( #378 )
...
* feat: add BonusBallSpawningBehavior
* refactor: remove on tick and remove behavior
* fix: impulse test
Co-authored-by: Tom Arra <tarra3@gmail.com>
3 years ago
Jorge Coca
b8f26b81de
chore: remove TODO comments form the codebase ( #373 )
...
Co-authored-by: Tom Arra <tarra3@gmail.com>
3 years ago
Allison Ryan
698085a79c
feat: provide and listen to `CharacterThemeCubit` in game ( #375 )
...
* feat: connect game ball to theme selection
* chore: swap out ball assets
* chore: swap out flipper assets
* fix: ball spawn layer
* refactor: use readBloc and fix tests
* refactor: update ball sprite only
3 years ago
Allison Ryan
da064ade32
refactor: `SparkyComputer` behaviors and removed `ControlledBall` ( #365 )
...
* refactor: sparky behaviors and remove controlled ball
* fix: test typo
* fix: PR suggestions
3 years ago
Felix Angelov
2c0f8b045c
refactor: provide GameBloc in App ( #370 )
3 years ago
arturplaczek
49fc1aa7f8
feat: added More Information (footer) dialog ( #363 )
3 years ago
Erick
de76b54efc
feat: adding sparky sfx ( #364 )
...
* feat: adding sparky sfx
* Apply suggestions from code review
* lint
* feat: better bonus sound implementation
* lint
3 years ago
Jochum van der Ploeg
24ac6a536d
fix: keep focus on game ( #311 )
...
* fix: keep focus on game
* fix: keep focus on game
* fix: keep focus on game
* fix: keep focus on game
Co-authored-by: Tom Arra <tarra3@gmail.com>
3 years ago
arturplaczek
43d3a4fd51
fix: hide GameHud on game over ( #361 )
3 years ago
Erick
c8a2150787
feat: adding leaderboard display ( #352 )
...
* feat: adding leaderboard display
* feat: pr suggestions
* fix: conflicts
* lint
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
3 years ago
Erick
9fdb935537
fix: flkay tests ( #362 )
3 years ago
Alejandro Santiago
b3136e5857
chore: migrating to `flame_bloc` 1.4.0 ( #357 )
...
* refactor: migrating to flame_bloc
* test: passed all tests
* test: updeted ControlledFlipperTest
* test: tested FlameProvider
* test: awaited loading
* test: waited loading ScoreBehavior
* refactor: removed unused files
* refactor: removed FlameBlocTester
* refactor: moved helper
* test: fixed typo name
* refactor: renamed file name to bumper_noise_behavior_test.dart
* refactor: renamed to TestDebugPinballGame
* refactor: removed uncessary KeybordHandler mixin
* refactor: removed unecessary imports
* test: removed testGameWidgets
3 years ago
Erick
135b4ed5c2
refactor: renaming noisy to noise ( #353 )
3 years ago
Erick
df7408728e
feat: adding `Plunger` sound effects ( #324 )
...
* feat: adding launcher sfx
* Apply suggestions from code review
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
* fix test
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
3 years ago
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
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