Lukas Klingsbo
9bbb665920
Publish flame test 1.0.0 ( #1182 )
...
* Add collection
* Publish flame_test-1.0.0
2021-12-08 18:10:50 +00:00
Lukas Klingsbo
64df1f724e
Add collection ( #1181 )
2021-12-08 17:54:20 +00:00
Lukas Klingsbo
f1ce650515
Update readme ( #1180 )
...
* Update readme
* Update with links
* Update links
* Update bridge packes list
* Update wording
* Update docs site text
* Apply suggestions from code review
Co-authored-by: Jochum van der Ploeg <jochum@vdploeg.net >
* Update README.md
Co-authored-by: Luan Nico <luanpotter27@gmail.com >
* Update README.md
Co-authored-by: Luan Nico <luanpotter27@gmail.com >
* Update README.md
Co-authored-by: Luan Nico <luanpotter27@gmail.com >
* Update README.md
Co-authored-by: Luan Nico <luanpotter27@gmail.com >
* Update tutorials/space_shooter/web/index.html
Co-authored-by: Luan Nico <luanpotter27@gmail.com >
* Updated according to comments
* Updated links
* Update credits section
* Fix formatting
* Replace badges with black background
* Updated badges to 272727
* Update README.md
Co-authored-by: Erick <erickzanardoo@gmail.com >
* Update to Flutter-based
Co-authored-by: Jochum van der Ploeg <jochum@vdploeg.net >
Co-authored-by: Luan Nico <luanpotter27@gmail.com >
Co-authored-by: Erick <erickzanardoo@gmail.com >
2021-12-08 18:34:46 +01:00
Lukas Klingsbo
543b2df7ce
Bump epsilon of long opacity effect test ( #1179 )
2021-12-08 14:26:05 +01:00
Lukas Klingsbo
dec04f3335
Work around Flutter bug for ColorEffect and fix broken links ( #1178 )
...
* Fix `ColorEffect` Flutter bug and example links
* Remove accidental code
* Fix `ColorEffect` test
2021-12-08 13:19:00 +01:00
Erick
b71c61be40
Implementing ColorEffect on the new effects system ( #1171 )
...
* Implementing ColorEffect on the new effects system
* docs and test
* docs
* Apply suggestions from code review
Co-authored-by: Lukas Klingsbo <lukas.klingsbo@gmail.com >
* PR suggestions
Co-authored-by: Lukas Klingsbo <lukas.klingsbo@gmail.com >
2021-12-08 09:22:12 +00:00
Luan Nico
07ab8ce9c9
respectCamera and respectViewport proposal: coordinate system enum ( #1167 )
...
* Coordinate system
* Fixess
* .
* .
* Fix tests
* Rename CoordinateSystem to PositioningType
* Update docs for PositioningType
* Use switch instead of if-else
* PositioningType -> PositionType
* Don't do unnecessary transforms
* Added tests for PositionType.widget
* Update doc/components.md
Co-authored-by: Luan Nico <luanpotter27@gmail.com >
* Added PositionType tests
Co-authored-by: Lukas Klingsbo <me@lukas.fyi >
Co-authored-by: Lukas Klingsbo <lukas.klingsbo@gmail.com >
2021-12-08 09:07:36 +00:00
Pasha Stetsenko
5b7f31be19
Add sphinxcontrib-mermaid to the requirements file ( #1177 )
2021-12-08 09:50:45 +01:00
Lukas Klingsbo
08a5fe7ced
Fix propagation order ( #1176 )
...
* Fix propagation order
* Simplified propagateToChildren call from gesture handlers
* Apply suggestions from code review
Co-authored-by: Erick <erickzanardoo@gmail.com >
Co-authored-by: Erick <erickzanardoo@gmail.com >
2021-12-07 23:20:52 +01:00
Jochum van der Ploeg
bd682209bc
Removed fallback on web for drawAtlas ( #1153 )
...
* Removed fallback on web for drawAtlas
* Fix analyzer
* Optional argument for not using `drawAtlas`
* Add changelog entry
* Update to flag name to useAtlas
* Update changelog entry
Co-authored-by: Luan Nico <luanpotter27@gmail.com >
Co-authored-by: Lukas Klingsbo <me@lukas.fyi >
Co-authored-by: Lukas Klingsbo <lukas.klingsbo@gmail.com >
2021-12-07 22:42:33 +01:00
Pasha Stetsenko
96991122f4
MoveAlongPathEffect ( #1172 )
...
* MoveAlongPathEffect separated from MoveEffect
* rename _lastPosition -> _lastOffset
* Added absolute= flag in MoveAlongPathEffect
* added test for absolute path
* add oriented= flag
* added test
* changelog
Co-authored-by: Lukas Klingsbo <lukas.klingsbo@gmail.com >
2021-12-07 20:45:53 +01:00
Pasha Stetsenko
3ae134aee5
Make ScaleEffect.by multiplicative ( #1174 )
...
* Make ScaleEffect.by multiplicative
* formatting
Co-authored-by: Lukas Klingsbo <lukas.klingsbo@gmail.com >
2021-12-07 12:01:36 +01:00
Pasha Stetsenko
341d227bfc
Rewrite effects documentation ( #1169 )
...
* Rewrite effects documentation
* implement suggestions
Co-authored-by: Lukas Klingsbo <lukas.klingsbo@gmail.com >
2021-12-07 11:41:04 +01:00
Pasha Stetsenko
45b9634d2f
update stylesheet ( #1173 )
2021-12-07 10:30:30 +01:00
Lukas Klingsbo
6970ff0759
Update images in docs and add components.query docs ( #1168 )
...
* Update images in docs and add components.query docs
* Update image for component_tree
2021-12-06 13:19:58 +01:00
Erick
0a114bfc84
Fixing tests with multiple futures finishing abruptly ( #1166 )
2021-12-05 20:58:29 +00:00
Lukas Klingsbo
c35fb46078
Fix hitbox circle on flip ( #1165 )
2021-12-05 20:38:52 +01:00
Pasha Stetsenko
bfcda073bb
Effect controllers restructuring ( #1134 )
...
* Update effectController
* move effect controllers into the controllers/ directory
* Add .forward property to EffectController
* SimpleEffectController supports reverse time
* Fixing some compile errors
* rename SimpleEffectController -> LinearEffectController
* minor cleanup
* DurationEffectController and PauseEffectController
* ReverseLinearEffectController
* CurvedEffectController and its reverse
* InfiniteEffectController
* Added EffectController.recede()
* Add EffectController.update()
* Add InfiniteEffectController'
* RepeatedEffectController
* SequenceEffectController
* DelayedEffectController
* Restore the [EffectController.started] property
* minor
* Rename reset() -> setToStart()
* time direction is now managed from the Effect class
* StandardEffectController replaced with function standardController()
* update some doc-comments
* flutter analyze
* flutter format
* fix some tests
* more test fixes
* fix remaining tests
* format
* rename local variable
* minor simplification
* Expand docs in PauseEffectController
* added tests
* Curved controller test
* fix errors
* formatting
* added more tests
* format
* fix RepeatedEffectController
* more tests
* format
* changelog
* increase tolerance
* Replaced standardController with factory EffectController constructor
* Added parameter EffectController({alternate=false})
* Added default for curve= parameter
* rename
* rename tests
* added more exports
* rename tests
* rename src/effects2
Co-authored-by: Lukas Klingsbo <lukas.klingsbo@gmail.com >
2021-12-04 15:58:42 +00:00
Lukas Klingsbo
4b40479563
Rename isHud to respectCamera ( #1159 )
...
* Camera as an internal component
* Correct respectCamera
* Added changelog entry
* Add super call that will later be removed
* Rename callRender -> callOwnRender
* Don't call render when root
* Remove callOwnRender
* Skip CameraWrapper in own renderTree
* Too complex to have camera as component
* Revert test
* Update docs for respectCamera
* Move down field
* Fix changelog
2021-12-04 13:41:51 +00:00
Pasha Stetsenko
0835741e63
Documentation style fixes ( #1162 )
...
* fix styles for the bottom navigation buttons
* fix broken link
* format
2021-12-04 13:21:03 +01:00
Lukas Klingsbo
790b8f73dd
Remove old effects system ( #1157 )
...
* Remove old effects system
* Add changelog entry
2021-12-03 15:02:25 +01:00
Lukas Klingsbo
fe162c6d90
Introduce updateTree ( #1158 )
...
* Introduce updateTree
* Update tests
* Fix update for game-in-game situations
* Add dartdoc to updateTree
2021-12-03 14:01:46 +01:00
Lukas Klingsbo
bc31e11d29
Fix parallax loading with different loading times ( #1155 )
...
* Fix parallax loading with different loading times
* Use mapIndexed instead
* Mock image cache to test correct velocityMultiplier
* Fix parallax test
2021-12-03 00:21:42 +01:00
Luan Nico
aec260743b
Fix render order of components and add tests ( #1148 )
2021-12-02 17:28:53 -05:00
Lukas Klingsbo
ca8f8d3632
Added a ButtonComponent ( #1146 )
...
* Added a ButtonComponent
* Don't import VoidCallback
* Change epsilon since test is flaky
* Added SpriteButtonComponent
* Add changelog entry
* Add docs
2021-11-29 21:01:05 +01:00
Luan Nico
66f27d7ccc
Add a few missing helpers to SpriteAnimation ( #1147 )
2021-11-27 19:27:16 -05:00
Luan Nico
bf681d22ec
Add a noClip option to fixed viewport ( #1149 )
2021-11-27 18:45:19 -05:00
Lukas Klingsbo
611e20b80b
Publish flame-1.0.0-releasecandidate.18 ( #1145 )
2021-11-26 00:03:14 +01:00
Lukas Klingsbo
a74ffcd0e0
Forcing portrait and landscape is now supported on web ( #1138 )
1.0.0-releasecandidate.18
2021-11-25 12:15:38 +01:00
Lukas Klingsbo
a2b8c4c44c
OpacityEffect in the new effects engine (#1133 )
...
* OpacityEffect example
* Add OpacityEffect example
* Added test for OpacityEffect
* Added changelog entry
* Fix dartdocs
* Reset rounding errors between runs
* Fix test and rounding error
* Update rounding error calculation
* Rounding error should be private
* Bump test epsilon
2021-11-25 11:00:14 +01:00
Jochum van der Ploeg
a475290eb8
Fixed calculations in HudMarginComponent ( #1144 )
2021-11-25 10:12:23 +01:00
Lukas Klingsbo
1002dbc688
Publish flame_rive-1.0.0-releasecandidate.2 ( #1142 )
2021-11-24 19:05:55 -03:00
Lukas Klingsbo
ce9dc0a704
Publish flame_forge2d-0.8.2-releasecandidate.17 ( #1137 )
1.0.0-releasecandidate.17
2021-11-23 14:37:15 +00:00
Lukas Klingsbo
00947de644
Publish flame_oxygen-0.1.0-releasecandidate.17 ( #1136 )
2021-11-23 14:23:34 +00:00
Lukas Klingsbo
60536312a6
Publish flame-1.0.0-releasecandidate.17 ( #1135 )
2021-11-23 14:07:28 +00:00
Lukas Klingsbo
f249b43e2f
Added the SizeEffect and a general ComponentEffect ( #1122 )
...
* Added the `SizeEffect` and a general `ComponentEffect`
* Added changelog entry
* Format throw
* Fix analyze issue
* Fix Transform2DEffect test
* Apply suggestions from code review
Co-authored-by: Luan Nico <luanpotter27@gmail.com >
* Fix missing example parenthesis
* Fix according to comments
Co-authored-by: Luan Nico <luanpotter27@gmail.com >
2021-11-22 21:55:14 +01:00
brumbrumm
37710113bb
Align code examples with examples ( #1131 )
...
Removed "particle:" key. replaced ..asComponent with ParticleComponent.
2021-11-22 14:55:38 +01:00
brumbrumm
e8477d22af
Changed link to new particle example location ( #1130 )
2021-11-22 11:17:36 +01:00
Luan Nico
85d6d9aa26
Fix Isometric Tile Map coordinates of center of block ( #1128 )
2021-11-19 21:14:33 -05:00
Lukas Klingsbo
54e059cb67
PositionBodyComponent to have optional arguments (#1121 )
...
* `PositionBodyComponent` to have optional arguments
* Use ! for positionComponent
2021-11-20 02:43:20 +01:00
Lukas Klingsbo
e6e5a1582c
Refactored ScaleEffect to the new effects engine ( #1123 )
...
* Scale effect
* Scale effect should affect scale...
* Add ScaleEffect example
* Added `ScaleEffect`
* Fix analyze issue
* Fix ScaleEffect tests
2021-11-20 02:20:06 +01:00
dbilgin
0aacb607a4
Update game.md ( #1127 )
...
* Update game.md
fixed the load error for the readme docs.
* Update game.md
* Update doc/game.md
Co-authored-by: Lukas Klingsbo <lukas.klingsbo@gmail.com >
2021-11-19 21:28:19 -03:00
Lukas Klingsbo
0dfe97ce42
Bump OrderedSet
2021-11-20 00:11:31 +01:00
Lukas Klingsbo
f40bd9e209
Upgrade to OrderedSet 4.1.0 ( #1120 )
...
Forced this in, since it is currently breaking `main`.
2021-11-19 16:00:36 +01:00
Lukas Klingsbo
8b132d7c0b
Unify examples structure ( #1118 )
...
* Animations, CameraAndViewport, CollisionDetection and Components unified
* Added descriptions to effects
* Rename input games
* Unify input stories
* Add info to parallax section
* Added descriptions to the rendering examples
* Add descriptions to the sprites directory
* Fix utils and rendering section
* Add descriptions to the widgets section
* Delete directory that rebase brought back
* Unify game names
* Added some styleguide docs for examples
* Fix analyze issues
* All files should have _example as suffix
* Made the FollowComponentExample a bit easier to understand
* Change priority of ember
2021-11-19 14:28:04 +01:00
Erick
904481d289
Adding dartdoc to flame_fire_atlas ( #1103 )
...
* Adding dartdoc to flame_fire_atlas
* lint
* Apply suggestions from code review
Co-authored-by: Lukas Klingsbo <lukas.klingsbo@gmail.com >
* pr suggestions
* Apply suggestions from code review
Co-authored-by: Luan Nico <luanpotter27@gmail.com >
* Apply suggestions from code review
Co-authored-by: Luan Nico <luanpotter27@gmail.com >
Co-authored-by: Lukas Klingsbo <lukas.klingsbo@gmail.com >
Co-authored-by: Luan Nico <luanpotter27@gmail.com >
2021-11-18 16:23:41 +00:00
Lukas Klingsbo
5b043ac8ec
Fix flipHorizontallyAroundCenter and flipVerticallyAroundCenter ( #1116 )
2021-11-18 15:49:37 +00:00
Luan Nico
03128170bd
Add some new lint rules ( #1117 )
2021-11-18 15:35:10 +00:00
Erick
b89839c894
Adding dartdocs to flame_svg ( #1101 )
...
* Adding dartdocs to flame_svg
* Apply suggestions from code review
Co-authored-by: Lukas Klingsbo <lukas.klingsbo@gmail.com >
* pr suggestions
* Apply suggestions from code review
Co-authored-by: Luan Nico <luanpotter27@gmail.com >
* Update packages/flame_svg/lib/svg_component.dart
Co-authored-by: Lukas Klingsbo <lukas.klingsbo@gmail.com >
Co-authored-by: Luan Nico <luanpotter27@gmail.com >
2021-11-18 12:53:08 +00:00
Erick
c2cb048ac3
Adding dartdocs to flame_bloc public members ( #1102 )
2021-11-18 11:56:46 +00:00