<?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: Live Coding Games in Python</title>
	<atom:link href="http://disruption.ca/archives/live-coding-games-in-python/feed/" rel="self" type="application/rss+xml" />
	<link>http://disruption.ca/archives/live-coding-games-in-python/</link>
	<description></description>
	<lastBuildDate>Sat, 25 Feb 2012 23:03:37 -0700</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Stan Shepherd</title>
		<link>http://disruption.ca/archives/live-coding-games-in-python/comment-page-1/#comment-21</link>
		<dc:creator>Stan Shepherd</dc:creator>
		<pubDate>Mon, 11 Sep 2006 04:20:38 +0000</pubDate>
		<guid isPermaLink="false">http://disruption.ca/?p=46#comment-21</guid>
		<description>Hi Erik, I am not a functional programmer, but I like the approach. I first saw it here http://www.paulgraham.com/avg.html

And more technically here:http://lib.store.yahoo.net/lib/paulgraham/bbnexcerpts.txt

I thought then that it would be a great way to develop games. Have you progressed this much? Any show-stooping issues?

Stan</description>
		<content:encoded><![CDATA[<p>Hi Erik, I am not a functional programmer, but I like the approach. I first saw it here <a href="http://www.paulgraham.com/avg.html" rel="nofollow">http://www.paulgraham.com/avg.html</a></p>
<p>And more technically here:http://lib.store.yahoo.net/lib/paulgraham/bbnexcerpts.txt</p>
<p>I thought then that it would be a great way to develop games. Have you progressed this much? Any show-stooping issues?</p>
<p>Stan</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nicola Larosa</title>
		<link>http://disruption.ca/archives/live-coding-games-in-python/comment-page-1/#comment-19</link>
		<dc:creator>Nicola Larosa</dc:creator>
		<pubDate>Sat, 02 Sep 2006 16:02:12 +0000</pubDate>
		<guid isPermaLink="false">http://disruption.ca/?p=46#comment-19</guid>
		<description>&gt; The only downside is that some day I’m going to start writing flash games
&gt; that run directly in the browser. When I do that, I’m really going to miss all this
&gt; dynamic language magic that I’m learning to use with Python.

Not necessarily. Work is going on to have Python in Firefox, besides Javascript:

Breaking the grip JS has on the DOM
http://wiki.mozilla.org/Breaking_the_grip_JS_has_on_the_DOM

&quot;We want to change the grip JS [Javascript] has on the DOM and on XUL. [...] The initial work on this, including a Python implementation is largely complete.&quot;

This goes nicely hand in hand with the work Brett Cannon is recently doing on a new restricted environment for Python:

[Python-Dev] doc for new restricted execution design for Python
http://mail.python.org/pipermail/python-dev/2006-June/066344.html</description>
		<content:encoded><![CDATA[<p>&gt; The only downside is that some day I’m going to start writing flash games<br />
&gt; that run directly in the browser. When I do that, I’m really going to miss all this<br />
&gt; dynamic language magic that I’m learning to use with Python.</p>
<p>Not necessarily. Work is going on to have Python in Firefox, besides Javascript:</p>
<p>Breaking the grip JS has on the DOM<br />
<a href="http://wiki.mozilla.org/Breaking_the_grip_JS_has_on_the_DOM" rel="nofollow">http://wiki.mozilla.org/Breaking_the_grip_JS_has_on_the_DOM</a></p>
<p>&#8220;We want to change the grip JS [Javascript] has on the DOM and on XUL. [...] The initial work on this, including a Python implementation is largely complete.&#8221;</p>
<p>This goes nicely hand in hand with the work Brett Cannon is recently doing on a new restricted environment for Python:</p>
<p>[Python-Dev] doc for new restricted execution design for Python<br />
<a href="http://mail.python.org/pipermail/python-dev/2006-June/066344.html" rel="nofollow">http://mail.python.org/pipermail/python-dev/2006-June/066344.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Logan Koester</title>
		<link>http://disruption.ca/archives/live-coding-games-in-python/comment-page-1/#comment-17</link>
		<dc:creator>Logan Koester</dc:creator>
		<pubDate>Fri, 04 Aug 2006 01:41:41 +0000</pubDate>
		<guid isPermaLink="false">http://disruption.ca/?p=46#comment-17</guid>
		<description>Looking forward to it, Erik</description>
		<content:encoded><![CDATA[<p>Looking forward to it, Erik</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Erik</title>
		<link>http://disruption.ca/archives/live-coding-games-in-python/comment-page-1/#comment-16</link>
		<dc:creator>Erik</dc:creator>
		<pubDate>Thu, 03 Aug 2006 22:42:58 +0000</pubDate>
		<guid isPermaLink="false">http://disruption.ca/?p=46#comment-16</guid>
		<description>@Logan: I&#039;m working on a bit of code that displays an image without loading it every frame, and does some simple animation.  I&#039;ll do a follow up blog entry once I get it to the point that I&#039;m happy with it.

@Steve: Yes, Smalltalk does interest me a lot.  It and Lisp pioneered dynamic language features long ago.  But it&#039;s fun to push the limits and see what Python can do.  Plus there are reasons why I find Python useful for game development, even if it isn&#039;t the ideal language for live coding.

I know that Smalltalk and Lisp could do this sort of thing years ago, but I find it odd that I&#039;ve never heard of people developing in an environment where their code is automatically run and tested as they save it.  Perhaps I&#039;ve just never read the correct stuff.</description>
		<content:encoded><![CDATA[<p>@Logan: I&#8217;m working on a bit of code that displays an image without loading it every frame, and does some simple animation.  I&#8217;ll do a follow up blog entry once I get it to the point that I&#8217;m happy with it.</p>
<p>@Steve: Yes, Smalltalk does interest me a lot.  It and Lisp pioneered dynamic language features long ago.  But it&#8217;s fun to push the limits and see what Python can do.  Plus there are reasons why I find Python useful for game development, even if it isn&#8217;t the ideal language for live coding.</p>
<p>I know that Smalltalk and Lisp could do this sort of thing years ago, but I find it odd that I&#8217;ve never heard of people developing in an environment where their code is automatically run and tested as they save it.  Perhaps I&#8217;ve just never read the correct stuff.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve Taylor</title>
		<link>http://disruption.ca/archives/live-coding-games-in-python/comment-page-1/#comment-15</link>
		<dc:creator>Steve Taylor</dc:creator>
		<pubDate>Thu, 03 Aug 2006 21:50:26 +0000</pubDate>
		<guid isPermaLink="false">http://disruption.ca/?p=46#comment-15</guid>
		<description>I don&#039;t want to get into language-war territory, so please forgive - but Smalltalk might interest you if you want to play with &#039;live coding&#039;.

It&#039;s (from some people) common practice to code inside the debugger, creating classes and methods as they are called, halting, changing and re-running live objects,defining variables on the fly, etc. I don&#039;t think it&#039;s the height of good design to do so, but it can make debugging and exploratory coding quite a hoot.</description>
		<content:encoded><![CDATA[<p>I don&#8217;t want to get into language-war territory, so please forgive &#8211; but Smalltalk might interest you if you want to play with &#8216;live coding&#8217;.</p>
<p>It&#8217;s (from some people) common practice to code inside the debugger, creating classes and methods as they are called, halting, changing and re-running live objects,defining variables on the fly, etc. I don&#8217;t think it&#8217;s the height of good design to do so, but it can make debugging and exploratory coding quite a hoot.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jas mhz</title>
		<link>http://disruption.ca/archives/live-coding-games-in-python/comment-page-1/#comment-14</link>
		<dc:creator>jas mhz</dc:creator>
		<pubDate>Thu, 03 Aug 2006 20:36:49 +0000</pubDate>
		<guid isPermaLink="false">http://disruption.ca/?p=46#comment-14</guid>
		<description>This is the ultimate force - live coding networked enviroments - oh I think the network needs a new iteration number or protocol now - wow. 
Multicoloured Code like a vital source flowed and spewed from an ever increasing number of finger-tips. An evermore inelluctable knowledge onrush entertwined in the collective intuition emerges somethink new, unexpectedl; a paradigm shift, number 11 on the dial.
Many thanks for your beautiful idea - I love it.</description>
		<content:encoded><![CDATA[<p>This is the ultimate force &#8211; live coding networked enviroments &#8211; oh I think the network needs a new iteration number or protocol now &#8211; wow.<br />
Multicoloured Code like a vital source flowed and spewed from an ever increasing number of finger-tips. An evermore inelluctable knowledge onrush entertwined in the collective intuition emerges somethink new, unexpectedl; a paradigm shift, number 11 on the dial.<br />
Many thanks for your beautiful idea &#8211; I love it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Logan Koester</title>
		<link>http://disruption.ca/archives/live-coding-games-in-python/comment-page-1/#comment-13</link>
		<dc:creator>Logan Koester</dc:creator>
		<pubDate>Thu, 03 Aug 2006 17:53:30 +0000</pubDate>
		<guid isPermaLink="false">http://disruption.ca/?p=46#comment-13</guid>
		<description>I&#039;m not entirely sure I understand your caching solution. Could you maybe provide some more detail, or better yet an example implementation?

If I&#039;m lucky I&#039;ll have the time to play around with this a bit over the weekend, see if we can&#039;t get a few of these features implemented, eh?

Cheers</description>
		<content:encoded><![CDATA[<p>I&#8217;m not entirely sure I understand your caching solution. Could you maybe provide some more detail, or better yet an example implementation?</p>
<p>If I&#8217;m lucky I&#8217;ll have the time to play around with this a bit over the weekend, see if we can&#8217;t get a few of these features implemented, eh?</p>
<p>Cheers</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Erik</title>
		<link>http://disruption.ca/archives/live-coding-games-in-python/comment-page-1/#comment-12</link>
		<dc:creator>Erik</dc:creator>
		<pubDate>Thu, 03 Aug 2006 15:50:48 +0000</pubDate>
		<guid isPermaLink="false">http://disruption.ca/?p=46#comment-12</guid>
		<description>I&#039;m sure that this could be made to work in a network environment.  The controller might have to take care maintaining the connections, but it could be done.  Live coding an RPG is a neat idea.  I imagine that there are MUDs out there that allow you to do some of this sort of thing.

In terms of caching, my thought was to define an initialization function, that defines starting states for objects, and performs actions like loading images.  I would call the init function with the PyGame initialization, so that it only happens once.  Then I would have the &#039;r&#039; key trigger the init function.  So if you made some changes in the init, they wouldn&#039;t take effect until you hit &#039;r&#039;.

I&#039;m not really sure about threading and live coding.  One thing I do want to try is having a python shell running in a thread alongside the game, so that you can modify the live game&#039;s state by typing commands into the shell.</description>
		<content:encoded><![CDATA[<p>I&#8217;m sure that this could be made to work in a network environment.  The controller might have to take care maintaining the connections, but it could be done.  Live coding an RPG is a neat idea.  I imagine that there are MUDs out there that allow you to do some of this sort of thing.</p>
<p>In terms of caching, my thought was to define an initialization function, that defines starting states for objects, and performs actions like loading images.  I would call the init function with the PyGame initialization, so that it only happens once.  Then I would have the &#8216;r&#8217; key trigger the init function.  So if you made some changes in the init, they wouldn&#8217;t take effect until you hit &#8216;r&#8217;.</p>
<p>I&#8217;m not really sure about threading and live coding.  One thing I do want to try is having a python shell running in a thread alongside the game, so that you can modify the live game&#8217;s state by typing commands into the shell.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Logan Koester</title>
		<link>http://disruption.ca/archives/live-coding-games-in-python/comment-page-1/#comment-11</link>
		<dc:creator>Logan Koester</dc:creator>
		<pubDate>Thu, 03 Aug 2006 12:53:43 +0000</pubDate>
		<guid isPermaLink="false">http://disruption.ca/?p=46#comment-11</guid>
		<description>Wow, what a great idea. I really like where this is going. Wouldn&#039;t it be interesting to add network support, and have a dungeon master creating the environment  in realtime while players are online? Just a thought.

As you said, performance will be a real issue for anything that complex. Do you have any ideas about caching? What about threading?

I&#039;m pretty new to python myself.</description>
		<content:encoded><![CDATA[<p>Wow, what a great idea. I really like where this is going. Wouldn&#8217;t it be interesting to add network support, and have a dungeon master creating the environment  in realtime while players are online? Just a thought.</p>
<p>As you said, performance will be a real issue for anything that complex. Do you have any ideas about caching? What about threading?</p>
<p>I&#8217;m pretty new to python myself.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

