{"id":798,"date":"2021-05-08T12:59:58","date_gmt":"2021-05-08T12:59:58","guid":{"rendered":"http:\/\/8bit-unity.com\/?p=798"},"modified":"2021-05-08T13:00:00","modified_gmt":"2021-05-08T13:00:00","slug":"display-bitmaps-on-the-nes","status":"publish","type":"post","link":"https:\/\/8bit-unity.com\/?p=798","title":{"rendered":"Display bitmaps on the NES"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\"> Work has started on adding the NES\/Famicom in 8bit-Unity.This system has a rather unique way a using colors: it is somewhat reminiscent of the C64 (blocks of 8*8 pixels share 4 colors), but instead of choosing from 16 colors you chose from 4 palettes of 4 colors. In theory this sounds fine, but in practice you quickly end-up with disjointed colors between blocks when using more than 1 palette.So when converting bitmaps, it seems that most programmers just use 1 palette. I have tested that approach on the Goblin Tech Demo, it doesn&#8217;t look too bad I guess&#8230;Of course, charmaps will not have this issue since the blocks are designed to fit exactly the 8&#215;8 pixels available. <\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"520\" height=\"200\" src=\"https:\/\/8bit-unity.com\/wp-content\/uploads\/2021\/05\/goblin-nes.png\" alt=\"\" class=\"wp-image-799\" srcset=\"https:\/\/8bit-unity.com\/wp-content\/uploads\/2021\/05\/goblin-nes.png 520w, https:\/\/8bit-unity.com\/wp-content\/uploads\/2021\/05\/goblin-nes-300x115.png 300w\" sizes=\"auto, (max-width: 520px) 100vw, 520px\" \/><\/figure><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Work has started on adding the NES\/Famicom in 8bit-Unity.This system has a rather unique way a using colors: it is somewhat reminiscent of the C64 (blocks of 8*8 pixels share 4 colors), but instead of choosing from 16 colors you chose from 4 palettes of 4 colors. In theory this sounds fine, but in practice [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-798","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/8bit-unity.com\/index.php?rest_route=\/wp\/v2\/posts\/798","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/8bit-unity.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/8bit-unity.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/8bit-unity.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/8bit-unity.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=798"}],"version-history":[{"count":1,"href":"https:\/\/8bit-unity.com\/index.php?rest_route=\/wp\/v2\/posts\/798\/revisions"}],"predecessor-version":[{"id":800,"href":"https:\/\/8bit-unity.com\/index.php?rest_route=\/wp\/v2\/posts\/798\/revisions\/800"}],"wp:attachment":[{"href":"https:\/\/8bit-unity.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=798"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/8bit-unity.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=798"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/8bit-unity.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=798"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}