{"id":205,"date":"2019-03-12T23:13:18","date_gmt":"2019-03-12T23:13:18","guid":{"rendered":"http:\/\/www.caleb-perkins.com\/?p=205"},"modified":"2019-05-01T20:15:41","modified_gmt":"2019-05-01T20:15:41","slug":"the-card-developer-diary-02","status":"publish","type":"post","link":"https:\/\/serket.dev\/index.php\/2019\/03\/12\/the-card-developer-diary-02\/","title":{"rendered":"The Card:  Developer Diary 02"},"content":{"rendered":"<blockquote>\n<p>After a long time away, I&#8217;ve finally managed to get back into the swing of things with a little bit of time each day dedicated to development.<\/p>\n<\/blockquote>\n<p>Hey guys!\u00a0 It&#8217;s been a few months since the last developer diary.\u00a0 I spent most of that time getting orientated to a new work and academic schedule but I think I&#8217;ve finally found my groove and I&#8217;m very ready to get back into the swing of things.<\/p>\n<p>To be honest, I think one of the hardest parts of development is finding the time (and discipline) to sit down and work on things.\u00a0 It&#8217;s so easy to come back home after a long day and just sink into the desk chair and lose yourself in a game.\u00a0 It&#8217;s a little harder for me because I have to try and wrestle my bipolar disorder at the same time.\u00a0<\/p>\n<hr \/>\n<h2>Accomplishments<\/h2>\n<ul>\n<li>Learn what a singleton is and how to use it (more or less)<\/li>\n<li>Establish a prototype system for displaying dialogue on the screen in sequence<\/li>\n<li>Modify &amp; tinker with the screen resolution and text so that it stops being blurry<\/li>\n<li>Learn how to use the TextMeshPro font creator (more or less)<\/li>\n<li>Initial design documentation<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-207\" src=\"http:\/\/www.caleb-perkins.com\/wp-content\/uploads\/dialogue_0-1024x497.png\" alt=\"dialogue example\" width=\"1024\" height=\"497\" srcset=\"https:\/\/serket.dev\/wp-content\/uploads\/dialogue_0-1024x497.png 1024w, https:\/\/serket.dev\/wp-content\/uploads\/dialogue_0-300x146.png 300w, https:\/\/serket.dev\/wp-content\/uploads\/dialogue_0-768x373.png 768w, https:\/\/serket.dev\/wp-content\/uploads\/dialogue_0.png 1072w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/p>\n<p>The primary accomplishment here was this feature.\u00a0 The dialogue class contains any number of sentences and an NPC name.\u00a0 I&#8217;m not sure I want to stick with this format long-term because I would like to be able to read in dialogue through an external file, so this is just temporary scaffolding.\u00a0 However, it demonstrates the capability to have a persistent dialogue manager which feeds in text at appropriate times.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-208\" src=\"http:\/\/www.caleb-perkins.com\/wp-content\/uploads\/gdd.png\" alt=\"the card gdd\" width=\"600\" height=\"625\" srcset=\"https:\/\/serket.dev\/wp-content\/uploads\/gdd.png 800w, https:\/\/serket.dev\/wp-content\/uploads\/gdd-288x300.png 288w, https:\/\/serket.dev\/wp-content\/uploads\/gdd-768x800.png 768w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p>I also started writing a game design document (GDD) and I&#8217;ve got a pretty good handle on the direction that I want to take the game.\u00a0 I&#8217;m borrowing from an old story idea I had one night.\u00a0 The general premise is that this is going to be a story-based game similar to a visual novel with elements of choice.\u00a0 Players will be able to choose how they want to play the game and that will affect their stats, which will affect the ending they get.\u00a0 <em>(Isn&#8217;t that what all games technically are though?)<\/em><\/p>\n<figure id=\"attachment_209\" aria-describedby=\"caption-attachment-209\" style=\"width: 1024px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-209 size-large\" src=\"http:\/\/www.caleb-perkins.com\/wp-content\/uploads\/code-1024x599.png\" alt=\"vs code\" width=\"1024\" height=\"599\" srcset=\"https:\/\/serket.dev\/wp-content\/uploads\/code-1024x599.png 1024w, https:\/\/serket.dev\/wp-content\/uploads\/code-300x175.png 300w, https:\/\/serket.dev\/wp-content\/uploads\/code-768x449.png 768w, https:\/\/serket.dev\/wp-content\/uploads\/code-1232x720.png 1232w, https:\/\/serket.dev\/wp-content\/uploads\/code.png 1842w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption id=\"caption-attachment-209\" class=\"wp-caption-text\">I also started using VS Code as my editor. It&#8217;s great!<\/figcaption><\/figure>\n<h2>Goals<\/h2>\n<ul>\n<li>Design the choice mechanic and interaction<\/li>\n<li>Design the secondary game loop<\/li>\n<li>Start feeding in dialogue through an external file (xml maybe?)<\/li>\n<li>Get some placeholder artwork<\/li>\n<li>Create a main menu<\/li>\n<\/ul>\n<hr \/>\n<p>I feel optimistic about the future.\u00a0 Until next time!<\/p>\n<p>~Caleb<\/p>\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>After a long time away, I&#8217;ve finally managed to get back into the swing of things with a little bit of time each day dedicated to development. Hey guys!\u00a0 It&#8217;s been a few months since the last developer diary.\u00a0 I spent most of that time getting orientated to a new work and academic schedule but [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":206,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[18],"tags":[19,21,20,22],"class_list":["post-205","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-development","tag-development","tag-mobile","tag-the-card","tag-unity"],"jetpack_featured_media_url":"https:\/\/serket.dev\/wp-content\/uploads\/splash.png","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/paXf4J-3j","_links":{"self":[{"href":"https:\/\/serket.dev\/index.php\/wp-json\/wp\/v2\/posts\/205","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/serket.dev\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/serket.dev\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/serket.dev\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/serket.dev\/index.php\/wp-json\/wp\/v2\/comments?post=205"}],"version-history":[{"count":2,"href":"https:\/\/serket.dev\/index.php\/wp-json\/wp\/v2\/posts\/205\/revisions"}],"predecessor-version":[{"id":344,"href":"https:\/\/serket.dev\/index.php\/wp-json\/wp\/v2\/posts\/205\/revisions\/344"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/serket.dev\/index.php\/wp-json\/wp\/v2\/media\/206"}],"wp:attachment":[{"href":"https:\/\/serket.dev\/index.php\/wp-json\/wp\/v2\/media?parent=205"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/serket.dev\/index.php\/wp-json\/wp\/v2\/categories?post=205"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/serket.dev\/index.php\/wp-json\/wp\/v2\/tags?post=205"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}