<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Ludum Dare &#187; illume</title>
	<atom:link href="http://www.ludumdare.com/compo/tag/illume/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ludumdare.com/compo</link>
	<description>A tri-annual 48 hour solo game development competition.</description>
	<lastBuildDate>Wed, 08 Feb 2012 14:14:06 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Mini Mal</title>
		<link>http://www.ludumdare.com/compo/2008/04/19/mini-mal/</link>
		<comments>http://www.ludumdare.com/compo/2008/04/19/mini-mal/#comments</comments>
		<pubDate>Sun, 20 Apr 2008 00:16:37 +0000</pubDate>
		<dc:creator>illume</dc:creator>
				<category><![CDATA[LD #11 - Minimalist - 2008]]></category>
		<category><![CDATA[illume]]></category>

		<guid isPermaLink="false">http://www.ludumdare.com/compo/2008/04/19/mini-mal/</guid>
		<description><![CDATA[LOG ==== AEST GMT +10 2008/04/19 17:13:53 AEST GMT +10 2008/04/19 17:53:39 AEST GMT +10 Don&#8217;t have internet at home, but going in the competition anyway&#8230; I saw the theme at about +1 hours after the competition started (about 4-5 hours ago) in an email when I was at a cafe checking my email on [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.ludumdare.com/compo/wp-content/uploads/2008/04/screen_shot_1208646754.png" alt="screen_shot_1208646754.png" /><br />
LOG<br />
====<br />
AEST GMT +10</p>
<p>2008/04/19 17:13:53 AEST GMT +10</p>
<p>2008/04/19 17:53:39 AEST GMT +10</p>
<p>Don&#8217;t have internet at home, but going in the competition anyway&#8230;</p>
<p>I saw the theme at about +1 hours after the competition started (about 4-5 hours ago) in an email when I was at a cafe checking my email on the free wireless.  I have been coming up with a basic idea since then, but not giving it all that much thought.  I was thinking about drawing lines on paper, and scanning them in&#8230; then making minimal beep noises&#8230;</p>
<p>But then I wrote the name of my directory for the game&#8230; mini_mal&#8230; and aha!  Mini Mal was born.  I haven&#8217;t even to the ludumdare website since the comp started, but I imagine someone else has come up with the idea for ignoring the theme <img src='http://www.ludumdare.com/compo/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>So the idea so far is this&#8230; Mini Mal the stick figure, with minimal beep noises.</p>
<p>MOST OF THE COMPETITON I WON&#8217;T HAVE INTERNET.  Bugger.</p>
<p>I accidentally had skellington game framework on my computer, along with pygame, and python.  So I&#8217;m just going to do a pygame game&#8230; with basic stuff.  Luckily I also downloaded the pygame documentation and examples&#8230; also lucky the python objects have documentation built in, also lucky I have been maintaining pygame for over 3 years now.</p>
<p>&#8230; now my todo&#8230;</p>
<p>DONE &#8211; window up, and basic event loop.<br />
- basic animation program&#8230;<br />
- draw line, click point, click second point.<br />
- select point.<br />
- draw end points of lines with rectangles.  Use collision functions to see which points are selected.</p>
<p>- lines are in each frame of the animation.<br />
- to not show lines in one frame, you can mark them as invisible (somehow do invisible lines differently).<br />
- key frames.<br />
- can add/delete key frames.<br />
- interpolation happens between key frames.<br />
- frames per second.  Set at 30fps.</p>
<p>2008/04/19 18:30:03 AEST GMT +10</p>
<p>I made a line class, which subclasses the Rect class.</p>
<p>It can draw itself, with it&#8217;s own color&#8230;  oooh.  A white picture with a black line on it.</p>
<p>&#8230; now to make a screenshot function I think&#8230; maybe when I have something a bit better.</p>
<p>- draw line with end points.</p>
<p>2008/04/19 19:20:13 AEST GMT +10</p>
<p>It can now draw a line, and select the end points &#8211; and move the line <img src='http://www.ludumdare.com/compo/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Now to go and get some junk food.</p>
<p>- make a Lines class, that has a def handle_events(self, events): method.<br />
- make a Lines.new_line method.  So you then click to make the two points.<br />
- make a Lines.delete_line method, which deletes any line selected.</p>
<p>2008/04/19 20:38:37 AEST GMT +10</p>
<p>Went and got some junk food.  A few lollies, and chips.</p>
<p>Then I had dinner, and then came back to work on a Lines class.  Almost there with being able to draw multiple lines.  Whilst coding, I&#8217;ve been thinking of how I can structure the animation editor.  Like how I can make collections of lines play at different positions.  I&#8217;ll have to translate the positions of the lines somehow&#8230; perhaps I&#8217;ll give each set of Lines a transform <img src='http://www.ludumdare.com/compo/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />   Then allow selecting groups of lines, so I can animate multiple groups on the same screen.</p>
<p>Then I&#8217;ll need a way to load and save Lines&#8230; probably with pickle.</p>
<p>Now to finish off my new_line, and delete_line methods.</p>
<p>&#8230; oh, and I need to figure out the actual game part&#8230; hrmm.  that can come later, once I&#8217;ve figured out something cool.</p>
<p>2008/04/19 21:30:11 AEST GMT +10</p>
<p>the lines can be drawn pretty easily now.</p>
<p>Accidentally I came across a way to have the lines join up at the vertices.</p>
<p>Now I have a mode where I can select multiple verts to move at once&#8230; which allows a primative form of welding of vertices.</p>
<p>2008/04/19 21:46:28 AEST GMT +10</p>
<p>been playing a bit with drawing more&#8230; it&#8217;s kind of fun.  I&#8217;ve made it slightly easier for me to do things, and also experimented with line thickness&#8230; That could also be a fun thing to animate.</p>
<p>So the lines could grow thick from frame to frame.</p>
<p>&#8230; but how to save them all.</p>
<p>2008/04/19 22:34:24 AEST GMT +10</p>
<p>I think the pygame.Rect subclasses only pickle the pygame.Rect attributes.  Oh well.</p>
<p>Perhaps I can replace it later with a vec4d subclass&#8230; or something.</p>
<p>Anyway&#8230; this is what I want to do I think:</p>
<p>Frames<br />
Frame<br />
Lines<br />
Line</p>
<p>So then I think I can just pickle the whole lot, and reload it.</p>
<p>2008/04/20 09:09:17 AEST GMT +10</p>
<p>I put a basic screenshot function in there.</p>
<p>- Create Frames class, get basic animation working.<br />
- Make a box select.  So you can easily move many lines at once.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ludumdare.com/compo/2008/04/19/mini-mal/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

