{"id":202,"date":"2014-11-20T20:46:33","date_gmt":"2014-11-20T23:46:33","guid":{"rendered":"http:\/\/52.24.147.87\/?p=202"},"modified":"2016-09-01T21:47:15","modified_gmt":"2016-09-01T16:47:15","slug":"gameday-day-one-what-am-i-doing","status":"publish","type":"post","link":"http:\/\/www.stonemillkids.com\/index.php\/2014\/11\/20\/gameday-day-one-what-am-i-doing\/","title":{"rendered":"Gameday &#8211; Day One &#8211; What am I doing?"},"content":{"rendered":"<p>So, I have a development environment, I have a good game\u00a0idea, but I have not coded in libGDX, so where do I start?<\/p>\n<p>Luckily, libGDX has a great website, and wiki, with demo games that will allow me to experiment&#8230; off to do so.<\/p>\n<h3>\u00a0libGDX Tutorials for Day One<\/h3>\n<p><a title=\"libGDX Wiki\" href=\"https:\/\/github.com\/libgdx\/libgdx\/wiki\/Introduction\" target=\"_blank\">libGDX Wiki<\/a><\/p>\n<p><a title=\"http:\/\/www.gamefromscratch.com\/page\/LibGDX-Tutorial-series.aspx\" href=\"http:\/\/www.gamefromscratch.com\/page\/LibGDX-Tutorial-series.aspx\" target=\"_blank\">http:\/\/www.gamefromscratch.com\/page\/LibGDX-Tutorial-series.aspx<\/a><\/p>\n<p>&lt;Hours of Downloading, Coding etc. and reading tutorials&gt;<\/p>\n<p>The raindrop program was a success.\u00a0 I was able to download and get it running. The wiki was very helpful.\u00a0 The code that was used is a little clunky, not very optimized, but I cannot see any reason to recreate what the official site already documented.\u00a0 I did find a lot of valuable information online, but I am too early in my coding to try it out.\u00a0 I&#8217;ll document those sessions as find a need to implement them.\u00a0 For now, off to my lessons learned today:<\/p>\n<p><strong>1)\u00a0Code enough to know what you need next<\/strong>\u00a0&#8211; I my game now moves a blue circle around the screen based on touch and the keyboard.\u00a0 Outside of adding the up\/down arrows, and changing the shape, the game is identical in function to the demo, but I added a Title Screen (that does nothing except waits for a keypress event and moves to the main game.<\/p>\n<p>One item of note, I gave up on the web.\u00a0 GWT is painful to support, and I am making too many changes to continually be compatible with the web.\u00a0 I&#8217;ll keep the PC and Android as platforms, but GWT is\u00a0distracting me from my main purpose, so it is being cut,<\/p>\n<p><strong>2) Graphics are a Pain &#8211; <\/strong>Coding your own game required graphics that you own and\/or can distribute.\u00a0 I have created three basic shapes, a triangle, a square, and a circle.<\/p>\n<p><a href=\"http:\/\/52.24.147.87\/wp-content\/uploads\/2015\/06\/Shapes2.png\"><img loading=\"lazy\" class=\"alignnone size-full wp-image-333\" src=\"http:\/\/52.24.147.87\/wp-content\/uploads\/2015\/06\/Shapes2.png\" alt=\"Shapes!\" width=\"142\" height=\"122\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>Each of these have been created in mspaint and paint.net.\u00a0 I am not sure if I will use them throughout the project, but they match the theme, so they are staying or now.\u00a0 The title screen is simply a picture of a piece of plywood I have in my garage with&#8230; opps&#8230; looks like\u00a0I need more shapes (adding a configuration gear, a stop sign, and a green play button).<\/p>\n<p>Another note I have started using png files because sometime saving a jpg file creates a white background.\u00a0 With the png files, I can get the clear backgrounds needed\u00a0for overlaying shapes (see the white background on the image above).<\/p>\n<p><strong>3) Design is now needed<\/strong>\u00a0&#8211; I could go in two directions 1) Code or 2) Design.\u00a0 I am choosing to design first because I could waste a lot of time learning items, or worse, creating graphics, that will not be part of the end product.\u00a0 I&#8217;m not saying I will never code until the design is done, but I want code to be feature driven.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>So, I have a development environment, I have a good game\u00a0idea, but I have not coded in libGDX, so where do I start? Luckily, libGDX has a great website, and wiki, with demo games that will allow me to experiment&#8230; off to do so. \u00a0libGDX Tutorials for Day One libGDX Wiki http:\/\/www.gamefromscratch.com\/page\/LibGDX-Tutorial-series.aspx &lt;Hours of Downloading, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":421,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[15,12],"tags":[37,41],"_links":{"self":[{"href":"http:\/\/www.stonemillkids.com\/index.php\/wp-json\/wp\/v2\/posts\/202"}],"collection":[{"href":"http:\/\/www.stonemillkids.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.stonemillkids.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.stonemillkids.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.stonemillkids.com\/index.php\/wp-json\/wp\/v2\/comments?post=202"}],"version-history":[{"count":4,"href":"http:\/\/www.stonemillkids.com\/index.php\/wp-json\/wp\/v2\/posts\/202\/revisions"}],"predecessor-version":[{"id":818,"href":"http:\/\/www.stonemillkids.com\/index.php\/wp-json\/wp\/v2\/posts\/202\/revisions\/818"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/www.stonemillkids.com\/index.php\/wp-json\/wp\/v2\/media\/421"}],"wp:attachment":[{"href":"http:\/\/www.stonemillkids.com\/index.php\/wp-json\/wp\/v2\/media?parent=202"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.stonemillkids.com\/index.php\/wp-json\/wp\/v2\/categories?post=202"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.stonemillkids.com\/index.php\/wp-json\/wp\/v2\/tags?post=202"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}