{"author_name":"dorrax","cat":"LD #24","comments":[{"author_name":"dorrax","time":"August 23, 2012 9:13 pm","epoch":1345774380,"text":"Thanks for the suggestion, I will make sure to package everything up for the final product.","spam":"N"}],"epoch":1345768440,"likes":0,"metadata":{"p_key":"54769","p_author":"dorrax","p_authorkey":"506053","p_urlkey":"90476","p_title":"Uploading library so I don\u2019t break the rules","p_cat":"LD #24","p_event":"LD24","p_time":"1345768440","p_likes":"0","p_comments":"2","p_status":"UPD5","us_key":"506053","us_name":"dorrax","us_username":"dorrax","event_start":"1345766400","event_key":"12","event_name":"LD24"},"text":"<p>I want to use a java library I&#8217;ve been working on to draw graphics, but I have to post it here first. It does graphics, but it&#8217;s terrible, it does a 320 by 240 display, and that&#8217;s hardcoded, I like that resolution. It has rudimentary drawing functions, pixels, lines, rectangles, and circles. It can handle transparency. It can draw fonts, but it uses my own font file format. You can make them from .ppm files, but it&#8217;s complicated, I try to explain it in my code. It also requires JLWGL, which if you&#8217;re technical enough to take part in ludum dare, you&#8217;re technical enough to install on your own, so I won&#8217;t provide the jars you need. The library has three classes, DorraxDisplay, which handles the screen drawing, DorraxWriter, which handles drawing text to the screen and font file generation, and GameObject, which is just an abstract class with an update() method. You can use my code if you&#8217;re insane, it truly is terrible. Just be sure to credit me. If you make significant improvements, let me know, I might use them, and credit you for them of course.<\/p>\n <p>Link to my library: http:\/\/dl.dropbox.com\/u\/21932383\/DorraxLibrary.zip<\/p>\n <p>And a font file I made to get you started, requires modification:\u00a0http:\/\/dl.dropbox.com\/u\/21932383\/StandardFont.ppm<\/p>\n <p>&nbsp;<\/p>","time":"August 23rd, 2012 7:34 pm","title":"Uploading library so I don\u2019t break the rules"}