Update README

This commit is contained in:
Pierre-Yves Rollo 2019-03-09 20:47:33 +01:00
parent 2e98900cc0
commit 5d91a6de20
2 changed files with 18 additions and 2 deletions

View File

@ -1,5 +1,5 @@
# Display Modpack # Display Modpack
Version 1.2.3 Version 1.3
This modpack provides mods with dynamic display. Mods are : This modpack provides mods with dynamic display. Mods are :
@ -39,6 +39,11 @@ These objects will be removed in the future.
## Changelog ## Changelog
### 2019-03-09 (Version 1.3)
- __display_api__: Display nodes can be rotated in every directions (if running Minetest 5 or above).
- __display_api__: New setting to restrict rotations to Minetest 0.4 abilities (**restriction enabled by default**).
- __sign_api__: Changed behavior of screwdriver if no rotation restriction.
### 2018-12-14 (Version 1.2.3) ### 2018-12-14 (Version 1.2.3)
- __display_api__: New `yaw` attributes, entities can now have different angles with node. - __display_api__: New `yaw` attributes, entities can now have different angles with node.
- __font_api__: New `Font:render` method for texture creation - __font_api__: New `Font:render` method for texture creation

View File

@ -2,7 +2,9 @@
This library's purpose is to ease creation of nodes with one or more displays on sides. For example, signs and clocks. Display can be dynamic and/or different for each node instance. This library's purpose is to ease creation of nodes with one or more displays on sides. For example, signs and clocks. Display can be dynamic and/or different for each node instance.
**Limitations**: This lib uses entities to draw display. This means display has to be vertical. So display nodes rotation are limitated to "upside up" positions. **Limitations**: This lib uses entities to draw display. This means display has to be vertical (and "upside up") on Minetest before version 5.0. This restriction can be set in settings.
**Settings**: `display_rotation_restriction` should be set to false if using Minetest 5.0 and above, true otherwise.
**Dependancies**:default **Dependancies**:default
@ -21,3 +23,12 @@ Following objects are deprecated, shows a warning in log when used:
* `display_lib` global table (use `display_api` global table instead); * `display_lib` global table (use `display_api` global table instead);
These objects will be removed in the future. These objects will be removed in the future.
## Change log
### 2019-03-09
- __display_api__: Display nodes can be rotated in every directions (if running Minetest 5 or above).
- __display_api__: New setting to restrict rotations to Minetest 0.4 abilities (**restriction enabled by default**).
### 2018-12-14
- __display_api__: New `yaw` attributes, entities can now have different angles with node.