Difference between revisions of "Category:Oolite scripting"

From Elite Wiki
m (Oops!)
(Updating BB links)
 
(4 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
[[Oolite]] scripting topics.
 
[[Oolite]] scripting topics.
 
*See also [[:Category:Oolite Development]]
 
*See also [[:Category:Oolite Development]]
*https://www.w3schools.com/js/js_array_sort.asp is a valuable resource for better knowledge of the js on Oolite.  
+
 
*[[Legacy Scripting]] gives an introduction to javascript's precursors (for earlier oxp's)
+
== Introductions ==
 +
*[[Oolite Javascript basics]] - 2022 essay by [[User:Massively Locked|Massively Locked]]
 +
*[[Scripting Oolite with JavaScript]] contains JenAyton's essays on what your computer does with Javascript (2008) and his own introduction to Oolite's Javascript (2011)
 +
=== Other References ===
 +
*https://www.w3schools.com/js/js_array_sort.asp is a valuable resource for better knowledge of Javascript.
 +
*https://developer.mozilla.org/en-US/docs/Web/JavaScript is also good
 +
 
 +
----
 +
== OXP's ==
 +
Modern OXPs are written in JavaScript. Specifically oolite.jsVersion 185, an Oolite specific variant of '''ECMAv5''' (2009). It is the same Spidermonkey version (1.8.5 - March 2011) that Firefox 4 shipped with many years ago, but it is a special build for Oolite. This is the version that we have almost always had and it has not changed between versions of the game. It is unlikely to change in the future (due to the [https://bb.oolite.space/viewtopic.php?p=256623#p256623 immense amount of work] involved in tampering with it!).
 +
 
 +
*[[Legacy Scripting]] gives an introduction to javascript's precursor languages (for earlier oxp's)
 +
 
 +
*[[:Category:OXPDoc]]: contains relevant documentation for some of the more complex oxp's
 +
*[[:Category:Oolite utilities]]: links to utilities (including some oxp's)
 +
 
 +
----
 +
== Links ==
 +
*[https://bb.oolite.space/viewtopic.php?f=4&t=3243 Scripters cove] (2007-date) is a general Q&A thread for programming issues, brimming with advice and suggestions. Be warned! The version of Javascript used in 2007 is earlier than that canonised for Oolite in 2011 - and which is still used. And there are over 100 pages of it!
 +
*[https://bb.oolite.space/viewtopic.php?f=4&t=13235 Just a comment on a line of code] (2012-13) contains some useful general comments on Javascript programing for Oolite
  
 
[[Category:Oolite| Oolite scripting]]
 
[[Category:Oolite| Oolite scripting]]

Latest revision as of 04:47, 3 April 2024

Oolite scripting topics.

Introductions

Other References


OXP's

Modern OXPs are written in JavaScript. Specifically oolite.jsVersion 185, an Oolite specific variant of ECMAv5 (2009). It is the same Spidermonkey version (1.8.5 - March 2011) that Firefox 4 shipped with many years ago, but it is a special build for Oolite. This is the version that we have almost always had and it has not changed between versions of the game. It is unlikely to change in the future (due to the immense amount of work involved in tampering with it!).

  • Legacy Scripting gives an introduction to javascript's precursor languages (for earlier oxp's)

Links

  • Scripters cove (2007-date) is a general Q&A thread for programming issues, brimming with advice and suggestions. Be warned! The version of Javascript used in 2007 is earlier than that canonised for Oolite in 2011 - and which is still used. And there are over 100 pages of it!
  • Just a comment on a line of code (2012-13) contains some useful general comments on Javascript programing for Oolite

Subcategories

This category has the following 5 subcategories, out of 5 total.

Pages in category "Oolite scripting"

The following 119 pages are in this category, out of 119 total.