You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
NanoVG demo to show how to draw a custom Gauge in an aircraft.
3
+
4
+
* Compiles to WASM to be [loaded by MSFS](https://docs.flightsimulator.com/html/mergedProjects/How_To_Make_An_Aircraft/Contents/Instruments/Creating_WASM_Gauges.htm).
5
+
* Similar to how the MSFS Sample [GaugeAircraft](https://docs.flightsimulator.com/html/Samples_And_Tutorials/Samples/SimObjects_Aircraft/GaugeAircraft.htm) works.
6
+
7
+
#### Building
8
+
```bash
9
+
$ cd examples/nvg
10
+
$ cargo build --target wasm32-wasip1
11
+
```
12
+
#### Running
13
+
To see it in action you have to load an aircraft into MSFS which uses the compiled wasm file.
14
+
15
+
[MrMinimal's Rust Aircraft Template](https://github.com/MrMinimal/msfs-rust-aircraft) shows how that can be done.
16
+
17
+
---
2
18
3
19
## Client Data
4
20
SimConnect demo to show how a standalone application would interact with MSFS.
5
21
22
+
---
23
+
6
24
## Log
7
25
SimConnect demo printing data from MSFS in a standalone application.
8
26
9
-
## Nvg
10
-
NanoVG demo to show how to draw a custom Gauge in an aircraft.
27
+
---
11
28
12
-
* Compiles to WASM to be [loaded by MSFS](https://docs.flightsimulator.com/html/mergedProjects/How_To_Make_An_Aircraft/Contents/Instruments/Creating_WASM_Gauges.htm).
13
-
* Similar to how the MSFS Sample [GaugeAircraft](https://docs.flightsimulator.com/html/Samples_And_Tutorials/Samples/SimObjects_Aircraft/GaugeAircraft.htm) works.
29
+
## Other Projects / Aircraft
30
+
If you want to see msfs-rs fully integrated in working aircraft
31
+
*[FlyByWire A32X and A380](https://github.com/flybywiresim/aircraft)
0 commit comments