Difference between revisions of "Library OXP"
From Elite Wiki
(First draft) |
m (Added link to Lib_PAD doc) |
||
(16 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
==Overview== | ==Overview== | ||
Reinventing the wheel is not everybodys taste, so here comes a collection of useful snippets and helpers. | Reinventing the wheel is not everybodys taste, so here comes a collection of useful snippets and helpers. | ||
− | Its main purpose is to simplify or unify some common tasks used by OXPers. Library is the successor to [[CCL]]. | + | Its main purpose is to simplify or unify some common tasks used by OXPers. Library is the successor to [[CCL]], [[Hyperradio]] and [[OXPConfig]]. The library does not alter any native JS objects (like Array or String) to avoid clashes and does not clutter the global namespace. |
==Features== | ==Features== | ||
− | * | + | For Documentation just follow the links. |
− | * | + | * ''Lib_2DCollision.js'' - Methods for checking if point is in bounding-box, on line or in poly. |
− | * | + | * ''Lib_Animator.js'' - Tool to create animations on missionscreens (see [[#Demos|Demos]]). |
− | * Configuration interface for AddOns | + | * ''Lib_BinSearch.js'' - Instantiated search tree. |
− | * De-/ | + | * ''[[Lib_Config|Lib_Config.js]]'' - Configuration interface for AddOns. |
− | * | + | * ''Lib_Crypt.js'' - De-/Encryption for strings. |
− | * Generic functions for various tasks | + | * ''[[Lib_GUI|Lib_GUI.js]]'' - Unified GUI image, sound and music handling. |
− | * Unified | + | * ''Lib_Main.js'' - Generic functions for various tasks. |
− | + | * ''[[Lib_Music|Lib_Music.js]]'' - Unified event driven and generic music handling (see [[#Demos|Demos]]). | |
+ | * ''[[Lib_PAD|Lib_PAD.js]]'' - Unified logbook, mission-log, diary and interface. {{AV|1.7}} | ||
==Requirements== | ==Requirements== | ||
− | * Latest version needs Oolite v1. | + | * Latest version needs Oolite v1.86. |
==Download== | ==Download== | ||
− | * | + | Install like any other [[OXP]]. |
+ | * [https://app.box.com/s/qzanjs68diveoi9l8gag8ynbnm04e84j Library 1.6] (oxz, 2.4 MB) | ||
+ | |||
+ | ===Demos=== | ||
+ | Install like any other [[OXP]]. | ||
+ | * [https://app.box.com/s/59vqswqh0wxiccerk7wgxerl0m0wmx20 Animator Demo] (zip, 2.8 MB) | ||
+ | * [https://app.box.com/s/xd9hnscxrjlb0p5suz8t00e7m5qo743d Music Demo] (zip, 22.2 MB) | ||
==Quick Facts== | ==Quick Facts== | ||
{{OXPLevel|0}}{{IconOXP | {{OXPLevel|0}}{{IconOXP | ||
− | |ooVersion = "1. | + | |ooVersion = "1.86" |
− | |oxpCPU = " | + | |oxpCPU = "Medium" |
|oxpMEM = "Average" | |oxpMEM = "Average" | ||
|oxpGPU = "Average" | |oxpGPU = "Average" | ||
Line 38: | Line 45: | ||
{{Infobox OXPb| title = Library | {{Infobox OXPb| title = Library | ||
|image = [[Image:IconLib.png|100px]] | |image = [[Image:IconLib.png|100px]] | ||
− | |version = 1. | + | |version = 1.6 |
− | |release = | + | |release = 2018-03-15 |
|license = CC-by-nc-sa-4.0 | |license = CC-by-nc-sa-4.0 | ||
|features = Helper for OXPs | |features = Helper for OXPs | ||
Line 45: | Line 52: | ||
|author = Svengali | |author = Svengali | ||
|download = [[#Download|See Download]] | |download = [[#Download|See Download]] | ||
− | |feedback = [http://aegidian.org/bb/viewtopic.php?f=4&t= | + | |feedback = [http://aegidian.org/bb/viewtopic.php?f=4&t=18248 BB-Link] |
}} | }} | ||
+ | |||
+ | [[Category:Oolite utilities]] |
Revision as of 18:30, 28 March 2018
Overview
Reinventing the wheel is not everybodys taste, so here comes a collection of useful snippets and helpers. Its main purpose is to simplify or unify some common tasks used by OXPers. Library is the successor to CCL, Hyperradio and OXPConfig. The library does not alter any native JS objects (like Array or String) to avoid clashes and does not clutter the global namespace.
Features
For Documentation just follow the links.
- Lib_2DCollision.js - Methods for checking if point is in bounding-box, on line or in poly.
- Lib_Animator.js - Tool to create animations on missionscreens (see Demos).
- Lib_BinSearch.js - Instantiated search tree.
- Lib_Config.js - Configuration interface for AddOns.
- Lib_Crypt.js - De-/Encryption for strings.
- Lib_GUI.js - Unified GUI image, sound and music handling.
- Lib_Main.js - Generic functions for various tasks.
- Lib_Music.js - Unified event driven and generic music handling (see Demos).
- Lib_PAD.js - Unified logbook, mission-log, diary and interface. Added in v1.7
Requirements
- Latest version needs Oolite v1.86.
Download
Install like any other OXP.
- Library 1.6 (oxz, 2.4 MB)
Demos
Install like any other OXP.
- Animator Demo (zip, 2.8 MB)
- Music Demo (zip, 22.2 MB)
Quick Facts
Version | Released | License | Features | Category | Author(s) | Feedback |
---|---|---|---|---|---|---|
1.6 | 2018-03-15 | CC-by-nc-sa-4.0 | Helper for OXPs | Misc OXPs | Svengali | BB-Link |