Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Russion: как опубликовать на itch.io игру созданную на python? English: How to publish a python game on itch.io?

A topic by programmer itch.io created Jan 14, 2021 Views: 348 Replies: 9
Viewing posts 1 to 2
(1 edit)

Помогите!!!

Help me!!!

Moderator

The same way as any other game? Package it in a Zip archive and let players know that they need Python to run it. Or else you can use tools like pyInstaller and cx_Freeze to make an executable that contains the Python interpreter and your game.

the game must be opened from the browser

Moderator

A browser game made in Python? Okay. It still needs to have an index.html file like any other. Just put it all in a zip archive and upload it. Set the type of project to HTML5, and tick the checkbox that says "this file will be played in the browser" next to your upload. Hope this helps!

Deleted 4 years ago

I don't know how to make index.html

(2 edits)

I kind of made index.html, but something is missing.

here:

<!DOCTYPE html>
<head>    
<title></title>
</head>
<body>
</body>
</html>

you alive??

Moderator(+1)

I didn't get any notifications because you deleted a post. If you don't have an index.html and you don't know how to make one, then I don't see how your game is supposed to run in the browser. Maybe just offer it for download.

(2 edits)

if you know, can you write exsample HTML code please?

Moderator(+1)

...No? It depends on your game. Again, how was your Python game supposed to run in the browser?

This topic has been auto-archived and can no longer be posted in because there haven't been any posts in a while.