display_api/README.md

35 lines
1.4 KiB
Markdown
Raw Permalink Normal View History

2018-11-09 06:28:28 -08:00
# Display API
2015-11-11 05:26:39 -08:00
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.
2015-11-11 05:26:39 -08:00
**Limitations**: This lib uses entities to draw display. This means display has to be vertical (and "upside up") on Minetest before version 5.0.
2018-07-16 01:26:26 -07:00
**Dependancies**:default
2017-08-26 05:12:38 -07:00
2018-11-09 06:28:54 -08:00
**License**: LGPLv2
2017-08-26 05:12:38 -07:00
**API**: See [API.md](https://github.com/pyrollo/display_modpack/blob/master/display_api/API.md) document please.
2017-08-26 05:12:38 -07:00
For more information, see the [forum topic](https://forum.minetest.net/viewtopic.php?t=19365) at the Minetest forums.
2017-08-26 05:12:38 -07:00
## Deprecation notice (for modders)
### December 2018
Following objects are deprecated, shows a warning in log when used:
* `display_modpack_node` group (use `display_api` group instead);
* `display_lib_node` group (use `display_api` group instead);
* `display_lib` global table (use `display_api` global table instead);
These objects will be removed in the future.
2019-03-09 11:47:33 -08:00
## Change log
### 2019-03-14
- __dispay_api__: Display API now detects automatically whenr rotation restrictions have to be applied.
2019-03-09 11:47:33 -08:00
### 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).
2019-03-09 11:47:33 -08:00
### 2018-12-14
- __display_api__: New `yaw` attributes, entities can now have different angles with node.