Nasal introduction
Jump to navigation
Jump to search
Sandbox for starting a beginner's introduction to Nasal scripting:
- http://forum.flightgear.org/viewtopic.php?f=30&t=8995
- http://forum.flightgear.org/viewtopic.php?f=30&t=8867
At the moment (10/2011) this is more or less a collection of ideas that shall eventually be covered, if you have any other ideas/requests, please feel free to add them here. Also, if you'd like to get involved in updating and improving the existing documentation, please just go ahead, too!
Suggested topics include:
- various options for loading and starting Nasal
- Nasal variables
- Nasal arrays
- Nasal hashes
- nested data structures in Nasal (multi-dimensional arrays and such)
- control loops, Nasal control structures
- using the Nasal standard library
- using the Nasal FlightGear library
- Nasal access to the property tree
- geospatial computations in Nasal
- simple physics problems in Nasal
- Nasal in GUI dialog files
- Nasal in scenery XML files
- spawning and controlling 3D objects in Nasal
- spawning and controlling AI objects in Nasal
- creating scripted instruments in Nasal
- creating subsystems in Nasal
- creating FDMs in Nasal
- commmon problems and solutions in Nasal
- exception handling in Nasal
- multiplayer scripting in Nasal (mp_broadcast.nas)
- object oriented programming in Nasal
- Howto: Functional programming in Nasal
- multi threaded programming in Nasal (worker threads)
- Howto: Continuation-passing style programming in Nasal (threading related)
- Howto: Neural networks in Nasal
- Nasal optimization and efficiency hints
- Known Nasal issues (known bugs and shortcomings)