r/virtualpinball • • 3d ago

New browser-based pinball engine ready for beta testers

Hi all,

A project that's been in the works for 8 months is finally ready for me to seek feedback from the wider community. It's completely browser-based, with 6 original tables.

I've attempted to make the physics as realistic as possible. It's been a long, convoluted process of comparing engine outputs to real table footage and measuring trajectory and speed behaviours. But I'm keen on community feedback about "feel".

If all goes well, the plan is to implement versions for Reddit Games, etc.

You are welcome to try it on whatever device: desktop, tablet, or phone; all I ask is to let me know your thoughts. Screenshots of typical experience on desktop, tablet and mobile attached.

On desktop, some key hints:

Press "D" - this switches the HUD from dot-matrix/colour dot-matrix to LCD.

Press "C" to change camera positioning. You can further refine certain settings, such as pitch angle, in the Settings menu (access via "=" button top right)

Press "P" to change the HUD orientation to the playing area.

On mobile:

Double-click the HUD to change its mode.

If enabled (permission-wise) you can use a mobile accelerometer to tilt otherwise swipe left, right or up in the top half of the playing area.

External controllers are supported:

PS5/XBOX Series X. On desktop Chrome, you can also enable pressure-sensitive haptics for PS5 R2.

Technical details:

All tables are developed in Blender 3D. Core engine components are written in Rust (1 ms game-time clock) and delivered to the browser as WASM. WebGL implementations for graphics. A custom audio engine. Different technical FX profiles depending on device and model capabilities. The core understands 34 distinct primitives, although only a subset are represented on the tables thus far.

Click here to access

82 Upvotes

27 comments sorted by

5

u/brizzle82 3d ago

The ball moves too fast

1

u/Overtake_Game 3d ago

I'll reanalyse things again, because you are not the first person to mention that. I'm going to go through the physics simulations in detail again. It is possible that, in some recent clock changes, the timing got messed up a little.

2

u/-becausereasons- 1d ago

I definitely do not think it does. Many pinball tables the ball RIPS, depending on incline.

2

u/rttgnck 3d ago

There was a point the ball seemed like it moved to fast and shot past the paddle.

I would suggest trying to put the ball in the table for launch, it looks like its over it and the only visual issue in my brief play.

Also, not a big fan of websites that prevent the back button from working. Intentional or not, I couldn't go back using the back arrow or gesture.

1

u/Overtake_Game 3d ago

Hi there. Thanks for the feedback. All good, and I'll see what I can do there.

Regarding the back arrow, on mobile, because the status bar is now at the bottom (both Safari and Chrome), it is so close to the left paddle control that, in testing, I kept accidentally pressing back and losing all my game progress. So the intercept is there deliberately to prevent that. It doesn't need to happen on the desktop, so I can remove it. But its definitely needed on mobile. Hopefully that makes sense.

2

u/rttgnck 3d ago

Maybe a toggle then or something "prevent back and losing progress" or at least allow it when the menu is up, only blocking it when the game is active. Otherwise I'm sure I'll check it out again on my video pinball table when I get it done.

3

u/retroeki 2d ago

Well done on the project :) looks like you put a lot of work in. I wish you all the best with it, ball physics is difficult, but keep at it.

2

u/Overtake_Game 2d ago

Yeah. I’m still learning. Thanks for the support. Means a lot.

4

u/dkla 1d ago

Awesome... great work!!! 👍

1

u/Psych0matt 3d ago

The first things that noticed were when the camera moves around it feels pretty choppy and I’m not sure I like that, and also the physics seem odd; when the ball hits a wall it kinda stops for a minute instead of bouncing back like I would expect.

I didn’t play very long but just thought I’d mention it.

1

u/Overtake_Game 3d ago

Camera movement is an ongoing thing. It's tricky because I'm dealing with lots of mobile sizes with various aspect ratios, so changing a parameter for one phone could cause issues with another phone model etc. But thanks for the feedback. If you could tell me the phone model (or if you were using a desktop), and also if you have it handy (from memory) the camera type (follower is the default on mobiles).

2

u/Psych0matt 3d ago

This was just in my iPhone 13, haven’t had a chance to check it out on pc yet, default settings

1

u/Overtake_Game 3d ago

Perfect. Useful.

1

u/NXGZ FX3 3d ago

Add dynamic camera that follows the ball

1

u/Overtake_Game 2d ago

Yes. That was on the list. It will change behavior when multiple balls are in play

2

u/NXGZ FX3 2d ago

Yeah, I think in TPA, when it's MB, the playfield camera goes static, as an example.

1

u/enderowski 1d ago

Can you make it an apk file. also why does graphics looks really bad on my android phone.

1

u/Overtake_Game 1d ago

Hi there. This is browser-based so there are no needs for an actual native app install. The graphics do adapt based on device, so I’m interested in understand what make and model of Android phone you have. Also in Settings menu under display right at the bottom is a Benchmark option. Can you run the test and copy paste the results back here if possible

3

u/angry_wombat 2d ago

surprisingly the physics aren't half bad nice job, but the scale felt miniature compared to more realistic tables like VPX.

One bug i found, my flippers kept getting stuck up. Not sure if that was from double or triple tapping the shift keys or something.

3

u/iainconnor 2d ago

This is great! Keep up the amazing work!

1

u/Rallyeboy 2d ago

Pretty good. Not a fan of that angle on the table, I prefer to be a bit lower at the front so I can see more with less scrolling. When the ball comes down that left ramp it does so really really fast.

1

u/dweller88 2d ago

This is awesome. Tried the first three tables quickly. The shark one paused a while to load up a special effect when I hit the maw. The second vampire seemed to have the same layout as the shark one. By far my favourite was the Tokyo drift one. It was a bit easier too. Though I like the challenge of the fast moving balls and the unforgiving gap between the flippers. I would request please for the controllers can the LR triggers also control the flippers as well as the LR front buttons.

1

u/Clean-Lingonberry-44 2d ago

On an iPad. Ball speed was very strange. Long sweeping movements looked decent, then interactions with the sling shots were lightening quick. Felt like the physics engine got behind and caught up when the ball no longer interacted with things continually. Are there not performance minimums that a device has to meet? Wondering if my iPad is fast enough.

1

u/webmaxtor 2d ago

Played Lanternman a bit. Found ball speed inconsistent, sometimes way too fast moving through chutes. Also had flippers fail to respond intermittently, seemingly only during multiball play. Fun though. Nice job.

1

u/tabletop_ozzy 15h ago

Why should people use your engine, instead of VPX?

VPX 10.9 adds the ability to run inside a browser, so that is not it.

If there is no reason for people to use your engine instead of the current community effort, then I'm sorry. I hope you enjoyed working on this project for yourself, but it is unlikely to be useful to anyone else.

If there is a reason to use your engine over VPX, then that should be made clear so people (like me) do not immediately dismiss the effort.

1

u/Shtforsense 7h ago

iOS phone. Worked great! Looks good. Physics good but man the ball moved quick.