Flying planes in Microsoft Flight Simulator with a JavaScript autopilot (2023)

The content discusses how to create a web page that can control an autopilot in Microsoft Flight Simulator 2020 using JavaScript. The author explains that the web page can interact with the game through SimConnect and web sockets, allowing for functions like toggling in-game settings and flying the plane from the web page. The process involves setting up an API server, a web server, and connecting them to the web page. The six-part tutorial covers topics such as visualizing flights, writing an autopilot, using Google maps for plane navigation, testing and refining the code, and even making JavaScript fly the plane.

The author’s voice is casual and humorous, making complex technical content more accessible and engaging. The tutorial includes unconventional methods and creative solutions, such as using the socketless library for client/server management and creating a “JavaScripty” API wrapper. Overall, the content provides a comprehensive guide on integrating web technology with flight simulation software to create unique and interactive experiences.

https://pomax.github.io/are-we-flying/

To top