{"author_name":"Mirroar","cat":"LD #19 - Discovery - 2010","comments":[],"epoch":1292437080,"likes":0,"metadata":{"p_key":"68837","p_author":"Mirroar","p_authorkey":"2785","p_urlkey":"104640","p_title":"Declaring Some Base Code","p_cat":"LD #19 - Discovery - 2010","p_event":"LD19","p_time":"1292437080","p_likes":"0","p_comments":"0","p_status":"UPD5","us_key":"2785","us_name":"Mirroar","us_username":"mirroar","event_start":"1292544000","event_key":"5","event_name":"LD19"},"text":"<p>Since I intend to enter the compo proper and am prone to just writing stuff myself instead of finding more or less working libaries and make them fit my work, I have uploaded the <a title=\"Mirroar's Base Code\" href=\"http:\/\/www.soullink.de\/ludumdare\/ld19-base.zip\">base code I&#8217;ll most likely be using<\/a>. It&#8217;s just a .zip file containing a Netbeans Java project with the following contents:<\/p>\n <ul>\n <li><em>Main<\/em> and <em>MainApplet<\/em> classes that include the structure for creating a simple window or Java Applet, initializing and running the game.<\/li>\n <li><em>TextureLoader<\/em>, <em>Texture<\/em> and <em>Animation<\/em> classes and the <em>IRenderable<\/em> interface handle loading and displaying of graphics<\/li>\n <li><em>Sound<\/em> and <em>SoundLoader<\/em> clases for playing sounds<\/li>\n <li><em>Path<\/em> and <em>Pathfinding<\/em> classes handle generic pathfinding if needed<\/li>\n <li>The <em>HeightMap<\/em> class generates an array of numbers representing height on random terrain using the <a title=\"Fractal Terrain Generation Tutorial\" href=\"http:\/\/www.gameprogrammer.com\/fractal.html\">Diamond-Square-Algorithm<\/a><\/li>\n <li>The ludumdare19.system.ui package contains code for simple UI elements so I can easily display text, buttons and the like<\/li>\n <li><em>Map<\/em>, <em>Position<\/em> and <em>Tile<\/em> classes are deliberately kept generic to allow for 2D or 3D-based tiles if I make a tile-based game<\/li>\n <\/ul>\n <p>The code is mostly undocumented and not intended for commercial use. But I&#8217;m not stopping anybody. You&#8217;d have to set your classpath to contain the lwjgl native files for your OS, though.<\/p>\n <p>Since I have no experience writing a platformer, I&#8217;ll most likely write a tile-based Top-Down or isometric game, or something that doesn&#8217;t use tiles at all (Like a shoot-&#8217;em-up). I&#8217;m not making any specific calls, though, since half the fun in my opinion is deciding what the game will be like from the theme. Let&#8217;s see what crazy things people will come up with!<\/p>\n <p>Either way, I&#8217;m really looking forward to this weekend and hope I won&#8217;t have to use the jam as a safety-mechanism to release a game.<\/p>","time":"December 15th, 2010 1:18 pm","title":"Declaring Some Base Code"}