Difference between revisions of "Library OXP"

From Elite Wiki
m
m (v1.3)
(6 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]] 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.
+
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_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]]).
 
* ''Lib_Animator.js'' - Tool to create animations on missionscreens (see [[#Demos|Demos]]).
Line 13: Line 14:
 
* ''[[Lib_GUI|Lib_GUI.js]]'' - Unified GUI image, sound and music handling.
 
* ''[[Lib_GUI|Lib_GUI.js]]'' - Unified GUI image, sound and music handling.
 
* ''Lib_Main.js'' - Generic functions for various tasks.
 
* ''Lib_Main.js'' - Generic functions for various tasks.
* ''Lib_Music.js'' - Unified event driven music handling (see [[#Demos|Demos]]).
+
* ''[[Lib_Music|Lib_Music.js]]'' - Unified event driven and generic music handling (see [[#Demos|Demos]]).
 +
 
  
 
==Requirements==
 
==Requirements==
* Latest version needs Oolite v1.84.
+
* Latest version needs Oolite v1.86.
  
  
 
==Download==
 
==Download==
 
Install like any other [[OXP]].
 
Install like any other [[OXP]].
* [https://app.box.com/s/z4zk0ny5mh6oxjywg3rtqkiwgplx8i2b Release candidate] (zip, 943.2 KB)
+
* [https://app.box.com/s/qzanjs68diveoi9l8gag8ynbnm04e84j Library 1.3] (oxz, 798.7 KB)
 
 
  
==Demos==
+
===Demos===
 
Install like any other [[OXP]].
 
Install like any other [[OXP]].
 
* [https://app.box.com/s/59vqswqh0wxiccerk7wgxerl0m0wmx20 Animator Demo] (zip, 2.8 MB)
 
* [https://app.box.com/s/59vqswqh0wxiccerk7wgxerl0m0wmx20 Animator Demo] (zip, 2.8 MB)
Line 32: Line 33:
 
==Quick Facts==
 
==Quick Facts==
 
{{OXPLevel|0}}{{IconOXP
 
{{OXPLevel|0}}{{IconOXP
|ooVersion = "1.84"
+
|ooVersion = "1.86"
 
|oxpCPU = "Medium"
 
|oxpCPU = "Medium"
 
|oxpMEM = "Average"
 
|oxpMEM = "Average"
Line 44: Line 45:
 
{{Infobox OXPb| title = Library
 
{{Infobox OXPb| title = Library
 
|image = [[Image:IconLib.png|100px]]
 
|image = [[Image:IconLib.png|100px]]
|version = 1.0
+
|version = 1.3
|release = 2016-07-22
+
|release = 2018-01-05
 
|license = CC-by-nc-sa-4.0
 
|license = CC-by-nc-sa-4.0
 
|features = Helper for OXPs
 
|features = Helper for OXPs

Revision as of 23:10, 5 January 2018

IconLib.png

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).


Requirements

  • Latest version needs Oolite v1.86.


Download

Install like any other OXP.

Demos

Install like any other OXP.


Quick Facts

Levelindicator0.png
0-{{{2}}}

Minimum Oolite versionCPU usage mediumMemory usage averageGPU usage averageisParentisAPIisDocumentedisConfigurable

Version Released License Features Category Author(s) Feedback
1.3 2018-01-05 CC-by-nc-sa-4.0 Helper for OXPs Misc OXPs Svengali BB-Link