Commit Graph

37 Commits

Author SHA1 Message Date
Luan Nico
12cafb1da3 Draggables Overhaul (#660) 2021-02-15 14:06:35 -05:00
Lukas Klingsbo
0593e35766 Add hitbox to PositionComponent (#618)
* Move out collision detection methods

* Add possibility to define a hull for PositionComponents

* Add example of how to use hull with tapable

* Update contains point comment

* Fix contains point

* Hull should be based on center position

* Remove collision detection parts

* Added tests

* Use percentage of size instead of absolute size

* Separate hull from PositionComponent

* Clarify hull example

* Fix formatting

* Override correct method

* Use mixin for hitbox

* Update changelog

* Rename HasHitbox to Hitbox

* Clarified names

* Center to edge is considered as 1.0

* Fix test

* Add spaces within braces

* Removed extra spaces in the braces

* Add hitbox docs

* Fix link

* Moved point rotation to Vector2 extension

* Render hitbox within extension

* Fix rebase

* Fix rebase

* Fix formatting
2021-01-20 23:39:01 +01:00
Renan
0b6efdf170 Fix docs for new site (#557)
Co-authored-by: Luan Nico <luanpotter27@gmail.com>
2021-01-06 14:54:19 -03:00
Lukas Klingsbo
bd8257402b Rename Dragable -> Draggable (#575)
* Rename Dragable -> Draggable

* Hide ambigious class

* Add changelog entry

* Update docs
2020-12-19 01:10:17 +01:00
Lukas Klingsbo
bcbdab0c44 Update input docs for Dragable and Tapable 2020-12-09 10:22:36 +00:00
Lukas Klingsbo
2291002066 Update docs to take margin/padding into account 2020-12-09 10:22:36 +00:00
Lukas Klingsbo
df42c1866d Add docs for dragable 2020-12-09 10:22:36 +00:00
Erick Zanardo
44b86f6b33 Luans nits 2020-11-14 20:42:58 -03:00
Erick Zanardo
aedb28f6cf Adding warning about both advanced and basic gesture detectors 2020-10-22 21:45:48 -03:00
Benjamin Gudehus
25b0f403f7 Adding ScrollDetector 2020-09-14 22:38:25 +02:00
Erick Zanardo
3e4143a7ac Updating with PR suggestions 2020-09-12 11:47:32 -03:00
Erick Zanardo
0d8c0b7b6c Adding HoverDetector 2020-09-10 22:33:51 -03:00
Erick Zanardo
1051b94cee Adding some more details to the docs 2020-06-30 20:06:23 -03:00
rafaelbarbosatec
32c68f15d8 rename param 2020-06-30 15:30:46 -03:00
rafaelbarbosatec
776710544d ajustes documentacao 2020-06-30 15:28:51 -03:00
rafaelbarbosatec
4e6fe12a94 add events in doc 2020-06-30 15:22:27 -03:00
rafaelbarbosatec
733f80ac39 inicia documentacao 2020-06-30 10:22:16 -03:00
Erick Zanardo
68aa3568fe typos 2020-05-23 14:39:39 -03:00
Erick Zanardo
cb31c6a36d Improving docs 2020-05-20 21:47:46 -03:00
Erick Zanardo
85727a4012 fixing docs 2020-05-20 20:01:56 -03:00
Erick Zanardo
df1f88a6e0 Reverting doc rename 2020-05-18 15:13:22 -03:00
Lukas Klingsbo
9293a6e4a9 Renamed doc to docs and minor language fixes 2020-05-10 16:51:49 +02:00
Scott Kirkpatrick
cc632449c7 Fix up some typos in the docs 2020-04-15 20:53:20 -04:00
Erick Zanardo
6e6510acca Adding docs 2020-03-26 11:11:45 -03:00
Erick Zanardo
dd67a39cce Fixing tapable doc 2020-03-09 14:51:01 -03:00
Erick Zanardo
dea71c98f3 Changing docs to reflect the refactoring 2019-11-11 09:24:13 -03:00
Erick Zanardo
50fcc2c696 Adding reference to the gesture example on the input docs 2019-11-11 09:24:13 -03:00
Erick Zanardo
ae005ae93d Adding docs for new methods 2019-11-11 09:24:13 -03:00
Erick Zanardo
655a70b0a6 Adding docs and faq entry for the new API 2019-11-11 09:24:13 -03:00
Erick Zanardo
18c1670a1e Updating docs and CHANGELOG 2019-11-11 09:24:13 -03:00
Lukas Klingsbo
a349754428 Rename Tapeable to Tapable 2019-09-24 19:03:36 -03:00
Erick Zanardo
83866be7ee Finishing PR comments 2019-09-10 21:16:45 -03:00
Erick Zanardo
10a7a89faa Adding more PR suggestions 2019-09-10 21:16:45 -03:00
Erick Zanardo
82a32a4ff6 PR suggestions 2019-09-10 21:16:45 -03:00
Erick Zanardo
4fbf5a2ebc Adding docs 2019-09-10 21:16:45 -03:00
Erick Zanardo
a80218d1ed Verifying if GestureBinding is ready and if not, throwing a meaningful error 2019-02-01 12:53:32 -02:00
Luan Nico
33fbfa1a54 renameing the docs folder, as per suggested by flutter analysis 2018-03-04 22:42:43 -03:00