{"id":914,"date":"2011-04-20T12:31:20","date_gmt":"2011-04-20T11:31:20","guid":{"rendered":"http:\/\/www.puppygames.net\/blog\/?p=914"},"modified":"2011-04-20T12:31:20","modified_gmt":"2011-04-20T11:31:20","slug":"revenge-of-the-source-code","status":"publish","type":"post","link":"https:\/\/www.puppygames.net\/blog\/?p=914","title":{"rendered":"Revenge of the Source Code"},"content":{"rendered":"<p>Finally as promised, you can take a look at the <a href=\"https:\/\/www.puppygames.net\/downloads\/RevengeOfTheTitansSource.zip\">source code to Revenge of the Titans here<\/a>. Inside that zip file you will find:<\/p>\n<ul>\n<li>A src folder containing all the Java and XML source code. Yes, the package name is &#8220;worm&#8221;. It&#8217;s a long story. The whole project was codenamed Ultraworm.<\/li>\n<li>A docs folder containing some licenses and a readme.<\/li>\n<li>A libs folder containing the Java dependencies for the project.<\/li>\n<\/ul>\n<h4>License<\/h4>\n<p>Now read this carefully: you can do what you want with the contents of that zip, provided you leave the license header alone that&#8217;s at the top of each file and respect its meaning (and the licenses of the various libraries). Make your own RTS or Tower Defence game, pinch any bits of code you like from within (in which case the license header is probably in a grey area but&#8230; I don&#8217;t care much), or maybe make some mods for Revenge of the Titans itself.<\/p>\n<p>What you absolutely <strong>may not do<\/strong> is redistribute our assets &#8211; that&#8217;s the graphics and sounds and music &#8211; without our express permission, which if I don&#8217;t know you quite well, you are unlikely to get. Although some of the sound in the game comes from the incredibly awesome <a href=\"https:\/\/www.freesound.org\">Freesound.org project<\/a>, the oggs and jars are still ours; if you want the original .wav files which are licensed under the creative commons license, we&#8217;ve included links to every one of them in the docs.<\/p>\n<p>You may also absolutely <strong>not<\/strong> use the name &#8220;Revenge of the Titans&#8221;, &#8220;Puppygames&#8221;, or &#8220;Shaven Puppy Ltd&#8221; when redistributing any derivative works without our express permission, as that&#8217;d again be stepping on our trademarks.<\/p>\n<p>Some bright spark might cunningly put the lot up on github or sourceforge or whatever &#8211; go ahead. Said bright spark might also produce an Ant build.xml file.<\/p>\n<h4>Support<\/h4>\n<p>This is <strong>very important:<\/strong> I have almost no time to actually support this source code and your many complicated questions about how it works. If you&#8217;re asking me much about how it works in the first place I suspect you shouldn&#8217;t be bothering to look at the source anyway.<\/p>\n<p>Anyone who emails the support email address about the source code will be ignored, after being hung by the foreskin until sorry.<\/p>\n<p>Other than that: I now apologise in advance for the extremely crappy code and terrible inaccurate or nonexistent commenting! It just grew that way. In fact it&#8217;s all been growing for 10 years and the subject of constant bodging, retrofitting, and general breaking and poor design. I have it on good authority from Markus that it&#8217;s not quite as horrible as the Minecraft code but I suspect it&#8217;s not far off.<\/p>\n<h4>Making Mods<\/h4>\n<p>The one area where I <em>will<\/em> help out is making mods for the game. However, it&#8217;s quite an advanced sort of subject, and I shall expound upon exactly how to do this in a forthcoming blog post.<\/p>\n<h4>Other News<\/h4>\n<p>I got another 2000 keys from Steam, just as we were about to run out. And finally the Steam version has been patched to v1.80.11. The Mac version is imminent.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Finally as promised, you can take a look at the source code to Revenge of the Titans here. Inside that zip file you will find: A src folder containing all the Java and XML source code. Yes, the package name is &#8220;worm&#8221;. It&#8217;s a long story. The whole project was codenamed Ultraworm. A docs folder [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-914","post","type-post","status-publish","format-standard","hentry","category-news"],"_links":{"self":[{"href":"https:\/\/www.puppygames.net\/blog\/index.php?rest_route=\/wp\/v2\/posts\/914"}],"collection":[{"href":"https:\/\/www.puppygames.net\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.puppygames.net\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.puppygames.net\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.puppygames.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=914"}],"version-history":[{"count":3,"href":"https:\/\/www.puppygames.net\/blog\/index.php?rest_route=\/wp\/v2\/posts\/914\/revisions"}],"predecessor-version":[{"id":917,"href":"https:\/\/www.puppygames.net\/blog\/index.php?rest_route=\/wp\/v2\/posts\/914\/revisions\/917"}],"wp:attachment":[{"href":"https:\/\/www.puppygames.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=914"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.puppygames.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=914"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.puppygames.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=914"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}