Can Js be used in game developing? | SoloLearn: Learn to code for FREE!

+91

Can Js be used in game developing?

Hi,i'm a javascript developer and i would to make games in javascript. The potencial of this language are very big,so, can i make a game in javascript and then convert this in Android,desktop and IOS app? Maybe this language isn't the better language for game developing,but to me,js can make really good games.What do you think?

3/25/2018 12:11:54 PM

Michele di Biase

123 Answers

New Answer

+77

Yes , you can develop games through JavaScript. And for making it into android app you can use this thread post by Krishna Teja Sir. https://www.sololearn.com/discuss/914055/?ref=app https://www.sololearn.com/learn/1439/?ref=app C# with Unity is best for making android games.And JavaScript can also be best for developing games.

+31

You could use HTML5/CSS/JavaScript to develop a web game then simply create your Android app by using a webkit control and either embedding the game as a resource in the app or pointing it to an online location. See https://html5gamedevelopment.com for more info.

+27

Maybe you can find some information here https://electronjs.org https://www.nativescript.org https://stackoverflow.com/questions/12232784/how-to-develop-desktop-apps-using-html-css-javascript https://www.google.si/amp/s/www.valuecoders.com/blog/technology-and-apps/top-javascript-frameworks-for-mobile-app-development/amp/

+25

Js games are surprisingly simple to make given you have an understanding of basic algebra and trigonometric functions. I made one not long ago it was fun. https://code.sololearn.com/Wrn4EAC9gEBP/?ref=app

+20

if you want to develop games for android it's maybe better to learn java and kotlin which is official language for android

+17

Unity Engine support C# and UnityScript as scripting languages. UnityScript is very similar to JavaScript.

+15

Thanks for the answers

+13

yep you can use it with Unity game engine .

+12

As other users said, you can convert your JS to anything else that works on PC, smartphone and tablets, often w/h huge performance limitations but since Javascript is built to run on browsers, i recommend to check this video out from minute 22:58 to 27:05, something great is happening in the JS world and maybe in a few years we will be able to play high quality games enjoying the same experience of console/desktop games... i'm too optimistic though. https://youtu.be/EZpdEljk5dY

+11

@Emmanuel Appiah Cudjoe. JavaScript is most definitely not outdated. If anything it has been improved over the years particularly with its standardisation as ECMAScript. JavaScript's use in web aplications is ubiquitous. Granted it would not be my first choice of development language outside of a web application.

+11

Yes, you can develop games in javascript. If you use unity to make a game, it will also be cross-platform and javascript used will be called unityscript which is slightly different from original language.

+11

JavaScript adds interactivity in websites, if interactivity is a huge portion of games, JavaScript can make games.

+9

Yes, there is a game engine called Unity which supports both C# and javascript (unity script) for scripting purposes. Unity is beginner friendly and super fun to start with. With options available to build your game to almost every platform including consoles, phones, VR, AR, ebook readers etc. Get Unity here: www.unity3d.com

+9

Yes, obviously you can. With HTML, CSS and JS you can make a really beauty game!

+8

well, u can use HTML CSS and JavaScript to make and develop games later u can change. js is the best.

+8

Actually, you can use Electron too. It is an amazing framework that lets you transform your html/css/js into. exe. Try it here: http://electron.io/ And for the android/iOS apps try: http://ionic.io/

+8

Yep it can be used in game developing

+8

yes. look at Phazer. It's very cool for make game in multiple devices.

+7

Aftab Shaikh yes you can learn JavaScript for making apps but with Html and Css intermixed with them. But I will recommend Java and Kotlin for developing android apps. Else these links and threads can help you which are provided by honorable Krishna Teja Sir. https://www.sololearn.com/discuss/914055/?ref=app https://www.sololearn.com/learn/1439/?ref=app C# with Unity is best for making android games.And JavaScript can also be best for developing games.

+7

Aftab Shaikh here are some links maybe these can help you. https://code.tutsplus.com/articles/java-vs-kotlin-should-you-be-using-kotlin-for-android-development--cms-27846 https://www.quora.com/Should-I-learn-Java-or-Kotlin-in-order-to-develop-Android-apps