mirror of
https://github.com/Insality/druid.git
synced 2025-09-27 10:02:18 +02:00
Update
This commit is contained in:
@@ -133,9 +133,7 @@ Available keywords:
|
||||
- `blocker`: Adds a [Druid Blocker](01-components.md#blocker) component.
|
||||
- `slider`: Adds a [Druid Slider](01-components.md#slider) component. You should adjust the end position of the Slider after generating the file.
|
||||
- `progress`: Adds a [Druid Progress](01-components.md#progress) component.
|
||||
- `timer`: Adds a [Dr
|
||||
|
||||
uid Timer](01-components.md#timer) component.
|
||||
- `timer`: Adds a [Druid Timer](01-components.md#timer) component.
|
||||
|
||||
## The Power of Using Templates
|
||||
|
||||
|
@@ -3,7 +3,7 @@
|
||||
|
||||
## Input Bindings
|
||||
|
||||
By default, **Druid** utilizes the `/builtins/input/all.input_binding` for input bindings.
|
||||
By default, **Druid** uses all key names from Defold's default `/builtins/input/all.input_binding` for input bindings.
|
||||
|
||||
**Druid** requires the following input bindings:
|
||||
|
||||
@@ -18,6 +18,7 @@ By default, **Druid** utilizes the `/builtins/input/all.input_binding` for input
|
||||
- Key trigger: `Right` -> `key_right` (for Rich Input component, optional)
|
||||
- Key trigger: `Shift` -> `key_lshift` (for Rich Input component, optional)
|
||||
- Key trigger: `Ctrl` -> `key_lctrl` (for Rich Input component, optional)
|
||||
- Key trigger: `Super` -> `key_lsuper` (for Rich Input component, optional)
|
||||
- Touch triggers: `Touch multi` -> `touch_multi` (for Scroll component)
|
||||
|
||||

|
||||
@@ -45,6 +46,7 @@ input_key_left = key_left
|
||||
input_key_right = key_right
|
||||
input_key_lshift = key_lshift
|
||||
input_key_lctrl = key_lctrl
|
||||
input_key_lsuper = key_lsuper
|
||||
```
|
||||
|
||||
|
||||
|
@@ -506,22 +506,22 @@ Please support me if you like this project! It will help me keep engaged to upda
|
||||
### Druid 0.12.0
|
||||
|
||||
**Changelog 0.12.0**
|
||||
- Remove `middleclass.lua`
|
||||
- The Rich Text now applied to the text node instead of Rich Text Template (contained 3 nodes before - root, text and image prefabs)
|
||||
- New Logo!
|
||||
- New Example Page with 40+ examples
|
||||
- Updated and fixed annotations
|
||||
- Add `self:get_druid(template, nodes)` to escape the `self:set_template(template)` and `self:set_nodes(nodes)` calls
|
||||
- Update Rich Input. Now with selection and cursor navigation. Updated Input settings for Druid
|
||||
- Rework Data List. Now only works with Static Grid only. Now the Data List more stable with extended API.
|
||||
- Add Cached Data List option. This used less memory (it's really much optimized) but requires uses the `on_add_element` and `on_remove_element` events to setup your nodes. All components should be the same class.
|
||||
- Now user can tap from one text input area to another with one click. Before first tap is closed the focus on selected input.
|
||||
- Removed Layout component. Add new Layout component what do a some different things. It's like Dynamic Grid but with more control and settings.
|
||||
- Deprecated Dynamic Grid. Layout will be instead of it.
|
||||
- Add touch param to Drag callbacks, it's much easier to add custom logic with knowledge of input action data.
|
||||
- Add `scroll.view_size`, `scroll:set_view_size(size)` and `scroll:update_view_size()` functions to manage with current scroll input area and scroll visible part
|
||||
- Add `grid:set_item_size(size)`, `grid:sort_nodes(comparator)` functions
|
||||
- Seems adjust by height for multiline text is workings good now
|
||||
- Extended Rich Input API
|
||||
- More accurate scaling for progress bars fow images with slice9 params
|
||||
- Fix several slider issues
|
||||
- [Example] New Example Page with 40+ examples
|
||||
- [Data List] Rework Data List. Now only works with Static Grid only. Now the Data List more stable with extended API.
|
||||
- Add Cached Data List option. This used less memory (it's really much optimized) but requires uses the `on_add_element` and `on_remove_element` events to setup your nodes. All components should be the same class.
|
||||
- [Rich Text] The Rich Text now applied to the text node instead of Rich Text Template (contained 3 nodes before - root, text and image prefabs)
|
||||
- [Rich Input] Updated Rich Input. Now it goes with selection and cursor navigation. Added new input keys for setup in Druid (arrows keys, ctrl, shift)
|
||||
- [System] Updated and fixed annotations
|
||||
- [System] Removed `middleclass.lua`
|
||||
- [System] Add `self:get_druid(template, nodes)` to escape the `self:set_template(template)` and `self:set_nodes(nodes)` calls in custom components
|
||||
- [Input] Now user can tap from one text input area to another with one click. Before first tap is closed the focus on selected input.
|
||||
- [Layout] Removed Layout component. Add new Layout component what do a some different things. It's like Dynamic Grid but with more control and settings.
|
||||
- [Dynamic Grid] Deprecated Dynamic Grid. Layout will be instead of it.
|
||||
- [Drag] Add touch param to Drag callbacks, it's much easier to add custom logic with knowledge of input action data.
|
||||
- [Scroll] Add `scroll.view_size`, `scroll:set_view_size(size)` and `scroll:update_view_size()` functions to manage with current scroll input area and scroll visible part
|
||||
- [Static Grid] Add `grid:set_item_size(size)`, `grid:sort_nodes(comparator)` functions
|
||||
- [Text] Seems adjust by height for multiline text is workings good now
|
||||
- [Rich Input] Extended Rich Input API
|
||||
- [Progress Bar] More accurate scaling for progress bars fow images with slice9 params
|
||||
- [Slider] Fix several slider issues in slider setup
|
||||
|
Reference in New Issue
Block a user