<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<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&#039;s journey into python...</description>
	<lastBuildDate>Sat, 18 May 2013 08:33:23 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
	<item>
		<title>By: Weeks Unknown – Scaling Troubles &#124; Import Soul</title>
		<link>http://www.learningpython.com/2007/11/10/creating-a-game-with-pyglet-and-python/comment-page-1/#comment-186699</link>
		<dc:creator>Weeks Unknown – Scaling Troubles &#124; Import Soul</dc:creator>
		<pubDate>Sun, 27 Feb 2011 05:19:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.learningpython.com/?p=67#comment-186699</guid>
		<description>[...] good use of hardware surfaces by default. In learning pylet i stumbled upon some basic guides on game desgin and another guide that provides a basic camera class for me to base my scrolling and zooming [...]</description>
		<content:encoded><![CDATA[<p>[...] good use of hardware surfaces by default. In learning pylet i stumbled upon some basic guides on game desgin and another guide that provides a basic camera class for me to base my scrolling and zooming [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael</title>
		<link>http://www.learningpython.com/2007/11/10/creating-a-game-with-pyglet-and-python/comment-page-1/#comment-179863</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Tue, 28 Dec 2010 00:53:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.learningpython.com/?p=67#comment-179863</guid>
		<description>Thanks a lot for this tutorial.  It&#039;s very clear, well written and nicely laid out.  I&#039;m sure things have changed a lot in pyglet by now, but I know very little about game programming, and your tutorial was a great introduction.  I really feel like I&#039;ve gotten a good insight, so, again, thanks very much.</description>
		<content:encoded><![CDATA[<p>Thanks a lot for this tutorial.  It&#8217;s very clear, well written and nicely laid out.  I&#8217;m sure things have changed a lot in pyglet by now, but I know very little about game programming, and your tutorial was a great introduction.  I really feel like I&#8217;ve gotten a good insight, so, again, thanks very much.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt</title>
		<link>http://www.learningpython.com/2007/11/10/creating-a-game-with-pyglet-and-python/comment-page-1/#comment-148784</link>
		<dc:creator>Matt</dc:creator>
		<pubDate>Fri, 24 Jul 2009 09:27:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.learningpython.com/?p=67#comment-148784</guid>
		<description>Billy Bob,
try looking in the source code, it&#039;s just code there. that&#039;ll show you where.

PS: great tutorial! 
PSS: i heard that there&#039;s an update for pyglet that adds more sprite functionallity, a sprite class, maybe? downloading the new one and checking the documentation now...</description>
		<content:encoded><![CDATA[<p>Billy Bob,<br />
try looking in the source code, it&#8217;s just code there. that&#8217;ll show you where.</p>
<p>PS: great tutorial!<br />
PSS: i heard that there&#8217;s an update for pyglet that adds more sprite functionallity, a sprite class, maybe? downloading the new one and checking the documentation now&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Billy Bob</title>
		<link>http://www.learningpython.com/2007/11/10/creating-a-game-with-pyglet-and-python/comment-page-1/#comment-147096</link>
		<dc:creator>Billy Bob</dc:creator>
		<pubDate>Sun, 14 Jun 2009 23:28:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.learningpython.com/?p=67#comment-147096</guid>
		<description>When you start modifying the main loop about two thirds into the tutorial you begin to add function like crazy, but never identify where they are to be placed.</description>
		<content:encoded><![CDATA[<p>When you start modifying the main loop about two thirds into the tutorial you begin to add function like crazy, but never identify where they are to be placed.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Blake</title>
		<link>http://www.learningpython.com/2007/11/10/creating-a-game-with-pyglet-and-python/comment-page-1/#comment-134654</link>
		<dc:creator>Blake</dc:creator>
		<pubDate>Tue, 10 Feb 2009 00:29:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.learningpython.com/?p=67#comment-134654</guid>
		<description>hey i am new to using python and i have been trying to study and understand it but i copied the coding you have and when i run it the only thing that comes up is a black screen and the FPS. Is there advise you can give me for this?</description>
		<content:encoded><![CDATA[<p>hey i am new to using python and i have been trying to study and understand it but i copied the coding you have and when i run it the only thing that comes up is a black screen and the FPS. Is there advise you can give me for this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Olberg</title>
		<link>http://www.learningpython.com/2007/11/10/creating-a-game-with-pyglet-and-python/comment-page-1/#comment-131392</link>
		<dc:creator>Olberg</dc:creator>
		<pubDate>Tue, 06 Jan 2009 13:14:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.learningpython.com/?p=67#comment-131392</guid>
		<description>Check Cocos2d - http://cocos2d.org/</description>
		<content:encoded><![CDATA[<p>Check Cocos2d &#8211; <a href="http://cocos2d.org/" rel="nofollow">http://cocos2d.org/</a></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-page-1/#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&#039;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-page-1/#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&#039;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-page-1/#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&#039;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-page-1/#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>
</channel>
</rss>
