Erick
5e8ac20d37
feat: throttle assets loading for more stability ( #443 )
...
* feat: throttle assets loading for more stability
* lint
* coveragE
* chore: remove instances of e
Co-authored-by: Allison Ryan <allisonryan0002@gmail.com>
3 years ago
Jorge Coca
11c076c386
revert: mobile backgrounds load on mobile ( #437 )
3 years ago
Allison Ryan
5bc02eb570
fix: disable backgrounds on mobile ( #411 )
...
* fix: disable backgrounds on mobile
* refactor: inject platform helper
* refactor: make platformHelper public
* fix: suggestion
3 years ago
Allison Ryan
48c5c80b38
feat: add `GoogleRollovers` ( #407 )
...
* feat: add google rollovers
* fix: spelling
* refactor: move zIndex to parent
* chore: remove unnecessary wrapper
* fix: CI
* refactor: PR revisions
* refactor: suggestions
* style: remove parentheses
Co-authored-by: Jorge Coca <jorgecoca@users.noreply.github.com>
3 years ago
Erick
ea33c1c889
feat: adding leaderboard pagination buttons ( #420 )
...
* feat: adding leaderboard pagination buttons
* lint
* cspell
3 years ago
Rui Miguel Alonso
80da24b43c
feat: social networks `ShareDisplay` ( #406 )
...
* feat: share screen and tests
* chore: assets gen
* feat: added share repository
* feature: injecting sharerepository
* feat: share url
* feat: state for showing ShareDisplay at Backbox
* test: tests for sharing links
* test: backbox tests
* Update lib/game/components/backbox/displays/share_display.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* Update lib/game/components/backbox/displays/share_display.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* Update lib/game/components/backbox/displays/share_display.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* Update test/game/components/backbox/backbox_test.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* Update test/game/components/backbox/displays/share_display_test.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* Update test/game/components/backbox/displays/share_display_test.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* Update test/game/components/backbox/backbox_test.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* Update test/game/components/backbox/backbox_test.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* refactor: moved down social networks icons
* refactor: url and text for share
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
3 years ago
Allison Ryan
c3094850fd
feat: add arcade backgrounds ( #405 )
...
* feat: add arcade backgrounds
* chore: lighter assets
* chore: swap for smaller assets
3 years ago
Rui Miguel Alonso
fdb9075738
feat: `GameOverInfoDisplay` on game over `Backbox` ( #359 )
...
* feat: info screen ui
* feat: info screen ui
* feat: replay button
* feat: added replay button and game flow
* feat: game over info display flow at backbox
* test: fixed tests and coverage
* test: fix tests and coverage
* chore: info display doc"
* refactor: text component name
* Update lib/game/components/backbox/bloc/backbox_state.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* Update lib/game/components/backbox/bloc/backbox_state.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* Update lib/game/components/backbox/bloc/backbox_state.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* Update test/game/components/backbox/displays/info_display_test.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* Update test/start_game/widgets/start_game_listener_test.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* Update test/start_game/widgets/start_game_listener_test.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* Update test/game/view/widgets/replay_button_overlay_test.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* Update test/game/components/backbox/displays/info_display_test.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* Update lib/game/components/backbox/displays/info_display.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* Update lib/game/components/backbox/displays/info_display.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* Update lib/game/components/backbox/displays/info_display.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* Update lib/game/components/backbox/displays/info_display.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* Update lib/game/view/widgets/replay_button_overlay.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* Update lib/l10n/arb/app_en.arb
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* Update test/game/components/backbox/backbox_test.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* Update test/game/components/backbox/bloc/backbox_bloc_test.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* Update lib/l10n/arb/app_en.arb
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* refactor: changed names and removed replaying
* refactor: removed restart logic changes for another pr
* feat: link underscore
* chore: test fixed, names changed
* chore: unused import
* feat: add replayButtonOverlay at GameOverInfoDisplay
* feat: added open source url url launcher
* feat: launch url and test
* chore: removed comments
* fix: remove overlay for Replay to merge info screen
* chore: unused import
* test: load images bug fix
* Update lib/game/components/backbox/displays/game_over_info_display.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* refactor: removed props from state for sharing only score
* feat: moved open links to info display and added link to OS
* test: fixed merge tests
* chore: unused imports and annotation missed
* Update lib/game/components/backbox/bloc/backbox_state.dart
* chore: tappables added to cspell
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
Co-authored-by: Tom Arra <tarra3@gmail.com>
3 years ago
Jorge Coca
28a3c15fe2
refactor: improve performance of loading screen and load I/O Pinball asset ( #394 )
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
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
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
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
8c2982d5a9
chore: removed debug background ( #291 )
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
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
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
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
Allison Ryan
3991207d62
feat: add board background asset ( #270 )
...
* feat: add board background sprite
* test: board background sprite
* fix: ignore coverage for dead code
* fix: swap comment order for lint
* fix: comment unused code
* fix: remove unused import 🤦♀️
3 years ago
Allison Ryan
0a1ae053d8
feat: add android assets and fix shapes ( #258 )
...
* feat: add android assets and fix shapes
* refactor: remove docs and size
* fix: asset gen styling
3 years ago
Rui Miguel Alonso
cc3ba899ce
feat: implemented `Multipliers` ( #231 )
...
* feat: added multipliers
* feat: added multipliers to sandbox
* test: tests and golden tests for multipliers
* feat: multipliers controller
* fix: missed assets load
* refactor: multiplier refactored and tested
* refactor: changed sandbox for multipliers
* feat: multiplier controller
* refactor: moved assets to constructor at sandbox
* test: coverage for multipliers
* test: removed test
* refactor: coverage for multiplier
* test: coverage for multiplier
* chore: multiplier doc
* Update packages/pinball_components/sandbox/lib/stories/multipliers/multipliers_game.dart
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
* chore: little code refactor, doc
* refactor: multiplier creation refactored
* test: fixed tests for multipliers
* refactor: changed properties names
* refactor: multipliers cubit
* test: refactored tests for multipliers
* refactored: sandbow for multipliers
* refactor: multipliers controller
* test: tests for multiplier behavior
* chore: analysis errors
* feat: multipliers behavior with multiplier from gamebloc
* refactor: changed toggle to next at multipliers
* test: coverage for cubit
* refactor: refactored multipliers and coverage
* refactor: sandbox
* test: flamebloctester
* Update lib/game/components/multipliers/multipliers.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* Update packages/pinball_components/lib/src/components/multiplier/cubit/multiplier_cubit.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* Update lib/game/components/multipliers/multipliers.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* Update packages/pinball_components/lib/src/components/multiplier/cubit/multiplier_state.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* Update packages/pinball_components/lib/src/components/multiplier/cubit/multiplier_state.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* Update test/game/components/multipliers/behaviors/multipliers_behavior_test.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* test: fixed test names and golden files
* test: golden tests
* fix: fixed bloc bug for tests on multiplier behavior
* chore: renamed rotation
* chore: doc ignore
* test: grouped
* test: golden tests dir
* Update packages/pinball_components/sandbox/lib/stories/multipliers/stories.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* refactor: moved extension for multiplier value
* chore: multiplier extension equalsTo name
* fixed: missed method rename
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
3 years ago
Rui Miguel Alonso
7d8cd8c357
feat: implemented `AndroidBumper.cow` ( #257 )
...
* feat: added cow assets
* feat: added cow bumper
* feat: cow sanbox
* Update packages/pinball_components/sandbox/lib/stories/android_acres/android_bumper_cow_game.dart
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
* refactor: sandbox ball color
* fix: cow bumper spriteposition
* fix: cow bumper size
* refactor: cow shape and positioning
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
Co-authored-by: Allison Ryan <allisonryan0002@gmail.com>
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
3 years ago
Allison Ryan
97337938d4
feat: animate chrome dino ( #229 )
...
* 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
* chore: clean up dino wall fixture defs
* refactor: dino variable and comment fixes
* chore: add todo
* refactor: fix PR nits
* chore: use internal positioning
* refactor: keep positioning
* chore: fix nits and add todo
* fix: update boundaries golden
Co-authored-by: alestiago <dev@alestiago.com>
3 years ago
Allison Ryan
8e9ef85dda
refactor: add spaceship rail assets ( #244 )
...
* refactor: update rail assets and shape
* fix: add assets to newly merged test
3 years ago
Allison Ryan
c33d34e42f
refactor: alien to android ( #246 )
...
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
3 years ago
Rui Miguel Alonso
e63d893a9c
feat: added outer bottom boundary ( #221 )
...
* feat: added outer bottom boundary
* feat: added outer bottom asset to sandbox
* refactor: pubspeck from main
* test: fix tests
* test: fixed load at tests
* test: fixed golden tests
3 years ago
Allison Ryan
7cc41231a9
feat: add sparky animatronic ( #194 )
...
* feat: add sparky animatronic
* refactor: move computer into sparky fire zone
* test: sparky animatronic and controller
* chore: removed old test
* test: remove test for sparky fire zone component
* refactor: use onComplete
* chore: included SparkyTurboChargeSensor
* feat: specified priority
* fix: specified render priority
* refactor: spacing changes
* refactor: used children param
* feat: made SparkyFireZone a Blueprint
* feat: updated assets
* refactor: moved SparkyComputerSensor
* test: fix contact callback tests
* test: updated SparkyComputer loading test
* test: updated golden animatronic tests
* feat: modified turboCharge duration
* fix: included missing cached image
* fix: coverage
* refactor: removed unused HasGameRef mixin
* fix: included missing plunger assets
* Update test/game/components/sparky_fire_zone_test.dart
* fix: unused import
Co-authored-by: alestiago <dev@alestiago.com>
3 years ago
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
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
Alejandro Santiago
a65fb692b5
feat: implement GoogleWord ( #176 )
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
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
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
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
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
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
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
Erick
5fe5fc007d
feat: adding assets manager ( #163 )
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
Allison Ryan
625e033709
chore: preload kicker assets ( #146 )
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
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