Jump to content
Airbus5717

Which prog.Languages

Recommended Posts

You have a few options:

The X-Plane SDK itself is written in C so you can dive right in by writing C/C++ plugins, Totoritko(developer of the TBM) has a great open source library built on top of the Xplane SDK that provides a ton of super handy libraries for various things. It's available here: https://github.com/skiselkov/libacfutils

There's also some basic tutorials/examples available from X-Plane themselves: https://developer.x-plane.com/sdk/plugin-sdk-sample-code/

You can also use a socket based approach where you would write a "bridge" C plugin and by communicating with that bridge using UDP from whatever language you want, this is a bit overkill and I only really makes sense if you really really badly want to use a certain language *OR* you want to make your addon easy to port to multiple simulators. I would ignore this if you're just getting started but it's good to know about all the options out there, an example of this being done is available here: https://github.com/nasa/XPlaneConnect

Both of the above are only suggested if you have a decent amount of C/C++ experience.

If you are not that gifted code-wise you have the option of using either SASL or Gizmo, they both use a scripting language called Lua. I don't really have any experience with these but they have both been used to develop very well known aircraft in X-Plane, plenty of info is available on them through a quick Google search.

Best of luck! 🙂

Edited by CianMC

Share this post


Link to post
Share on other sites
3 hours ago, Airbus5717 said:

Also somebody is make Java Bridge too 
wondering if C# or F# work too ?

I'm a member of the team writing that Java bridge(although I'm not involved with that side of the project, my focus is more on the navigation systems for our aircraft), it won't be ready for the public for awhile since our main focus is getting our addon done. But yes, it is possible to use any language with X-Plane, but it requires a bit of work to create the native bindings for it to work.

Edited by CianMC

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    No registered users viewing this page.



  • Current Donation Goals

  • Threshold News

  • Threshold articles

  • Threshold clubs

  • Top Downloads

    1. By Captain Kitten
         46,829   80
    2. By Captain Kitten
         23,976   12
    3. By Xephyr
         2,616   5
    1. By Captain Kitten
         46,829   80
    2. By Captain Kitten
         27,209   12
×
×
  • Create New...

Important Information

Please read the Terms of Use