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 ;) |
| | | |
− | Please note that the wiki is not finished yet. However, it is constantly-updated.
| + | This website is not official but is considered a great source of information. <br /> Its goal is to gather official information (from [http://education.ti.com/nspire/scripting-api TI's pdf documentation], mainly) and also to explain things further, with more details and examples. |
| | | |
− | If you wish to see an example the documentation's structure, please read a fully-documented part such as the [[:Category:image|image category]], or "[[gc:drawString]]", from the [[:Category:gc|gc category]].
| + | An overview of the TI-Nspire Lua Scripting API is available here : [[Overview of the API]] |
| | | |
− | '''News''' : TI released on June, 7th 2012 its Nspire OS 3.2, which improves the Lua API. You can see [[Changes in OS 3.2|what's changed here]]. | + | '''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]]. |
| | | |
| == Categories == | | == Categories == |
| | | |
− | {| cellspacing="0" cellpadding="1" class="wikitable" style="width: 300px; height: 603px;" | + | {| 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 23: |
Line 31: |
| | 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 60: |
Line 69: |
| | 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 |