4

Is it possible to make native 3D games (like cs:go, call of duty, battlefield, etc) with Javascript? I want to create a game that will not be played in web browser, but be installed and played on user machine like every game.

3 Answers 3

3

I'll use Babylon.js.

I've found some free tutorials in youtube and I think I can use Electron.js to run as a native desktop game

2

You can check three.js, which is a Javascript library that helps you to build 3D Games. Although it doesn't quite fulfill your condition, as it also runs on a web browser.

I am not quite sure about building native games with javascript, but you can use electron.js to make a desktop application of your javascript game.

1

I recommend Unity 3D.

Learning is very intuitive.

With a single code you can run on Browser, Mobile, PC and if you can get a development kit even on Game Consoles.

Look at some simple examples in browsers:

Now a list of great games made with Unity:

And to conclude, the framework is free, and it has a website for several free and paid assets:

Here a course Unit with JS (I think it is mostly used in C, but it works perfectly in JS):

I hope I have helped, and may this motivate you!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.