question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Need advice for a new pinball simulator

See original GitHub issue

Hi,

We’ve started a few months ago porting Visual Pinball to Unity. There are a few reasons for that, besides using a current-gen render pipeline and cross-platform support, we also want to make it easier for authors to create new tables by extending Unity’s editor.

And, you guessed it, we want a modern scripting engine that facilitates programming game logic for original table creations.

Over the past months I’ve spent a few hours reading MPF’s excellent documentation, and I really like the declarative approach of MPF’s config files. Ideally, you would load an MPF config file into our sim, and given the playfield elements are named correctly, it would just work™.

Now, the most obvious question to me is whether to integrate completely with MPF, i.e. somehow interface C# with Python, or re-implement a “light” version of MPF that doesn’t handle all the issues you hardware guys need to deal with.

I’m probably vastly underestimating the effort of the latter, so I would like to have your opinion on that. For the former, becoming a rather sophisticated sim, we have a time budget per frame, so performance could be an issue.

Our project is called “VPE” for Visual Pinball Engine. It can read and write the .vpx format, and the goal is to keep a level of backwards-compatibility. Visual Pinball’s physics engine is highly regarded in the virtual pinball community, so we’ve ported it to C# using Unity’s new DOTS technology. The renderer uses Unity’s new HDRP. You can see an 1:1 import of the Tom & Jerry VPX file into VPE here. There are more screenshots here, and if you’re interested in what the virtual pinball community has to say about it, check this thread.

Looking forward to hearing from you!

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:45

github_iconTop GitHub Comments

1reaction
freezycommented, Mar 10, 2021

This is a milestone, so I’m posting it here as well:

https://user-images.githubusercontent.com/70426/110706758-a250aa00-81f8-11eb-93dc-3121d9d9c3d5.mp4

Once we get the game part stable, we’ll discuss the media controller, but I’m pretty happy already how it runs.

1reaction
jabdoa2commented, Oct 17, 2020

I need to implement that first. Currently, that is not implemented. GRPC either needs one endpoint per side or you need to use streaming. That will require some API changes. I will look into that tomorrow.

Read more comments on GitHub >

github_iconTop Results From Across the Web

New to Pinball? A Non-Comprehensive Guide on how to Pinball
Most machines have a start button on the front of the machine, push it and play! Want to play against friends or a...
Read more >
Advice needed, considering a virtual pinball... | Museum of the ...
I've been contemplating selling them in favor of possibly getting a nice virtual pin. Here's my dilemma. I want something nice and professionally...
Read more >
[Update: Released] Tips and Tricks to consider when you are ...
Even though we have a week before the new Portal themed pinball table from Zen Studios arrives for all platforms including Android, ...
Read more >
Which pinball machine is the best for me? - Pinside.com
You will want to keep a couple GoldMine entry's around.Will retain value if you take care of it. TOM is a great game,...
Read more >
15. Pinball Software Setup - Pinscape Build Guide
The main software you need, of course, is the pinball simulator. To take advantage of the special features of a cab, you also...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found