VisualPinball / VisualPinball.Engine.Mpf

Mission Pinball Framework support for VPE
MIT License
0 stars 1 forks source link

Make it work™ #4

Closed freezy closed 3 years ago

freezy commented 3 years ago

This PR adds the basic wiring to make the communication between MPF and VPE work. It needs the feature/mpf branch of VPE to work (which contains the hardware rules implementation). MPF and VPE in action:

https://user-images.githubusercontent.com/70426/110865444-eb216500-82c3-11eb-8f2a-26eb7250b5ca.mp4

The test app now listens to keys. Use S/A to turn the left flipper switch on and off. ESC to exit.

In Unity, you can now pull the MPF machine description into the editor, and it shows the results in the inspector.

During gameplay, switches and coils are hooked, although coil pulses still need to be implemented.