Difference between revisions of "Category:Oolite scripting"

From Elite Wiki
(New page: Oolite scripting topics. Category:Oolite)
 
(Added more noted links)
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Oolite scripting topics.
+
[[Oolite]] scripting topics.
[[Category:Oolite]]
+
*See also [[:Category:Oolite Development]]
 +
 
 +
== 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 [http://aegidian.org/bb/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 ==
 +
*[http://aegidian.org/bb/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!
 +
*[http://www.aegidian.org/bb/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]]

Revision as of 21:35, 26 November 2022

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 118 pages are in this category, out of 118 total.