Difference between revisions of "Library.OXP"
From Elite Wiki
m (Added link to Lib_PAD doc) |
(Added example pictures for Lib_Animator, Lib_PAD and Lib_Starmap) |
||
Line 6: | Line 6: | ||
==Features== |
==Features== |
||
+ | [[Image:Lib_Animator01.png|180px|thumb|right|Animator]][[Image:Lib_PAD01.png|180px|thumb|right|PAD]][[Image:Lib_Starmap02.png|180px|thumb|right|Starmap]] |
||
For Documentation just follow the links. |
For Documentation just follow the links. |
||
* ''Lib_2DCollision.js'' - Methods for checking if point is in bounding-box, on line or in poly. |
* ''Lib_2DCollision.js'' - Methods for checking if point is in bounding-box, on line or in poly. |
||
Line 16: | Line 17: | ||
* ''[[Lib_Music|Lib_Music.js]]'' - Unified event driven and generic music handling (see [[#Demos|Demos]]). |
* ''[[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}} |
* ''[[Lib_PAD|Lib_PAD.js]]'' - Unified logbook, mission-log, diary and interface. {{AV|1.7}} |
||
+ | * ''Lib_Starmap.js'' - In-System-Maps in 3D (docked and inflight). {{AV|1.7}} |
||
==Requirements== |
==Requirements== |
Revision as of 12:38, 6 October 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
- Lib_Starmap.js - In-System-Maps in 3D (docked and inflight). 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 |