arturplaczek
ec52486ece
chore: score bonus animation ( #191 )
3 years ago
Rui Miguel Alonso
333f91fc1e
feat: add rocket plunger ( #180 )
...
* feat: plunger rocket
* feat: added plunger zone and placed rocket over plunger
* chore: doc and unused import
* refactor: move rocket to pinball components
* refactor: created Launcher to group rocket, plunger and launchramp
* chore: unused import
* test: plunger and rocket tests
* Update lib/game/components/launcher.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* Update lib/game/components/launcher.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* refactor: add LauncherRamp nested to Launcher
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
Co-authored-by: Erick <erickzanardoo@gmail.com>
3 years ago
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
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
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
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
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
Rui Miguel Alonso
61c347c72d
refactor: move JetpackRamp to pinball_components as SpaceshipEntranceRamp ( #129 )
...
* refactor: renamed JetpackRamp to SpaceshipEntranceRamp
* refactor: renamed Layer.jetpack to Layer.spaceshipEntranceRamp
* refactor: moved spaceship entrance ramp and assets to pinball components
* test: tests for spaceship ramp
* refactor: renamed SpaceshipEntranceRamp to SpaceshipRamp
3 years ago
Rui Miguel Alonso
21cc04facc
feat: spaceship entrance ramp ( #126 )
...
* feat: added spaceship entrance ramp assets
* refactor: modified ramp to fit on curves
* fix: fixed priorities and positions on ramp
* refactor: placed jetpack ramp
* fix: modified rampopening for priority changes
* fix: launcher ramp ball priority
* fix: fixed positions and priority
* chore: removed unused import
* refactor: priority on jetpack ramp
* refactor: removed position and changed sprite load method
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
Rui Miguel Alonso
48f831264e
feat: add dino wall ( #115 )
...
* feat: added dino walls
* refactor: moved board
* fix: undo board movement
* feat: fixing shapes for wall with asset
* fix: placed dino wall asset and shapes
* fix: fixed top wall shape
* feat: added dino bottom wall
* fix: show background
* fix: fixed geometry test
* test: added golden tests for dino wall
* test: removed unused import
* refactor: moved dino walls to pinball_components
* chore: analysis errors
* refactor: more analysis errors
* chore: analysis error
* test: added tests for dino walls
* chore: unused import
* test: refactored golden test
* refactor: refactored vertices shapes
* test: make dino wall private and removed golden tests for them
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
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
e0bfe3015c
feat: included debug Background image ( #103 )
...
* feat: added design background
* refactor: moved Background to DebugGame
* feat: included priority value
* docs: updated TODO comment
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
Erick
c03cf6b2a2
chore: refactoring to use flutter gen on the game ( #73 )
...
* chore: refactoring to use flutter gen on the game
* fix: lint
* Update lib/game/components/spaceship.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* fix: lint
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
3 years ago