5

Hi webdev here, who would like to start developing 2d indie games. My main language is JavaScript. Is there any way I could start developing games without learning a whole new language?

Comments
  • 2
    You can definitely write games in JavaScript for HTML5/canvas.
  • 0
    Or if you wanna really go all-in, you can code Unity with js.
  • 1
    @devios1 so you mean by just using the canvas an js? Yes I could do that but I was thinking of games that don't run in browsers. Is there any way to make like desktop games in JS? Or should I learn another language for that
  • 3
    @mightyleguan Your best bet for that is Unity. It's cross-platform and JavaScript is one of its supported languages. Unity is a serious game engine and a lot of professional games are written in it.
  • 1
    @devios1 thank you, I will try it
  • 0
    What's the matter with learning another language ? It's just syntax, it's not like you'll use Haskell.
  • 0
    @willol probably because he wants to spend his mental effort on writing his game and not figuring out all the intricacies of a new language.

    Learning Unity is going to be hard enough; better to do it using a language you already understand.
  • 0
    Unity.
  • 1
    I've been thinking about using html/canvas with js and electron to build a 2d game that'll run cross platform. Just starting with electron so I'm not sure how feasible it is.
Add Comment