Jump to content

  • Log In with Google      Sign In   
  • Create Account

Best way to showcase a game made in Python/Pygame


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
7 replies to this topic

#1 anshbansal   Members   -  Reputation: 115

Like
0Likes
Like

Posted 13 October 2013 - 10:00 AM

In case a game is made using web base things then it is very easy to showcase them. It can be done on heroku. But in case the game is made using non-web things like Python then how to showcase the games? Like if I make a game like Pong how to showcase it? Distributing source code isn't the best idea. So how can that be done?

 

Any ideas?



Sponsor:

#2 ultramailman   Prime Members   -  Reputation: 1571

Like
0Likes
Like

Posted 13 October 2013 - 12:08 PM

There are a few ways to do that:

1. py2exe

2. distutils

3. just distribute the source code

 

I think distributing source code would be easiest. It's one less thing to worry about.



#3 anshbansal   Members   -  Reputation: 115

Like
0Likes
Like

Posted 14 October 2013 - 07:41 AM

By showcasing I meant showing it running somewhere. Like games in HTML/CSS/JavaScript can be made into a website. Is there something like that available for Python/Pygame?



#4 Karsten_   Members   -  Reputation: 1603

Like
1Likes
Like

Posted 14 October 2013 - 11:35 AM

A website with pictures, an embedded video and downloadable 32bit Windows exes or perhaps an Android APK* of the game is usually your best bet.
This also has the added benefit of letting your viewers get a local copy of your game to pass around so not having to worry about internet streaming which is quite a benefit (whereas many web games need internet or a small local html server (like mongoosehttpd) to be provided). Or even worse, they need horrible web plugins**!

With Python, you might want to use a packaging system since Python isn't very common on Windows machines for a typical user. If you can modify your install of python to be portable, then you might have some luck creating a self extracting .exe using WinRAR.

Emscripten (C/C++ to Javascript) compiler can compile a Python interpreter so depending on what dependencies your game uses, you might be able to get it running on a webpage too.

* Android is the most common tablet OS (rivaling even that of desktop systems) and seeing as you are not trying to sell your showcase game (at this point in time) your viewers can sideload it without the faff of developer certificates from something like iOS or Metro.

** I am looking at you, Unity web player! Though the developers are currently working on a WebGL javascript exporter using Emscripten.

Edited by Karsten_, 14 October 2013 - 11:46 AM.

Mutiny - Open-source C++ Unity re-implementation.
Defile of Eden 2 - FreeBSD and OpenBSD binaries of our latest game.


#5 ultramailman   Prime Members   -  Reputation: 1571

Like
0Likes
Like

Posted 14 October 2013 - 02:53 PM

By showcasing I meant showing it running somewhere. Like games in HTML/CSS/JavaScript can be made into a website. Is there something like that available for Python/Pygame?

In that case, there's probably no way to do it using pygame. Pygame is a wrapper for SDL, and I don't think SDL can be embedded into a web page.



#6 dejaime   Crossbones+   -  Reputation: 4027

Like
0Likes
Like

Posted 15 October 2013 - 12:37 AM

If you want a playable browser demo using pygame, I can't think of how that would work.

 

Given your target is web, you should consider HTML5, Java Applets or Unity (bulky plugin tho), instead of python.

If you already have the game, but you only want to showcase it, try making a gameplay trailer and posting it along with a download link for an exe demo somewhere.


Edited by dejaime, 15 October 2013 - 12:38 AM.


#7 Karsten_   Members   -  Reputation: 1603

Like
0Likes
Like

Posted 15 October 2013 - 02:46 AM

In that case, there's probably no way to do it using pygame. Pygame is a wrapper for SDL, and I don't think SDL can be embedded into a web page.

 

The following example shows an SDL (C++) program compiled using Emscripten to run on a web page.

http://mutiny3d.org/doku.php?id=demos:postprocessing

 

It can be done, the question is if the python interpreter (when compiled via Emscripten) can utilize the port of SDL. For this you might want to ask on the Emscripten mailing lists.


Edited by Karsten_, 15 October 2013 - 02:47 AM.

Mutiny - Open-source C++ Unity re-implementation.
Defile of Eden 2 - FreeBSD and OpenBSD binaries of our latest game.


#8 3Ddreamer   Crossbones+   -  Reputation: 3156

Like
1Likes
Like

Posted 15 October 2013 - 03:02 AM

Youtube videos get many views if the title of the video is chosen carefully.  Windows movie maker works well and easy to learn in my opinion. There are tutorials on how to make Youtube videos and upload them.  Many game developers use this as a hook and provide a link to a demo website under the video in the description. It is wise to have a demo version of the game and let them have at it. If they like it enough then they will want the full version.  Standards are 5 or 10 minutes of play in many cases. So look for host websites for games. 


Personal life and your private thoughts always effect your career. Research is the intellectual backbone of game development and the first order. Version Control is crucial for full management of applications and software.  The better the workflow pipeline, then the greater the potential output for a quality game.  Completing projects is the last but finest order.

 

by Clinton, 3Ddreamer





Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS