Started by sysrpl on 11 November 2026
I have been working to add features, squash bugs, and improve the performance of my Linux pinball simulation engine this week. It will be fully FOSS, but it needs some more work before it's ready for an initial release. I hope to show it at the 2026 IAAPA Expo next week to some vendors to gauge their interest in support of Linux and FOSS.
Here are some of the things I completed recently:
What comes next is better physics, adding an upper playfield to the demo, adding in my voice character lines and more art on the table. I will be writing a table creation guide and providing a Typescript define file for programming your own tables. I am working on a way for typescript to make their own DMD display animations and would like to work on a dual monitor backglass system.
I am looking for anyone that want to help with table art for this and few other demo tables. Message me or send an email to my account at sysrpl@getlazarus.org.
Hi, great, I have a question: ever since I played “Pingball Dream” on the Amiga a very long time ago (and Arkanoid even before that), I’ve been trying to figure out how the physics work in a pinball game. I’ve seen several tutorials, and some use pre-calculated bitmap images to figure out the angle or something like that. Some source code was published, but it was in assembly language… What method do you use (I’m terrible at math)?
Best regards,
WCDR
I foolishly started writing my own physics eninge last year. I had previously been writing phyiscs for pool tables and was able to create a realistic simulation without too much problem, then I started more working on this simulation physics seriously in March of 2025. I wrote a tool to test out various materials using my own engine that seemed to work well enough:
But then when I bought it into an actual table with ramps and curves, it fell apart. This year I decided to switch to Jolt, and it seems to work. If you are curious about the math, it's all linear algebra.
Thanks for the answer! So, the physics is in 3D, and the good news is it's built with C++/CMake, though it seems to use heavy computation?
From the late '90s into the early 2000s, I worked as a lead developer at a French company.
Here's my PoC to get the job page 1 image 6: https://drive.google.com/file/d/1RIb_lC5LY4huwzEAHWswPc1brz8oZMPl/view?usp=sharing.
But whenever I ran tests a few years ago, I got the exact same problem a lot of FPS games back then had: during lag, the character could pass right through walls.
With my FPS PoC I could fix the problem, but with balls it was touchy, and when running on Android it became a real problem.
Do you know any tricks to deal with this?
Bonus: I assume you know the tricks, but using a simplified version of the geometry for collisions really speeds up the process.
I was originally writing my own physics engine, and it was very fast. The problem is modern physics engine like Jolt solve the problem where objects intersect with each other between steps in a way that I was not. I eventually just gave up and swich to Jolt. It's still got issues, and I do a lot of simplication of meshes in the similation for walls, ries, bumpers, games, rubbers, and what not, but in real life it is much easier to sue a flipper to send the ball down a lane than it is on a computer.
I dneded up rinning simulation after simulation, adjusting settings, recording successful shotsm and the timing is terrible. For example you have an 18ms window when the ball is rolling down the flipper to shoot the orbit. I think I can fix this by changing my table desin to give wider lanes, but I am at 38mm witha flared opening. That ought to be wide enough.
Anyhow, yes I am using tricks, but the phyics are proabably the hardest thing to make feel correct in a pinball simulation. I will keep working on improving them.
Thanks for the information. Good luck with your project. See you later.
Texto de getlazarus.org tal como lo publicó, leído de su página y mostrado aquí con el formato de El Autómata. El original, en getlazarus.org · Volver a la noticia de El Autómata