BabylonJS based games on Steam

Has anyone created a game in BabylonJS and sale it via Steam? Any experience?
Thank you!


Yes, there was one!

This is the message from the old forum - BABYLONJS APPS on STEAM... and beyond. - Announcements - HTML5 Game Devs Forum


@RaananW thank you!
I’ve bought it just right now but unfortunatelly it has several issues and well it’s quite outdated but I’ll not apply for a refund, the author deserves a beer for his effort :stuck_out_tongue:

Is Electron the recommended way to create an executable BJS app? Or are there any other better approaches?

Thanks a lot!

1 Like

Those were my thoughts exactly when I bought it 3 years ago :slight_smile:

Babylon native FTW! :slight_smile: but until then, yes - electron is probably the safest bet. I guess others might have a different answer?

1 Like

I have some doubts about Babylon Native, since it kind of feels like you need to write different applications for web and desktop? For example, can you use React/Vue as an UI framework with the Babylon Native? Can you use other JS libraries?

Not sure if I understand enough of the Native project still though :smiley:

Well, you can certainly use React Native! :slight_smile:

Babylon Native is not a replacement to a view/web framework. it is a replacement to the WebGL engine. Web frameworks are not needed to render babylon, they are the container that holds a babylon scene. I don’t see the reason to use Vue to create a native application. There are native view frameworks for that.

1 Like

I’ve finally installed BabylonJS Native and all required dependecies (phew… it took me one hour+ to figure out what dependecies are required) and sucessfully ran the Playground app. However I am a bit lost how to proceed with my own app. What is the entry point for the BabylonJS Native app? I couldn’t find anything in the docs about this or I may have missed something :frowning: Could you please shed some light on this? Thanks a lot!

EDIT: For someone trying to get this working with VS2019 this is working for me:

cc @syntheticmagus

1 Like

Babylon Native is kind of hard to get started right now. Maybe Babylon React Native would be an easier starting point.

What is the entry point for the BabylonJS Native app?

There are different entry points for different platforms. For example, App.cpp is the entry point for Win32. They all eventually go into experience.js which is where the code using the Babylon.js API will live.

Does that help? :thinking:

1 Like

Add v8 to the clr
.GitHub - microsoft/ClearScript: A library for adding scripting to .NET applications. Supports V8 (Windows, Linux, macOS) and JScript/VBScript (Windows).

DOM shim on top of glfw
.GitHub - node-3d/3d-core-raub: An extensible Node.js 3D core for desktop applications

.GitHub - c-smile/sciter-sdk: Sciter is an embeddable HTML/CSS/scripting engine

Add js to dart vm (probably easiest and slowest)
.flutter_js - Dart API docs

Electron steam integration
.GitHub - greenheartgames/greenworks: a node.js plugin to integrate nw.js/electron games with steamworks

1 Like

Guys, thank you very much for all the valuable information! :muscle: I will go through all the links provided.

I thought I am starting to get oriented in the world of babylonjs but your knowledge is absolutely epic compared to mine (obviously :joy:) and I realize that I can see only the top of the iceberg!

Kudos to all of you! :vulcan_salute:

Thanks again!

Yes, it does! :blush: I will definitely go deeper, but I think the best is to opt for Electron, as @RaananW has suggested! I use Quasar to build all my apps, so it is really easy to target Electron.

If I will be able to put the game on steam you will all receive a free copy with special badges available only to you :stuck_out_tongue_winking_eye: the game is a rewrite of a 40 years old arcade game and I am already negotiating with the copyright owner. If the negotiation fails, I will open source the project (I will open source it after a time period anyway). Thank you! :vulcan_salute:

One thing to keep in mind is that apple doesn’t allow dynamically compiled code on the app store. A lot of cross platform solutions cater to that (quickjs), but aren’t at all the fastest/best solution. If you can target desktop only, electron ftw.

1 Like

Yes, desktop only :+1: