{"id":125,"date":"2008-06-18T16:57:44","date_gmt":"2008-06-18T22:57:44","guid":{"rendered":"http:\/\/www.philhassey.com\/blog\/?p=125"},"modified":"2008-06-18T16:57:44","modified_gmt":"2008-06-18T22:57:44","slug":"igalcon-makin-it-perty","status":"publish","type":"post","link":"https:\/\/www.philhassey.com\/blog\/2008\/06\/18\/igalcon-makin-it-perty\/","title":{"rendered":"iGalcon &#8211; makin&#8217; it perty!"},"content":{"rendered":"<p>Today I worked on making it all shiny.\u00a0 As per usual, I had trouble figuring out OpenGL.\u00a0 I suppose I&#8217;ll get it one of these days &#8230;<\/p>\n<p><a href=\"https:\/\/www.philhassey.com\/blog\/wp-content\/uploads\/2008\/06\/igalcon4.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-126\" title=\"igalcon4\" src=\"https:\/\/www.philhassey.com\/blog\/wp-content\/uploads\/2008\/06\/igalcon4-200x300.png\" alt=\"\" width=\"200\" height=\"300\" srcset=\"https:\/\/www.philhassey.com\/blog\/wp-content\/uploads\/2008\/06\/igalcon4-200x300.png 200w, https:\/\/www.philhassey.com\/blog\/wp-content\/uploads\/2008\/06\/igalcon4.png 320w\" sizes=\"auto, (max-width: 200px) 100vw, 200px\" \/><\/a><\/p>\n<p>Anyway, some notable differences between normal OpenGL and OpenGL ES are: OpenGL uses arrays for everything, instead of letting you do the whole glBegin() glEnd() bit.\u00a0 It also only supports a subset of normal OpenGL features &#8211; for example, it doesn&#8217;t support quads, only triangles.<\/p>\n<p>Thankfully, by following the ES spec, I was able to write my code correctly under linux before I got it going on the iphone.\u00a0 Getting the iphone part to work was pretty easy, though I&#8217;m slowly grasping some of the ObjC concepts as I go, since I had to do a few lines of ObjC code to load the images, etc this time.<\/p>\n<p>The iphone SDK comes with a swell simulator.\u00a0 Since my last pic of the &#8220;live&#8221; iphone was awful, here&#8217;s a more attractive simulation of what it looks like on the iphone:<\/p>\n<p><a href=\"https:\/\/www.philhassey.com\/blog\/wp-content\/uploads\/2008\/06\/igalcon5.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-127\" title=\"igalcon5\" src=\"https:\/\/www.philhassey.com\/blog\/wp-content\/uploads\/2008\/06\/igalcon5-300x161.png\" alt=\"\" width=\"300\" height=\"161\" srcset=\"https:\/\/www.philhassey.com\/blog\/wp-content\/uploads\/2008\/06\/igalcon5-300x161.png 300w, https:\/\/www.philhassey.com\/blog\/wp-content\/uploads\/2008\/06\/igalcon5.png 747w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>Next up, gotta make those fonts look good.\u00a0 Add the good ol&#8217; Galcon sound effects.\u00a0 Gotta improve some of my OpenGL commands so they are a bit more optimized.\u00a0 Then I&#8217;ve got to decide on what sort of packaging (levels, ranks, bots, menus, etc) I want for the final version.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Today I worked on making it all shiny.\u00a0 As per usual, I had trouble figuring out OpenGL.\u00a0 I suppose I&#8217;ll get it one of these days &#8230; Anyway, some notable differences between normal OpenGL and OpenGL ES are: OpenGL uses arrays for everything, instead of letting you do the whole glBegin() glEnd() bit.\u00a0 It also [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[20,66],"tags":[],"class_list":["post-125","post","type-post","status-publish","format-standard","hentry","category-galcon","category-iphone"],"_links":{"self":[{"href":"https:\/\/www.philhassey.com\/blog\/wp-json\/wp\/v2\/posts\/125","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.philhassey.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.philhassey.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.philhassey.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.philhassey.com\/blog\/wp-json\/wp\/v2\/comments?post=125"}],"version-history":[{"count":0,"href":"https:\/\/www.philhassey.com\/blog\/wp-json\/wp\/v2\/posts\/125\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.philhassey.com\/blog\/wp-json\/wp\/v2\/media?parent=125"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.philhassey.com\/blog\/wp-json\/wp\/v2\/categories?post=125"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.philhassey.com\/blog\/wp-json\/wp\/v2\/tags?post=125"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}