Alejandro Santiago
9615d6105f
feat: spawned ScoreText on Ball's position ( #210 )
3 years ago
Alejandro Santiago
b81293c0a4
fix: removed addBonusBall delay ( #211 )
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
0203927c49
chore: update common files, add text style & color files ( #193 )
3 years ago
Rui Miguel Alonso
a7a0082831
feat: plunger animation ( #200 )
...
* feat: new plunger animation asset
* refactor: changed plunger position
* fix: fixed merge conflicts with main at launcher component
* fix: fixed merge conflicts on plunger
* feat: added plunger animation and fixed position
* refactor: plunger position and compressionDistance
* test: tests and golden test for plunger
* refactor: oncomplete at plunger animations
* test: fixed tests for animation
* refactor: plunger with SpriteAnimationGroupComponent
* test: fixed golden tests and removed unused ones
* test: golden tests images
* chore: doc and refactor methods
* refactor: improved plunger body to catch the ball
* refactor: improved plunger body to catch the ball
* test: updated plunger golden tests
* Update packages/pinball_components/lib/src/components/plunger.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* refactor: _PlungerSpriteAnimationGroupComponent load sprites onload
* chore: removed unused import
* Update packages/pinball_components/lib/src/components/plunger.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* Update packages/pinball_components/lib/src/components/plunger.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* fix: fix animation duration
* fix: fixed plunger animation
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
12d20b8dbc
feat: add explicit render priorities ( #198 )
...
* feat: static priorities
* refactor: assign all priority values
* chore: rocket and plunger priorities
* chore: rename priority class
* chore: add todo
* chore: remove todo
* refactor: move to separate file
* chore: uncomment score effects
* chore: revert spacing change
* refactor: update spaceship rail priority
* fix: issue in test from merge
* chore: add todos
* feat: add fire animation priority
3 years ago
Rui Miguel Alonso
14f7034d13
feat: launcher final asset ( #201 )
...
* feat: launch backgroun railing asset
* refactor: launch ramp final assets
* refactor: updated assets and position for launcher ramp
* test: golden tests for launcher ramp
* fix: render order and positioning
* refactor: TODO for future refactor of final ramp shape
* refactor: extended launcher foreground rail until boundary bottom to avoid balls scape from dino
Co-authored-by: Allison Ryan <allisonryan0002@gmail.com>
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
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
Rui Miguel Alonso
e4ab7c35d1
feat: updated dino walls and bottom wall ( #203 )
...
* feat: updated dino walls with coloured assets and fixed shapes and tests
* refactor: priorities for top wall
* refactor: added bottom wall coloured asset and fixed position and priority with dino bottom wall
* chore: added TODO comments for priority future refactors
* test: golden tests for dino and bottom walls
* refactor: bottom boundary render body
* fix: moved up boundary bottom to avoid line separation between dino bottom wall
3 years ago
Allison Ryan
2d076cceca
refactor: ramp opening logic and naming ( #197 )
...
* refactor: ramp opening logic and naming
* fix: unused import
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
0dbd8f1600
refactor: moved Sprites to children param ( #189 )
3 years ago
Alejandro Santiago
62244f5a37
refactor: define pinball_flame package ( #199 )
...
* feat: created pinball_theme package
* refactor: moved component_controller to pinball_flame
* ci: defined workflow
* refactor: moved blueprint and priority to pinball_flame
* feat: exported keyboard_input_controller.dart
* feat: made Mocks be Mocks
* docs: updated description
* docs: fixed typo
* fix: merge conflicts
3 years ago
Alejandro Santiago
c52db09f77
refactor: renamed test games ( #178 )
3 years ago
Alejandro Santiago
a65fb692b5
feat: implement GoogleWord ( #176 )
3 years ago
Alejandro Santiago
437dc07ba7
refactor: used new Forge2D Defs API ( #188 )
3 years ago
Allison Ryan
9714bead89
feat: gravity override ( #192 )
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
Allison Ryan
f00d090e8d
chore: enable and add golden tests ( #186 )
...
* chore: enable/add golden tests
* chore: remove failures
* chore: find by test game
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
arturplaczek
034c3719bf
chore: StartGameBloc for control flow before launch the game ( #184 )
3 years ago
Allison Ryan
e1bdb0e14b
feat: prevent re-entering launch ramp ( #174 )
...
* fix: launch ramp render issue
* feat: prevent going back into launch ramp
* fix: changes from merge
3 years ago
Allison Ryan
bc53fb64d9
refactor: ball priority ( #183 )
...
* refactor: ball priority
* refactor: ramp opening and score text
3 years ago
arturplaczek
64f3bbea5e
chore: update characters theme ( #182 )
3 years ago
arturplaczek
7bd0a60bc7
chore: add png assets for character dialog ( #181 )
3 years ago
Allison Ryan
3ead0f76b0
refactor: spaceship ramp curve ( #173 )
...
* refactor: spaceship ramp curve and new assets
* refactor: use separate base assets
* refactor: group spaceship stories
* refactor: set opacity on all sprite descendants
* chore: move positioning
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
Alejandro Santiago
f9cd93b77e
refactor: used loaded over mounted ( #179 )
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
Alejandro Santiago
59c7c8b0ff
docs: removed comment_reference ignore ( #177 )
3 years ago
Alejandro Santiago
9a5284f84b
refactor(sandbox): made BasicBallGame color optional ( #171 )
3 years ago
Alejandro Santiago
baf06ca737
feat: implements `GoogleLetter` ( #172 )
...
* feat: implementing GoogleLetter
* feat: implemented GoogleLetterGame
* feat: included temp assets
* feat: exported google_letter
* feat: defined GoogleLetterActivationEffect
* feat: included story
* feat: included activate and deactivate tests
* refactor: simplified GoogleLetter
* refactor: updated constructor
* refactor: removed condition
* feat: included GoogleLetterOrder
* feat: updated constructor
* refactor: removed extension for index
* refactor: removed unnecessary async
Co-authored-by: Erick <erickzanardoo@gmail.com>
* refactor: removed unnecessary async
Co-authored-by: Erick <erickzanardoo@gmail.com>
* Update packages/pinball_components/lib/src/components/google_letter.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* refactor: changed method typo
Co-authored-by: Erick <erickzanardoo@gmail.com>
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.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
d32192a4e3
feat: ramps sandbox ( #168 )
...
* feat: added LaunchRamp story
* feat: added SpaceshipRail story
* feat: added SpaceshipRamp story
* feat: added new stories for ramps to dashbook
* refactor: added priority and layer to Ball for BasicBallGame
* refactor: changed renderBody to allow tracing on ramps
* refactor: moved renderBody
* fix: bug on spaceshiprail exit never reached
* fix: spaceshiprail exit and basecamp ball blocked
* refactor: set spaceship foreground priority at super
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
Allison Ryan
98f25242b6
refactor: bottom boundary curve ( #156 )
...
* refactor: update bottom curve
* fix: unused import
* fix: disable golden tests
* refactor: use Traceable
* chore: re-enable zoom golden 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
Alejandro Santiago
31afa08fc1
feat(sandbox): adds sandbox for all `FlutterForest `components ( #167 )
...
* feat(sandbox): included sandbox for FlutterSignPost
* feat(sandbox): included SmallDashNestBumpers
3 years ago
Allison Ryan
502babf38e
refactor: flipper position and angle ( #161 )
...
* chore: board todos
* refactor: flipper position and angle
* fix: unused import
* style: add space in comment
* chore: half sweeping angle
3 years ago
Erick
5fe5fc007d
feat: adding assets manager ( #163 )
3 years ago
Rui Miguel Alonso
d7216bbe6d
fix: moved `DinoWalls` slightly to the right ( #164 )
...
* fix: placed right some moved sprites
* fix: added renderBody removed
3 years ago
Alejandro Santiago
51b7f478af
refactor: SpriteComponent subclassing ( #158 )
...
* refactor: remove _loadSprites
* feat: defined BallSprite
* refactor: removed late SpriteComponent
* refactor: defined BaseboardSprite
* refactor: defined DinoWalls sprites
* refactor: defined FlutterSIgnPostSprite
* refactor: defined KickerSprite
* refactor: defined LaunchRampSprite
* refactor: removed trailing comma
* refactor: defined _AndroidHeadSpriteAnimation
* refactor: removed unused import
* refactor: defined FlipperSprite
* docs: improved SpaceshipWall docs
* refactor: defined SpaceshipRailRampSprite
* refactor: suffixed Component
* refactor: adjusted FlipperSpriteComponent size
* refactor: resized ball
* chore: trace all bodies in sandbox (#157 )
* feat: add traceAllBodies method
* chore: update tracing stories
* refactor: use for each
* refactor: convert to mixin
* refactor: simplify mixin
* feat(sandbox): made BasicBallGame traceable
* feat: adjusted ball size
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
4744f552f0
fix: removed ghost PlungerAnchor shape ( #162 )
3 years ago
Allison Ryan
9d2e9dd243
chore: trace all bodies in sandbox ( #157 )
...
* feat: add traceAllBodies method
* chore: update tracing stories
* refactor: use for each
* refactor: convert to mixin
* refactor: simplify mixin
3 years ago