Commit Graph

3302 Commits

Author SHA1 Message Date
Luan Nico
0b4506e8a9 Fix small detail on our keyboard docs (#1054) 2021-10-29 18:55:43 -03:00
Erick
b76673946e Adding a proposal for new tutorials (#1006)
* Adding a proposal for new tutorials

* fixing and improving the text a little bit

* formating and lints

* copy button and few improvements

* adding super.render on position component

* fixing dashbook dependency

* Apply suggestions from code review

Co-authored-by: Luan Nico <luanpotter27@gmail.com>

* pr suggestions

* Apply suggestions from code review

Co-authored-by: Lukas Klingsbo <lukas.klingsbo@gmail.com>

* suggestions

* fixing wrong merge

* reverting analysis options

* Update tutorials/space_shooter/lib/steps/1_getting_started/1_flame_game/code.dart

Co-authored-by: Luan Nico <luanpotter27@gmail.com>

* Update tutorials/space_shooter/lib/steps/1_getting_started/1_flame_game/step.dart

* Update tutorials/space_shooter/README.md

* Update tutorials/space_shooter/lib/steps/1_getting_started/2_input_and_graphics/tutorial.dart

* Update tutorials/space_shooter/lib/steps/1_getting_started/2_input_and_graphics/tutorial.dart

* Update tutorials/space_shooter/lib/steps/1_getting_started/2_input_and_graphics/tutorial.dart

* Update tutorials/space_shooter/lib/widgets/step_scaffold.dart

Co-authored-by: Luan Nico <luanpotter27@gmail.com>

* Update tutorials/space_shooter/lib/steps/1_getting_started/1_flame_game/step.dart

* Fix formatting

* Update to 0.1.5 dashbook

* Fix wrong class name RunningFlameStep

* Use magic flame_lint

* Fix paint and rect in player class description

Co-authored-by: Luan Nico <luanpotter27@gmail.com>
Co-authored-by: Lukas Klingsbo <lukas.klingsbo@gmail.com>
Co-authored-by: Lukas Klingsbo (spydon) <me@lukas.fyi>
2021-10-28 16:46:19 +02:00
Tyemy Kuga
a572a7772e Bumping dashbook version on examples (#1053)
Co-authored-by: Tyemy Kuga <tyemy.kuga@dextra-sw.com>
2021-10-27 19:18:40 -03:00
Pasha Stetsenko
9244d80de6 FlameAnimationController class (#1047)
* Added FlameAnimationController class

* Added MainAnimationController class

* Update doc comments

* formatting

* rename MainAnimationController

* Added tests for StandardAnimationController

* Added more tests

* comment

* Added changelog note

* Export StandardAnimationController

* formatting

* Use a default for 'curve' parameter

* rename onsetDelay -> startDelay

* Expand default:

* un-export symbols

* Rename Peak->Max, Pit->Min

* delay -> startDelay

* Review suggestions

* Remove _AnimationStage.afterEnd

* FlameAnimationController -> EffectController

* Rename dart file

* StandardAnimationController -> StandardEffectController

* Last rename
2021-10-27 18:03:36 +02:00
Lukas Klingsbo
2fd38772e4 Add flame_tiled contributors before package moved (#1051) 2021-10-27 14:26:20 +02:00
Erick
3bdb90fb5c Adding flame_lint and removing dart code metrics (#1049)
* Adding flame_lint and removing dart code metrics

* Update packages/flame_flare/example/pubspec.yaml

* updating analyze action

* adding missing dardoc dep on flame_lint

* removing test folder from the lint package

* fixing sdk versions

* license and changeog fix

* Update packages/flame_lint/README.md

Co-authored-by: Lukas Klingsbo <lukas.klingsbo@gmail.com>

* additional readme fix

Co-authored-by: Lukas Klingsbo <lukas.klingsbo@gmail.com>
2021-10-26 23:50:30 +00:00
Lukas Klingsbo
321a3db88d Fix the Test badge in the README (#1050) 2021-10-26 20:35:52 -03:00
Pasha Stetsenko
9ebc78c4cd Documentation style improvements (#1046)
* Improve rendering of prev/next buttons in docs

* Make corners rounded

* General style improvements

* footer style adjustments

* More style fixes
2021-10-25 09:14:38 +02:00
Pasha Stetsenko
0590d03459 Remove extra search form (#1043)
Co-authored-by: Lukas Klingsbo <lukas.klingsbo@gmail.com>
2021-10-23 10:48:35 +02:00
Pasha Stetsenko
03bcc6436d Improve rendering of prev/next buttons in docs (#1044)
* Improve rendering of prev/next buttons in docs

* Make corners rounded

* footer style adjustments

Co-authored-by: Lukas Klingsbo <lukas.klingsbo@gmail.com>
2021-10-23 09:51:55 +02:00
Erick
257367ea61 Small fix on collision detection docs (#1045) 2021-10-23 09:35:45 +02:00
Lukas Klingsbo
2e0bd36527 index.html isn't needed in the url (#1041) 2021-10-22 15:56:50 +02:00
Lukas Klingsbo
b0ee95d29e Publish flame-1.0.0-releasecandidate.16 (#1040) 2021-10-22 15:01:10 +02:00
Lukas Klingsbo
3a0e5c2d9c Avoid pulling in collection package dependency (#1039) 2021-10-22 14:19:31 +02:00
Lukas Klingsbo
1fbd9d26c8 Fix broken collision detection example link (#1035) 2021-10-22 13:45:10 +02:00
Lucas Hilleshein dos Santos
851790197a Changed return type from Hoverable events (#1034)
* #947 - Changed return type of events from hoverable

* #947 - Updated docs

* #947 - Updated CHANGELOG

* #947 - Updated CHANGELOG

* #947 - Changes from review.

* Fix formatting

* Add hoverable test for composed components

* Move hoverable tests to flameTest

Co-authored-by: Lucas Santos <lucas.hilleshein.ext@sodexo.com>
Co-authored-by: Lukas Klingsbo <me@lukas.fyi>
Co-authored-by: Lukas Klingsbo <lukas.klingsbo@gmail.com>
2021-10-22 13:03:58 +02:00
Lukas Klingsbo
8a69fd91f5 Use documentation versions generated from flame-docs-site (#1036)
* Use documentation versions generated from flame-docs-site

* Absolute path for versions file
2021-10-22 12:05:56 +02:00
Pasha Stetsenko
f020da7bd7 Improve 'move effect' example (#1030)
* Improve 'move effect' example

* Update examples/lib/commons/circle_component.dart

* Changelog entry

Co-authored-by: Erick <erickzanardoo@gmail.com>
2021-10-21 14:15:10 +02:00
Pasha Stetsenko
07b95cef30 Documentation version selector (#1024)
* Simpler css injection

* Better menu for selecting documentation version

* Auto-detect current docs version

* Use let/const instead of var, and single quotes

* Added versions file

* Updated script to use template strings

* Update script to load the list of versions dynamically

* Use main branch as a source for versions.txt file
2021-10-21 08:52:01 +03:00
Pedro Zaroni
115f638d86 Enable parallel dartdoc step in cicd (#1029)
* #954 - enable parallel dartdoc step in cicd

* #954 - use flame-engine/flame-dartdoc-action@v2 action

Co-authored-by: Lukas Klingsbo <lukas.klingsbo@gmail.com>
Co-authored-by: Erick <erickzanardoo@gmail.com>
2021-10-20 11:26:22 -03:00
Erick
e69c8c4944 Adding sponsors section (#1033)
* Adding sponsors section

* fix sponsors

* fix sponsors

* fix sponsors

* fix sponsors

* Update README.md

* Update README.md

* Update README.md

Co-authored-by: Lukas Klingsbo <lukas.klingsbo@gmail.com>

* Update README.md

* Update README.md

Co-authored-by: Lukas Klingsbo <lukas.klingsbo@gmail.com>
2021-10-20 09:53:26 -03:00
Lukas Klingsbo
e985964f2f Add onDoubleTapDown with info and onDoubleTapCancel (#1026)
* Add onDoubleTapDown with info and onDoubleTapCancel

* Fix tests
2021-10-19 20:18:23 -03:00
Elias Reis
2b0091a23f Create a spriteAnimation from spritesheet with different step time for each (#1018) 2021-10-17 10:11:02 -03:00
Pasha Stetsenko
b7f5b9cec1 Adjust styles of highlighted text in docs (#1021)
* Adjust styles of highlighted text in docs

* Some more simple fixes
2021-10-16 13:10:51 +02:00
Lukas Klingsbo
313c0be9ff Don't scale the full delta in the JoystickComponent (#1017)
* Don't scale the full delta in the JoystickComponent

* Added test for overshoot draggable behaviour of joystick
2021-10-15 10:02:30 +03:00
Lukas Klingsbo
18911b33d0 Publish flame_forge2d-0.8.2-releasecandidate.15 (#1019) 2021-10-14 16:41:23 +03:00
Lukas Klingsbo
4bff0e7870 Destroy forge2d body before calling super.onRemove (#1016)
* Destroy forge2d body before calling super.onRemove

* Call super.onRemove last
2021-10-13 10:13:01 +02:00
Erick
a1a0862121 Add @mustCallSuper to component.render (#1011)
* Add @mustCallSuper to component.render

* fixing lint

* lint

* fixing
2021-10-10 23:37:30 +00:00
Erick
06a229f8d4 Fix exception that happen when game was rebuilt (#1012) 2021-10-10 16:20:13 -03:00
Luan Nico
0fb28b2b85 Publish flame_forge2d-0.8.1-releasecandidate.15 (#1009) 2021-10-09 22:21:20 +00:00
Luan Nico
d5816faf14 Publish flame_svg-1.0.0-releasecandidate.15 (#1010) 2021-10-09 20:53:00 +00:00
Luan Nico
50b8df940c flame-svg: Simplify implementation of renderPosition 2021-10-09 16:06:02 -04:00
Luan Nico
28a9239303 Fix the publish script for n>9 (#1008) 2021-10-09 18:44:46 +00:00
Luan Nico
b626a2bea9 Publish flame_audio-1.0.0-rc.15 (#1007) 2021-10-09 18:21:37 +00:00
Erick
5ee3e15b75 Moving mixin assertions to their own prepare method (#992)
* Moving mixin assertions to their own prepare method

* changelog

* adding messages to expects

* improving the remaining tests
2021-10-08 19:29:21 -03:00
Luan Nico
ad53bbd1d8 Publish flame_tiled-1.0.0-releasecandidate.15 (#1005) 2021-10-07 22:12:48 -04:00
Luan Nico
f35b646dd9 Update links to new docs site (#1000) 2021-10-07 17:28:10 -04:00
Luan Nico
0dc5344b97 Make Flare null-safe (#1002) 2021-10-07 09:18:42 -04:00
Luan Nico
7d951a9820 Change priority is performed after each tick (#998) 2021-10-06 20:51:44 -04:00
Luan Nico
0cead89ee7 Publish flame_test-1.0.0-releasecandidate.15 (#997) 2021-10-05 00:15:18 -04:00
Luan Nico
5f759e516f Publish flame_bloc-1.0.0-releasecandidate.15 (#996) 2021-10-05 00:13:49 -04:00
Luan Nico
33af140745 Publish flame 1.0.0 releasecandidate.15 (#995) 2021-10-04 18:52:16 -04:00
Erick
cb91e11c62 Adding Flame Bloc package 🔥🧱 (#990)
* adding some code for flame bloc

* feat: adding bloc

* feat: flame bloc API and examples

* improving subscriptions and cleaning of subscriptions

* fixing and adding tests

* more tests and things

* lints

* Update packages/flame/lib/src/components/component.dart

Co-authored-by: Luan Nico <luanpotter27@gmail.com>

* fixing some PR comments and adding a better readme

* many issues fixed

* fixing some additional issues

* improving example

* adding dart code metrics back

* fixing lints

* fix lint again

* linti again

* fix dartdoc

* removing cleanComponent

* Apply suggestions from code review

Co-authored-by: Luan Nico <luanpotter27@gmail.com>

* Luan's trailling commas

* Update packages/flame_test/lib/src/flame_test.dart

Co-authored-by: Luan Nico <luanpotter27@gmail.com>

* Update packages/flame_bloc/README.md

Co-authored-by: Felix Angelov <felangelov@gmail.com>

* Update packages/flame/CHANGELOG.md

Co-authored-by: Jochum van der Ploeg <jochum@vdploeg.net>

* Apply suggestions from code review

Co-authored-by: Jochum van der Ploeg <jochum@vdploeg.net>

* Update packages/flame_bloc/lib/src/flame_bloc_game.dart

Co-authored-by: Jochum van der Ploeg <jochum@vdploeg.net>

Co-authored-by: Luan Nico <luanpotter27@gmail.com>
Co-authored-by: Felix Angelov <felangelov@gmail.com>
Co-authored-by: Jochum van der Ploeg <jochum@vdploeg.net>
2021-10-04 09:25:22 -03:00
Luan Nico
b91067f68a Fix logo styling on docs (#989) 2021-10-02 11:53:52 -04:00
Luan Nico
978fda0ea5 Bump versions of audioplayers and meta packages (#988) 2021-10-01 14:22:07 -04:00
Pasha Stetsenko
acb66ef7b5 Sphinx docs (#966) 2021-10-01 13:16:42 -04:00
Luan Nico
8aca5d086f Add flame_flare (#986) 2021-10-01 12:22:17 -04:00
Luan Nico
5151e8efe1 Stop running onRemove during resize (#987) 2021-09-30 16:50:30 -04:00
Luan Nico
9cc19a76b4 Add option to rotate SpriteWidget (#985) 2021-09-29 12:24:17 -04:00
Luan Nico
9f9d562261 Use new ordered_set to allow for controlling strictMode (#984) 2021-09-29 11:45:45 -04:00