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
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
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
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
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
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
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
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
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
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
Alejandro Santiago
d86ef40cb9
feat: Flipper joint adjustment ( #159 )
...
* feat(sandbox): removed FlipperTracingGame
* feat: adjusted flipper anchor
* refacto: adjusted anchoring points
* refactor: removed unused import
* refactor: renamed FlipperGame
3 years ago
Erick
daebb0b749
feat: adding camera zoom effect ( #153 )
...
* feat: adding camera zoom effect
* testing ci
* testing ci
* Apply suggestions from code review
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* testing ci
* testing ci
* ci
* feat: pr suggestion
* 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>
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
3 years ago
Allison Ryan
2f40dcc971
feat: add slingshots ( #148 )
...
* feat: add slingshots
* test: slingshot
* feat: add slingshot to sandbox
* chore: add todo
3 years ago
Rui Miguel Alonso
254c38d2a4
feat: add sparky bumpers ( #150 )
...
* feat: added sparky bumpers
* test: tests for sparky bumpers
* feat: sandbox for sparky bumpers
* chore: unused imports
* refactor: removed Bumper and added TODO for future refactor
* fix: fixed size and tracing
* fix: fix tracing
* fix: final ellipse sizes
* refactor: different sized bumpers
* Update packages/pinball_components/lib/src/components/sparky_bumper.dart
Co-authored-by: Allison Ryan <allisonryan0002@gmail.com>
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
3 years ago
Rui Miguel Alonso
39b04c1393
feat: kicker assets and dimension ( #144 )
...
* refactor: added kicker asset and fixed dimensions and sizes
* refactor: loadsprite for kicker
* test: added golden test for kicker
* feat: included Kicker sandbox
* refactor: analyzer fixes
Co-authored-by: alestiago <dev@alestiago.com>
3 years ago
Allison Ryan
d25643ce9a
fix: component render order ( #142 )
...
* fix: simplify and order priorities
* test: remove position
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
Allison Ryan
4e0f0ffe29
refactor: smooth out drop tube exit ( #135 )
...
* refactor: shrink sensor and add foreground
* fix: uncomment line
* style: trailing comma
* refactor: organize spaceship assets
* refactor: asset name change and size fix
3 years ago
Alejandro Santiago
fcca84be90
refactor: renaming sandbox files ( #141 )
...
* refactor(sandbox): renamed files to stories
* refactor(sandbox): rephrased descriptions
* refactor: renamed files
* refactor: renaming
* chore: merge
3 years ago
Allison Ryan
510eb17446
refactor: adjust dash bumper body ( #140 )
3 years ago
Alejandro Santiago
7cce862263
feat(sandbox): included ChromeDino sandbox ( #139 )
3 years ago
Alejandro Santiago
124af6b603
feat(sandbox): implemented BigDashNestBumper example ( #137 )
3 years ago
Allison Ryan
b41cd80540
feat: add game boundaries ( #131 )
...
* feat: add outer and bottom boundaries
* test: add golden test
* refactor: load sprite method
3 years ago
Allison Ryan
ab1dbe99d5
feat: add launcher ramp assets ( #120 )
...
* feat: add launcher asset and dimension
* refactor: some visual adjustments
* refactor: revert unintended changes
* refactor: simplify variable names
* refactor: move to package and test
* fix: lint warning
* fix: another lint warning
* fix: merge layer changes
* fix: golden test
* refactor: load sprite method
3 years ago
Alejandro Santiago
2c425670f6
feat: added ChromeDino assets ( #138 )
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
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
0285698e5c
feat(sandbox): made BasicFlipperGame respond to KeyEvents ( #123 )
...
* feat: made Flippers movable
* feat(sanbox): included balls in flipper example
* feat: improved moving logic
* refactor: removed unused import
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
Alejandro Santiago
cbbf7b121e
fix: flaky FireEffect test ( #124 )
...
* refactor: migrated to ParticleSystemComponent
* refactor: simplified tests
* feat: forced min count to be 1
* feat: adjusted priorities
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
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
Rui Miguel Alonso
8b86656412
refactor: priority layer ( #83 )
...
* refactor: removed findNested extensions (#77 )
* feat: added new Elevation for manage priority of BodyComponents
* refactor: changed ball with Elevated
* refactor: changed spaceship with Elevated
* test: tests for Elevated
* test: fix tests
* chore: removed unused
* test: fixed tests
* refactor: changed Elevated mixin to Priority extension
* test: fixed priority test changes
* chore: ignore for file
* test: fixed tests for PriorityX
* chore: unused import
* chore: removed unecessary ignore
* refactor: removed unnecessary comma
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* refactor: fixed grammatical error in test named
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* refactor: moved priority set to constructors
* chore: tests names
* doc: doc priority
* refactor: moved priority to flame dir
* feat: added priority to rampopening
* fix: fixed priority changes
* test: fixed tests for spaceship priority changes
* fix: fixed tests for priority
* chore: renamed pathwayLayer and pathwayPriority to inside
* Update packages/pinball_components/lib/src/components/ramp_opening.dart
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
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
Allison Ryan
83e6cb892b
feat: dynamic ball size ( #113 )
...
* feat: scale ball and add ball asset
* refactor: increase plunger properties
* test: board dimensions
* refactor: store adjusted height
* chore: add todo
3 years ago
Alejandro Santiago
930c7fa001
refactor: used new createJoint method ( #117 )
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
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
Erick
e7ba6dc91d
feat: better spaceship hole area ( #109 )
...
* feat: improving the spaceship hole area
* fix: lint
* feat: improved wall area for the spaceship
* fix: lint
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
Erick
0b72a28183
feat: improving the spaceship hole area ( #108 )
...
* feat: improving the spaceship hole area
* fix: lint
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
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
Erick
2d647f9630
fix: sandbox github workflow ( #99 )
...
* fix: sandbox github workflow
* fix: forcing error to test
* fix: lint
* fix: lint
3 years ago
Rui Miguel Alonso
9f1f9f4466
feat (sandbox): added layers story at sandbox to check collision with nested components ( #97 )
...
* feat: added layers story to check collision with nested components
* feat: added more components to layer story
* chore: unused import
* chore: renamed component
3 years ago
Allison Ryan
e6eacfa9e7
fix: sort scores in descending order ( #100 )
3 years ago
Erick
de963cbc86
feat: adds ball turbocharge effect ( #66 )
...
* feat: adding ball boost effect
* fix: lint
3 years ago
Allison Ryan
e6dca1ed7f
refactor: dimension and position `Plunger` ( #96 )
...
* refactor: dimension plunger
* refactor: adjust launch ramp and ball size
* refactor: use board center for positioning
Co-authored-by: Erick <erickzanardoo@gmail.com>
3 years ago
Erick
b8f86a9976
feat: adding sandbox project on pinball_components ( #90 )
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
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
Rui Miguel Alonso
573e16d0d5
refactor: leaderboard model ( #78 )
...
* refactor: changed name of LeaderboardEntry at LeaderboardRepository to LeaderboardEntryData
* chore: doc and analysis errors
* refactor: removed findNested extensions (#77 )
* Update lib/leaderboard/bloc/leaderboard_bloc.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* Update lib/leaderboard/bloc/leaderboard_bloc.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* fix: leaderboard gen file
* refactor: moved leaderboard models to separate path
* test: fixed tests with leaderboard model
* chore: doc
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
3 years ago
Erick
92404fbdba
feat: adding pinball components scaffold project ( #82 )
...
* refactor: removed findNested extensions (#77 )
* feat: bootstraping the components package
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
3 years ago
Allison Ryan
bc5a2f343e
chore: connect app to firebase ( #55 )
...
* docs: changes missed in last PR
* chore: connect to firebase
* chore: hide firebase setup
* refactor: revert ios changes
* chore: update gitignore
3 years ago
Allison Ryan
c0175b0d30
feat: add leaderboard repository ( #54 )
...
* feat: add leaderboard repository
* refactor: move leaderboard ranking to models
* refactor: username to playerInitials
* docs: typo fix
* docs: adjust repo wording
* fix: failing test
3 years ago
Alejandro Santiago
902aacce2c
feat: geometric centroid ( #38 )
...
* docs: rephrased description
* feat: included geometry method
* feat: simplified centroid
* Update packages/geometry/test/src/geometry_test.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* chore: rebase
* refactor: removed throwsAssertionError for throwsA matcher
* docs: rephrased doc comment
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
3 years ago
Rui Miguel Alonso
b73cddc1a3
refactor: remove Flutter dep from geometry ( #27 )
...
* fix: removed flutter dependency
* test: fixed tests for assertions
* test: check assertion with isA
* ci: added geometry workflow file
* refactor: changed flame dep to vector_math for vector2
* fix: changed import for vector to vector_math_64
* Update .github/workflows/geometry.yaml
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
Allison Ryan
ffef053678
feat: add character selection ( #20 )
...
* chore: lock file
* feat: character selection page
* fix: ignore generated asset coverage
* chore: add suggestions
* feat: tint ball with theme color
* refactor: decrease theme cubit scope
* chore: minimize changes
* chore: typos and readability
* refactor: use extension for initial pinball game
* fix: tests from merge
* refactor: ignore docs for views
* refactor: revert to ignoring for file
* fix: todo analyzer warning
3 years ago
RuiAlonso
f75d5514cc
doc: geometry doc refactored
3 years ago
RuiAlonso
78eb18eb0e
chore: updated package geometry readme file
3 years ago
RuiAlonso
3a092f8a1c
test: removed old group
3 years ago
RuiAlonso
bbab659b85
refactor: changed docs and use angles in radians instead of degrees
3 years ago
RuiAlonso
5bff54f3d8
Merge branch 'main' into feat/paths
3 years ago
RuiAlonso
178876b4fc
refactor: changed geometry package description
3 years ago
RuiAlonso
4290cb5a8d
refactor: changed math package to geometry
3 years ago
RuiAlonso
20c8153363
chore: var and test names not saved
3 years ago
Allison Ryan
0827924955
chore: add to props
3 years ago
RuiAlonso
ad8499d173
test: coverage for maths methods
3 years ago
RuiAlonso
53a22f1f1d
fix: added assert to maths
3 years ago
RuiAlonso
71033266ca
fix: fixed precision value for calculateArc method
3 years ago
RuiAlonso
8f6bad7a6f
test: tests for maths methods
3 years ago
RuiAlonso
4e2f56a70c
feat: created maths package for calculate curves
3 years ago
Allison Ryan
ca18de6172
refactor: one theme for entire game
3 years ago
Allison Ryan
f0db7c720d
docs: character themes update
3 years ago
Allison Ryan
0e98a74b17
refactor: move themes to package
3 years ago