{"id":64,"date":"2013-07-12T13:45:42","date_gmt":"2013-07-12T13:45:42","guid":{"rendered":"http:\/\/www.cokeandcode.com\/main\/?page_id=64"},"modified":"2018-06-10T19:55:09","modified_gmt":"2018-06-10T19:55:09","slug":"code","status":"publish","type":"page","link":"https:\/\/www.cokeandcode.com\/main\/code\/","title":{"rendered":"Code"},"content":{"rendered":"<p>I&#8217;ve written a couple of libraries for Java game development that a few people use.<\/p>\n<p><a href=\"http:\/\/slick.cokeandcode.com\"><img decoding=\"async\" loading=\"lazy\" class=\"port alignnone\" src=\"http:\/\/cokeandcode.com\/libraries\/slick-160.png\" alt=\"\" width=\"160\" height=\"53\" \/><\/a><\/p>\n<p>Slick is a 2D games library for Java. It&#8217;s layered over the top of <a href=\"http:\/\/www.lwjgl.org\">LWJGL<\/a> which provides high performance OpenGL rendering for 2D games. Slick a easy way for developers who have used Java2D to make use of OpenGL. It also provides a framework for games, sound and input support and many utilities to make us highly efficient in producing quality games<\/p>\n<p><a href=\"http:\/\/phys2d.cokeandcode.com\"><img decoding=\"async\" loading=\"lazy\" class=\"port alignnone\" src=\"http:\/\/cokeandcode.com\/libraries\/phys2d-160.png\" alt=\"\" width=\"160\" height=\"79\" \/><\/a><\/p>\n<p>Phys2D was a quick port of Erin Catto&#8217;s original Box2D demo source that he presented at GDC (this was way before Box2D became the wonderful library it is today). Phys2D provides a much nicer and productive API over the top of Box2D but does lose some efficiency on the way. Phys2D has grown to provide multiple collision strategies and various different primitives.<\/p>\n<p><a href=\"http:\/\/old.cokeandcode.com\/node\/1438\"><img decoding=\"async\" class=\"port\" src=\"http:\/\/cokeandcode.com\/libraries\/fizzy.png\" alt=\"\" \/><\/a><\/p>\n<p>When JBox2D came out I&#8217;d pretty much considered my work for Phys2D finished. JBox2D has better performance and closer to the new Box2D library. However, I was pointed at a few people wanting the &#8220;nice&#8221; interface on Phys2D back &#8211; so I wrote a library to wrap round the speedy JBox2D and give that nice interface. Fizzy was born!<\/p>\n<p><a href=\"http:\/\/www.cokeandcode.com\/downloads\/EasyOgg-0.6.zip\"><img decoding=\"async\" loading=\"lazy\" class=\"port alignleft\" src=\"http:\/\/cokeandcode.com\/libraries\/easyogg.png\" alt=\"\" width=\"200\" height=\"133\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>Years ago, a friend asked me to make it easy for Java users to play OGG files through Java Sound. As easy as Clip! So, I built this library and a few people have found it useful since.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve written a couple of libraries for Java game development that a few people use. Slick is a 2D games library for Java. It&#8217;s layered over the top of LWJGL which provides high performance OpenGL rendering for 2D games. Slick a easy way for developers who have used Java2D to make use of OpenGL. It&hellip; <a class=\"more-link\" href=\"https:\/\/www.cokeandcode.com\/main\/code\/\">Continue reading <span class=\"screen-reader-text\">Code<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":2,"comment_status":"open","ping_status":"open","template":"","meta":{"footnotes":""},"_links":{"self":[{"href":"https:\/\/www.cokeandcode.com\/main\/wp-json\/wp\/v2\/pages\/64"}],"collection":[{"href":"https:\/\/www.cokeandcode.com\/main\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.cokeandcode.com\/main\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.cokeandcode.com\/main\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.cokeandcode.com\/main\/wp-json\/wp\/v2\/comments?post=64"}],"version-history":[{"count":9,"href":"https:\/\/www.cokeandcode.com\/main\/wp-json\/wp\/v2\/pages\/64\/revisions"}],"predecessor-version":[{"id":394,"href":"https:\/\/www.cokeandcode.com\/main\/wp-json\/wp\/v2\/pages\/64\/revisions\/394"}],"wp:attachment":[{"href":"https:\/\/www.cokeandcode.com\/main\/wp-json\/wp\/v2\/media?parent=64"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}