D
D
Denis2020-03-12 09:24:59
Python
Denis, 2020-03-12 09:24:59

How bad is it to use Python to make browser games?

I had a couple of free weeks, I wanted to make a browser game, I am almost not familiar with JavaScript, but I have been working with python for a very long time, is it worth using it for this or am I just suffering?

Answer the question

In order to leave comments, you need to log in

5 answer(s)
S
Sergey Pankov, 2020-03-12
@trapwalker

As a backend - norms.
There is no python on the front. Unless you consider some handicraft transpilers like this: https://github.com/replit-archive/empythoned
But with them you suffer so much. Or rather, judging by what and where you ask the question, you won’t succeed.

A
Antonio Solo, 2020-03-12
@solotony

python is normally used as a backend (it seems to be exactly what it is in wargaming)
and in the browser itself - there is only JS. you can’t upload a python there, it
turns out you can

A
Andrey Dugin, 2020-03-12
@adugin

If you want to tinker with Python in your browser, you can take a look at Brython .

A
Andrew Nodermann, 2020-03-12
@Lucian

Every task needs its own tool. Python is undoubtedly a good language, but its scope is limited. If you want a game in the browser, then only JS. But writing in pure JS is suicide, to reduce development time use Vue , it will give you the same conciseness and flexibility as Python, in addition, there are a bunch of modules for Vue, including those for working with WebGL , but for simple games it is better to use canvas .

B
beduin01, 2020-03-12
@beduin01

If you are not familiar with JS, but you know Python, then take Dart and the game framework from pub.dev

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question