Difference between revisions of "Library OXP"

From Elite Wiki
m (changed feedback link)
m
Line 6: Line 6:
  
 
==Features==
 
==Features==
* 2DCollision checks
+
* ''Lib_2DCollision.js'' - Methods for checking if point is in bounding-box, on line or in poly.
* Animation helper
+
* ''Lib_Animator.js'' - Tool to create animations on missionscreens (see [[#Demos|Demos]]).
* Binary search tree
+
* ''Lib_BinSearch.js'' - Instantiated search tree.
* Configuration interface for AddOns
+
* ''Lib_Config.js'' - Configuration interface for AddOns.
* De-/Encryption for strings
+
* ''Lib_Crypt.js'' - De-/Encryption for strings.
* Event driven music handling
+
* ''Lib_GUI.js'' - Unified GUI image, sound and music handling.
* Generic functions for various tasks
+
* ''Lib_Main.js'' - Generic functions for various tasks.
* Unified GUI image, sound and music handling
+
* ''Lib_Music.js'' - Unified event driven music handling (see [[#Demos|Demos]]).
  
  
Line 21: Line 21:
  
 
==Download==
 
==Download==
* [https://app.box.com/s/z4zk0ny5mh6oxjywg3rtqkiwgplx8i2b Release candidate] (943.2 KB)
+
Install like any other [[OXP]].
 +
* [https://app.box.com/s/z4zk0ny5mh6oxjywg3rtqkiwgplx8i2b Release candidate] (zip, 943.2 KB)
  
  
 
==Demos==
 
==Demos==
* [https://app.box.com/s/59vqswqh0wxiccerk7wgxerl0m0wmx20 Animator Demo] (2.8 MB)
+
Install like any other [[OXP]].
* [https://app.box.com/s/xd9hnscxrjlb0p5suz8t00e7m5qo743d Music Demo] (22.2 MB)
+
* [https://app.box.com/s/59vqswqh0wxiccerk7wgxerl0m0wmx20 Animator Demo] (zip, 2.8 MB)
 +
* [https://app.box.com/s/xd9hnscxrjlb0p5suz8t00e7m5qo743d Music Demo] (zip, 22.2 MB)
  
  

Revision as of 13:55, 27 July 2016

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

  • 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 music handling (see Demos).


Requirements

  • Latest version needs Oolite v1.84.


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.0 2016-07-22 CC-by-nc-sa-4.0 Helper for OXPs Misc OXPs Svengali BB-Link