{"id":13,"date":"2010-11-15T18:40:18","date_gmt":"2010-11-15T18:40:18","guid":{"rendered":"http:\/\/www.alexsikora.com\/news\/?p=13"},"modified":"2011-06-22T18:41:24","modified_gmt":"2011-06-22T18:41:24","slug":"sprite-sheets-for-the-octopus","status":"publish","type":"post","link":"http:\/\/alexsikora.com\/news\/2010\/11\/15\/sprite-sheets-for-the-octopus\/","title":{"rendered":"Sprite Sheets for the Octopus"},"content":{"rendered":"<p>Yesterday I was working on getting sprite sheets into my code. I used zwoptex to condense all my images together, and they output a nice plist file as the control file as well. From there I used my previous established Image class to chop up the image via the control file and set each sub-image into a dictionary by its original name as the key. This allows for easy and fast access. Now I just have to utilize this in making my tile-map scroll around, and for animating my character. I haven&#8217;t yet found a decent sprite for this, but I&#8217;ll see how it goes. I&#8217;ve been combing through all the free graphics sites without any success, maybe I&#8217;ll just doodle something up real quick. I may have to write another class for regular spritesheets. My class only really supports those with a control file, not ones that are all the same size without a control file. Hopefully I&#8217;ll have a more interesting screenshot to post later today, but with my homework load, probably not.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Yesterday I was working on getting sprite sheets into my code. I used zwoptex to condense all my images together, and they output a nice plist file as the control file as well. From there I used my previous established Image class to chop up the image via the control file and set each sub-image [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13,5],"tags":[8],"class_list":["post-13","post","type-post","status-publish","format-standard","hentry","category-project-update","category-school","tag-final-project"],"_links":{"self":[{"href":"http:\/\/alexsikora.com\/news\/wp-json\/wp\/v2\/posts\/13","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/alexsikora.com\/news\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/alexsikora.com\/news\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/alexsikora.com\/news\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/alexsikora.com\/news\/wp-json\/wp\/v2\/comments?post=13"}],"version-history":[{"count":0,"href":"http:\/\/alexsikora.com\/news\/wp-json\/wp\/v2\/posts\/13\/revisions"}],"wp:attachment":[{"href":"http:\/\/alexsikora.com\/news\/wp-json\/wp\/v2\/media?parent=13"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/alexsikora.com\/news\/wp-json\/wp\/v2\/categories?post=13"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/alexsikora.com\/news\/wp-json\/wp\/v2\/tags?post=13"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}