{"id":791,"date":"2011-12-15T21:43:41","date_gmt":"2011-12-16T01:43:41","guid":{"rendered":"http:\/\/alexlemke.com\/wordpress\/?p=791"},"modified":"2012-06-04T03:17:36","modified_gmt":"2012-06-04T07:17:36","slug":"geometry-wars-recreation","status":"publish","type":"post","link":"http:\/\/alexlemke.com\/wordpress\/geometry-wars-recreation\/","title":{"rendered":"Working on a recreation of Geometry Wars"},"content":{"rendered":"<p>This was a two week project that consisted of a recreation of the popular Geometry Wars game. \u00a0The first week of the project was spent making the PC version in OpenGL. \u00a0The second involved porting the pc version to the original xbox which uses Direct X 8. The team for this project was one other programmer and myself. \u00a0We were given the shell of a OpenGL framework to start out with.<\/p>\n<p>&nbsp;<\/p>\n<p><iframe loading=\"lazy\" src=\"http:\/\/www.youtube.com\/embed\/2zygR9NI3P8\" frameborder=\"0\" width=\"600\" height=\"450\"><\/iframe><\/p>\n<p>&nbsp;<\/p>\n<p>One of the most interesting things in this project was recreating the signature Geometry Wars grid.<\/p>\n<p>The grid is basically an array of points which are connected to each other by springs. \u00a0The springs apply a force on the points based the their displacement from their rest position. \u00a0An additional force is\u00a0applied\u00a0to points when\u00a0a enemy is killed, the player dies or a bomb explodes. \u00a0All this comes together to create\u00a0 a fluid like background.<\/p>\n<p>The color effects on the grid are done by giving each point a color and a rate of color change or a &#8220;color velocity&#8221;. \u00a0This color velocity changes based on particle and enemy explosions during gameplay.<\/p>\n<p><img decoding=\"async\" title=\"gallery link=&quot;file&quot;\" src=\"http:\/\/alexlemke.com\/wordpress\/wp-includes\/js\/tinymce\/plugins\/wpgallery\/img\/t.gif\" alt=\"\" \/><\/p>\n<p><a href=\"http:\/\/alexlemke.com\/RecreationProjects\/GeometryWarsRecreation.zip\">Geometry Wars Recreation Source<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This was a two week project that consisted of a recreation of the popular Geometry Wars game. \u00a0The first week of the project was spent making the PC version in OpenGL. \u00a0The second involved porting the pc version to the original xbox which uses Direct X 8. The team for this project was one other [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[34],"tags":[],"class_list":["post-791","post","type-post","status-publish","format-standard","hentry","category-cplusplus"],"_links":{"self":[{"href":"http:\/\/alexlemke.com\/wordpress\/wp-json\/wp\/v2\/posts\/791","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/alexlemke.com\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/alexlemke.com\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/alexlemke.com\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/alexlemke.com\/wordpress\/wp-json\/wp\/v2\/comments?post=791"}],"version-history":[{"count":7,"href":"http:\/\/alexlemke.com\/wordpress\/wp-json\/wp\/v2\/posts\/791\/revisions"}],"predecessor-version":[{"id":852,"href":"http:\/\/alexlemke.com\/wordpress\/wp-json\/wp\/v2\/posts\/791\/revisions\/852"}],"wp:attachment":[{"href":"http:\/\/alexlemke.com\/wordpress\/wp-json\/wp\/v2\/media?parent=791"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/alexlemke.com\/wordpress\/wp-json\/wp\/v2\/categories?post=791"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/alexlemke.com\/wordpress\/wp-json\/wp\/v2\/tags?post=791"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}