<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: Creating a game with PyGlet and Python</title>
	<atom:link href="http://www.learningpython.com/2007/11/10/creating-a-game-with-pyglet-and-python/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.learningpython.com/2007/11/10/creating-a-game-with-pyglet-and-python/</link>
	<description>one man's journey into python...</description>
	<pubDate>Fri, 25 Jul 2008 14:10:56 +0000</pubDate>
	<generator>http://wordpress.org/?v=abc</generator>
		<item>
		<title>By: selsine</title>
		<link>http://www.learningpython.com/2007/11/10/creating-a-game-with-pyglet-and-python/#comment-91855</link>
		<dc:creator>selsine</dc:creator>
		<pubDate>Thu, 19 Jun 2008 23:44:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.learningpython.com/?p=67#comment-91855</guid>
		<description>Thanks for the tip SeaRider. I wrote this code using the Beta version of pyglet so I wouldn't be surprised if a few things have changed since then.

Thanks for letting me and the other readers know.</description>
		<content:encoded><![CDATA[<p>Thanks for the tip SeaRider. I wrote this code using the Beta version of pyglet so I wouldn&#8217;t be surprised if a few things have changed since then.</p>
<p>Thanks for letting me and the other readers know.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SeaRider</title>
		<link>http://www.learningpython.com/2007/11/10/creating-a-game-with-pyglet-and-python/#comment-91113</link>
		<dc:creator>SeaRider</dc:creator>
		<pubDate>Mon, 16 Jun 2008 21:04:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.learningpython.com/?p=67#comment-91113</guid>
		<description>I found that on running the code from the first code box, the window fails to close until you tell it to once you've exited the loop (at least, running under Windows). I put

space.close()

after the call to space.main_loop(), and it then works properly.</description>
		<content:encoded><![CDATA[<p>I found that on running the code from the first code box, the window fails to close until you tell it to once you&#8217;ve exited the loop (at least, running under Windows). I put</p>
<p>space.close()</p>
<p>after the call to space.main_loop(), and it then works properly.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: selsine</title>
		<link>http://www.learningpython.com/2007/11/10/creating-a-game-with-pyglet-and-python/#comment-62564</link>
		<dc:creator>selsine</dc:creator>
		<pubDate>Fri, 22 Feb 2008 02:11:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.learningpython.com/?p=67#comment-62564</guid>
		<description>Hi Jonathan,

Thanks for letting me know! I've added it to the tutorial list.

Hi Stephen, 

Do you still have the code around? Or could you let me know what you tweaked? If you have some improvements I would use them to update this tutorial or write a new one.</description>
		<content:encoded><![CDATA[<p>Hi Jonathan,</p>
<p>Thanks for letting me know! I&#8217;ve added it to the tutorial list.</p>
<p>Hi Stephen, </p>
<p>Do you still have the code around? Or could you let me know what you tweaked? If you have some improvements I would use them to update this tutorial or write a new one.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter</title>
		<link>http://www.learningpython.com/2007/11/10/creating-a-game-with-pyglet-and-python/#comment-60700</link>
		<dc:creator>Peter</dc:creator>
		<pubDate>Wed, 06 Feb 2008 00:20:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.learningpython.com/?p=67#comment-60700</guid>
		<description>CPU Utilisation:

I changed the FPS limit in ...clock.set_fps_limit(30)... to 10, 15, 30, 60, 90 and also uncommented the entire line and noticed some interesting benchmarks on CPU utilization. On a 1.4Mhz Pentium M laptop running Ubuntu 7.10 I got the following average CPU utilization percentages from top running in another terminal window of the python process running this game:

10 FPS  = 9.3% CPU
15 FPS  = 15.3% CPU
30 FPS  = 24% CPU
60 FPS  = 39.6% CPU
90 FPS  = 16.3% CPU
Uncommented = 7.3% CPU

It is noted that at 90 FPS and Uncommented the game window maxed out at 60 FPS.

Also noted, pyglet as it stands has a bug on linux, at least on Ubuntu 7.10, with Compiz/Beryl running. The window border frame and widget bar is not drawn and you only see the windows canvas on the screen. This severely limits the users ability to quit execution of the program without an explicit menu option programmed into the main program.

With Compiz/Beryl being enabled more and more by default on the Linux distros to provide advanced windowing features / eye-candy this may be a more serious problem.

I wonder what people on other platforms observe when trying out the same experiment.</description>
		<content:encoded><![CDATA[<p>CPU Utilisation:</p>
<p>I changed the FPS limit in &#8230;clock.set_fps_limit(30)&#8230; to 10, 15, 30, 60, 90 and also uncommented the entire line and noticed some interesting benchmarks on CPU utilization. On a 1.4Mhz Pentium M laptop running Ubuntu 7.10 I got the following average CPU utilization percentages from top running in another terminal window of the python process running this game:</p>
<p>10 FPS  = 9.3% CPU<br />
15 FPS  = 15.3% CPU<br />
30 FPS  = 24% CPU<br />
60 FPS  = 39.6% CPU<br />
90 FPS  = 16.3% CPU<br />
Uncommented = 7.3% CPU</p>
<p>It is noted that at 90 FPS and Uncommented the game window maxed out at 60 FPS.</p>
<p>Also noted, pyglet as it stands has a bug on linux, at least on Ubuntu 7.10, with Compiz/Beryl running. The window border frame and widget bar is not drawn and you only see the windows canvas on the screen. This severely limits the users ability to quit execution of the program without an explicit menu option programmed into the main program.</p>
<p>With Compiz/Beryl being enabled more and more by default on the Linux distros to provide advanced windowing features / eye-candy this may be a more serious problem.</p>
<p>I wonder what people on other platforms observe when trying out the same experiment.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stephen Johnson</title>
		<link>http://www.learningpython.com/2007/11/10/creating-a-game-with-pyglet-and-python/#comment-60035</link>
		<dc:creator>Stephen Johnson</dc:creator>
		<pubDate>Thu, 31 Jan 2008 21:47:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.learningpython.com/?p=67#comment-60035</guid>
		<description>I tweaked it so it had time-based animation, instead of frame rate-limited. Perhaps you could add that to your version? I've never considered frame rate limiting to be good game programming practice.</description>
		<content:encoded><![CDATA[<p>I tweaked it so it had time-based animation, instead of frame rate-limited. Perhaps you could add that to your version? I&#8217;ve never considered frame rate limiting to be good game programming practice.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jonathan hartley</title>
		<link>http://www.learningpython.com/2007/11/10/creating-a-game-with-pyglet-and-python/#comment-59848</link>
		<dc:creator>jonathan hartley</dc:creator>
		<pubDate>Wed, 30 Jan 2008 15:04:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.learningpython.com/?p=67#comment-59848</guid>
		<description>Hey, I loved the tutorial. FYI, it doesn't appear to be listed on your site's index of tutorials, unless I am just being dumb. Cheers!</description>
		<content:encoded><![CDATA[<p>Hey, I loved the tutorial. FYI, it doesn&#8217;t appear to be listed on your site&#8217;s index of tutorials, unless I am just being dumb. Cheers!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Web 2.0 Announcer</title>
		<link>http://www.learningpython.com/2007/11/10/creating-a-game-with-pyglet-and-python/#comment-55245</link>
		<dc:creator>Web 2.0 Announcer</dc:creator>
		<pubDate>Sat, 15 Dec 2007 20:15:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.learningpython.com/?p=67#comment-55245</guid>
		<description>&lt;strong&gt;learning python » Blog Archive » Creating a game with PyGlet and Python&lt;/strong&gt;

[...][...]</description>
		<content:encoded><![CDATA[<p><strong>learning python » Blog Archive » Creating a game with PyGlet and Python</strong></p>
<p>[...][...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Spieleentwicklung mit pyglet &#171; Wolfgang Schoch</title>
		<link>http://www.learningpython.com/2007/11/10/creating-a-game-with-pyglet-and-python/#comment-52659</link>
		<dc:creator>Spieleentwicklung mit pyglet &#171; Wolfgang Schoch</dc:creator>
		<pubDate>Thu, 15 Nov 2007 14:42:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.learningpython.com/?p=67#comment-52659</guid>
		<description>[...] Auf learning Python gibt es ein neues Tutorial, das anhand eines kleinen Spiels das Python-Framework pyglet vorstellt. pyglet ist im Vergleich zu PyGame kein spezielles Spieleframework sondern ein generelleres Framework f&#252;r GUI und Multimedia. Im Tutorial wird ein einfacher Space Invaders Klon entwickelt und dabei die Grundlagen von pyglet erkl&#228;rt. Leider l&#228;sst mir meine Diplomarbeit gerade nicht soviel Zeit, um mich umfangreicher mit dem Thema Spieleentwicklung unter Python zu besch&#228;ftigen. Gerade das angesprochene Framework PyGame sieht sehr interessant aus (und auf learning Python finden sich auch Artikel dazu.)  Tags: pygame, pyglem, spieleentwicklung    &#171; Brandneu: die Handytastatur f&#252;r den USB Port [...]</description>
		<content:encoded><![CDATA[<p>[...] Auf learning Python gibt es ein neues Tutorial, das anhand eines kleinen Spiels das Python-Framework pyglet vorstellt. pyglet ist im Vergleich zu PyGame kein spezielles Spieleframework sondern ein generelleres Framework f&#252;r GUI und Multimedia. Im Tutorial wird ein einfacher Space Invaders Klon entwickelt und dabei die Grundlagen von pyglet erkl&#228;rt. Leider l&#228;sst mir meine Diplomarbeit gerade nicht soviel Zeit, um mich umfangreicher mit dem Thema Spieleentwicklung unter Python zu besch&#228;ftigen. Gerade das angesprochene Framework PyGame sieht sehr interessant aus (und auf learning Python finden sich auch Artikel dazu.)  Tags: pygame, pyglem, spieleentwicklung    &laquo; Brandneu: die Handytastatur f&#252;r den USB Port [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: selsine</title>
		<link>http://www.learningpython.com/2007/11/10/creating-a-game-with-pyglet-and-python/#comment-52298</link>
		<dc:creator>selsine</dc:creator>
		<pubDate>Tue, 13 Nov 2007 03:29:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.learningpython.com/?p=67#comment-52298</guid>
		<description>Hi Steve,

Thanks, I'm glad you were able to follow the code and add you own twist to it. If you keep working on it let me know what you come up with.</description>
		<content:encoded><![CDATA[<p>Hi Steve,</p>
<p>Thanks, I&#8217;m glad you were able to follow the code and add you own twist to it. If you keep working on it let me know what you come up with.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: selsine</title>
		<link>http://www.learningpython.com/2007/11/10/creating-a-game-with-pyglet-and-python/#comment-52297</link>
		<dc:creator>selsine</dc:creator>
		<pubDate>Tue, 13 Nov 2007 03:27:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.learningpython.com/?p=67#comment-52297</guid>
		<description>Hi Cucu,

Thanks for the "kind" words! I agree technology is an amazing thing!</description>
		<content:encoded><![CDATA[<p>Hi Cucu,</p>
<p>Thanks for the &#8220;kind&#8221; words! I agree technology is an amazing thing!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
