Line 1: |
Line 1: |
− | '''Welcome to the Inspired-Lua Wiki''', the place to know everything about Lua programming on the TI-Nspire! | + | '''Welcome to the Inspired-Lua.org Wiki''' !<br /> |
| + | Here, you can learn "everything" about Lua scripting on the TI-Nspire platform ! Since this is a wiki, you're welcome to contribute ;) |
| | | |
− | While this wiki does not go in depth for 100% of the API functions (yet), you will always be able to find general information about a function in its category page.
| + | This website is not official but is considered a great source of information. <br /> Its goal is to gather official information (from [https://education.ti.com/en/guidebook/details/en/59108CCE54484B76AF68879C217D47B2/ti-nspire_scripting-api-guide TI's pdf documentation], mainly) and also to explain things further, with more details and examples. |
| | | |
− | '''News''' : TI released on June, 7th 2012 the TI-Nspire OS 3.2, which improves the Lua API. You can see [[Changes in OS 3.2|what's changed here]]. | + | An overview of the TI-Nspire Lua Scripting API is available here : [[Overview of the API]] |
| + | |
| + | '''News''' : |
| + | * [June 7th, 2012] : TI-Nspire OS 3.2 is released, with major updates to the Lua API. You can see [[Changes in OS 3.2|what's changed here]].<br /> |
| + | * [February 7th, 2013] : TI-Nspire iPad applications released, which came with OS 3.4, in which the Lua API got updated a bit. You can see [[Changes in OS 3.4|what's changed here]]. |
| + | * [December 10th, 2013] : TI-Nspire OS 3.6 is released, which changed the Lua API a little bit. You can see [[Changes in OS 3.6|what's changed here]]. |
| + | * [June 25th, 2014] : TI-Nspire OS 3.9 is released, with minor changes to the Lua API. You can see [[Changes in OS 3.9|what's changed here]]. |
| + | * [August 25th, 2014] : TI-Nspire for iPad version 3.11 is released, with changes to the Lua API related to [[:Category:BLE|BLE]] features. You can see [[Changes in OS 3.11|what's changed here]]. |
| + | * [March 6th, 2015] : TI-Nspire for iPad version 4.1 is released, with minor changes to the Lua API related to [[:Category:BLE|BLE]] features (Advertisement data, RSSI, timeout for connect procedure). |
| + | * [February 16th, 2016] : TI-Nspire OS 4.2 is released, with major new features to the Lua API related to peripheral I/O ([[:Category:ASI|ASI]], "Asynchronous Serial Interface") mainly. You can see [[Changes in OS 4.2|what's changed here]]. |
| + | * So far, later OSes (4.3 and 4.4) have not brought any new/changed features to Lua scripting. |
| | | |
| == Categories == | | == Categories == |
Line 9: |
Line 20: |
| {| cellspacing="0" cellpadding="1" class="wikitable" style="width: 500px;" | | {| cellspacing="0" cellpadding="1" class="wikitable" style="width: 500px;" |
| |- | | |- |
− | | width="64" height="64" | [[Image:Lua-logo.gif|64x64px|Lua-logo.gif]] | + | | width="64" height="64" | [[Image:Lua-logo.gif|64x64px|Lua-logo.gif]] |
| | [[Overview of the API|Standard Library]] | | | [[Overview of the API|Standard Library]] |
| | The standard Lua functions | | | The standard Lua functions |
Line 21: |
Line 32: |
| | The integrated timer | | | The integrated timer |
| |- | | |- |
− | | <br> | + | | width="64" height="64" | [[Image:Logo1-icon.png|64x64px|Logo1-icon.png]] |
| + | |
| | [[Events|Events]] | | | [[Events|Events]] |
| | Platform Events | | | Platform Events |
| |- | | |- |
− | | | + | | width="64" height="64" | [[Image:Logo1-icon.png|64x64px|Logo1-icon.png]] |
− | | [[gc|Graphical context]] | + | | [[gc|Graphics context]] |
− | | Draw object to the screen with gc | + | | Draw on the screen with gc |
| |- | | |- |
− | | | + | | width="64" height="64" | [[Image:Logo1-icon.png|64x64px|Logo1-icon.png]] |
| | [[platform|Platform]] | | | [[platform|Platform]] |
| | Get and manage platform information | | | Get and manage platform information |
| |- | | |- |
− | | | + | | width="64" height="64" | [[Image:Logo1-icon.png|64x64px|Logo1-icon.png]] |
| | [[image|Image]] | | | [[image|Image]] |
| | The image library | | | The image library |
| |- | | |- |
− | | | + | | width="64" height="64" | [[Image:Logo1-icon.png|64x64px|Logo1-icon.png]] |
| | [[Physics Engine|Physics]] | | | [[Physics Engine|Physics]] |
| | A Physics Engine ! | | | A Physics Engine ! |
Line 58: |
Line 70: |
| | Manage files in the local document | | | Manage files in the local document |
| |- | | |- |
− | | | + | | width="64" height="64" | [[Image:Logo1-icon.png|64x64px|Logo1-icon.png]] |
| | [[document|Document]] | | | [[document|Document]] |
| | Set global document flags | | | Set global document flags |
| |- | | |- |
− | | | + | | width="64" height="64" | [[Image:Logo1-icon.png|64x64px|Logo1-icon.png]] |
| + | |
| | [[toolpalette|Tool Palette]] | | | [[toolpalette|Tool Palette]] |
| | An easy to manage menu | | | An easy to manage menu |
| |- | | |- |
− | | | + | | width="64" height="64" | [[Image:Logo1-icon.png|64x64px|Logo1-icon.png]] |
| | [[cursor|Cursor]] | | | [[cursor|Cursor]] |
| | Change or hide the cursor | | | Change or hide the cursor |