{"id":198,"date":"2014-07-25T06:47:07","date_gmt":"2014-07-25T06:47:07","guid":{"rendered":"http:\/\/www.brasswatchgames.com\/?p=198"},"modified":"2014-07-25T06:47:07","modified_gmt":"2014-07-25T06:47:07","slug":"sooper-seecret-project-preview-2","status":"publish","type":"post","link":"http:\/\/brasswatchgames.com\/?p=198","title":{"rendered":"Sooper Seecret Project Preview #2"},"content":{"rendered":"<p>I know I really should be working more on Shipyard, but I&#8217;m just having too much fun with this tank.<\/p>\n<p>The tank is now a real object with some degree of physics. It can be controlled with WASD, and the gun will aim at your mouse. The physics were done using JBullet, a Java port of the Bullet physics library (originally for C++). The mouse aim was done using what in professional circles is known as a\u00a0<em>giant heap of trig.<\/em>\u00a0I actually spent several hours trying to figure out why I wasn&#8217;t getting the right values from the formula, only to realize that I had forgotten to convert from degrees to radians and back again, as LWJGL uses degrees but Java&#8217;s Math class deals in radians. Earlier I had a ton of fun (<em>the sarcasm is tangible<\/em>) learning about quaternions and how to convert them to something recognizable to humans.<\/p>\n<p>I realize now that it&#8217;s hard to see the grass texture as a point of reference, but trust me, the tank is really moving. It&#8217;s a lot clearer in-game, but the video rendering process made it blurry.<\/p>\n<p>Music by Kevin MacLeod (http:\/\/incompetech.com\/) &#8212; Available under a Creative Commons license.<br \/>\n<iframe loading=\"lazy\" width=\"640\" height=\"360\" src=\"\/\/www.youtube.com\/embed\/yhSEkO3b7fk\" frameborder=\"0\" allowfullscreen><\/iframe><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I know I really should be working more on Shipyard, but I&#8217;m just having too much fun with this tank. The tank is now a real object with some degree of physics. It can be controlled with WASD, and the gun will aim at your mouse. The physics were done using JBullet, a Java port [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true},"categories":[2,1],"tags":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p4ieDM-3c","jetpack-related-posts":[{"id":511,"url":"http:\/\/brasswatchgames.com\/?p=511","url_meta":{"origin":198,"position":0},"title":"Blog? Building a USB ship&#8217;s wheel controller (Part 1)","date":"May 31, 2017","format":false,"excerpt":"Several\u00a0months ago I had the idea to build a ship's wheel controller for playing games like\u00a0World of Warships. They make racing wheels for car games and flight sticks for plane games, so I thought it would be fun to build a ship's wheel and engine order telegraph\u00a0that I could plug\u2026","rel":"","context":"In &quot;Blogs &amp; Other&quot;","img":{"alt_text":"","src":"https:\/\/i0.wp.com\/brasswatchgames.com\/wp-content\/uploads\/2017\/06\/IMG_20170525_133156.jpg?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":667,"url":"http:\/\/brasswatchgames.com\/?p=667","url_meta":{"origin":198,"position":1},"title":"Shipyard Remake: Friendship ended with Java, now C++ is my best friend","date":"June 30, 2018","format":false,"excerpt":"When I started the original Shipyard, I only knew how to program in Java, a language which makes it very easy to slap together something basically functional but not particularly efficient. This was only exacerbated by my lack of experience. To pick one of many examples, the game's graphics were\u2026","rel":"","context":"In &quot;Blogs &amp; Other&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":203,"url":"http:\/\/brasswatchgames.com\/?p=203","url_meta":{"origin":198,"position":2},"title":"Shipyard Development News 8 August 2014","date":"August 8, 2014","format":false,"excerpt":"It's been a while since I posted one of these, mainly because I've been working more on the Sooper Seecret Tank Project\u00a0than on Shipyard over the last couple weeks. However, as Shipyard is still the primary focus of this site at the moment, I figured I had better share what\u2026","rel":"","context":"In &quot;Game Development News&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":192,"url":"http:\/\/brasswatchgames.com\/?p=192","url_meta":{"origin":198,"position":3},"title":"Sooper Seecret New Project?","date":"July 23, 2014","format":false,"excerpt":"In my previous post,\u00a0I\u00a0hinted that, in addition to getting back to work on Shipyard, I had also started a \"secret new project\" that I would share if it went well. Well, thus far, that seems to be the case, so here's a little sneak-peak of what I have so far:\u2026","rel":"","context":"In &quot;Game Development News&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":294,"url":"http:\/\/brasswatchgames.com\/?p=294","url_meta":{"origin":198,"position":4},"title":"Best School Project Ever","date":"February 16, 2015","format":false,"excerpt":"I recently took a C++ class at community college. As part of the final exam, each student was to create a \"sampler project\" showcasing what they had learned. I play both World of Tanks and War Thunder, and have watched Girls und Panzer more times than I care to mention.\u2026","rel":"","context":"In &quot;Game Development News&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":256,"url":"http:\/\/brasswatchgames.com\/?p=256","url_meta":{"origin":198,"position":5},"title":"Shipyard Pre-Alpha v0.8.1 Released","date":"November 23, 2014","format":false,"excerpt":"After more than five months of development, I've decided to release version 0.8.1. I finally made the decision to push shuttles back to a future update, as holding back 0.8.1 until they were finished would have meant another month or more without an update. Nevertheless, version 0.8.1 has plenty of\u2026","rel":"","context":"In &quot;Game Development News&quot;","img":{"alt_text":"scrn_2014_11_22_1416699459267","src":"https:\/\/i0.wp.com\/www.brasswatchgames.com\/wp-content\/uploads\/2014\/11\/scrn_2014_11_22_1416699459267-1024x576.png?resize=350%2C200","width":350,"height":200},"classes":[]}],"_links":{"self":[{"href":"http:\/\/brasswatchgames.com\/index.php?rest_route=\/wp\/v2\/posts\/198"}],"collection":[{"href":"http:\/\/brasswatchgames.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/brasswatchgames.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/brasswatchgames.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/brasswatchgames.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=198"}],"version-history":[{"count":0,"href":"http:\/\/brasswatchgames.com\/index.php?rest_route=\/wp\/v2\/posts\/198\/revisions"}],"wp:attachment":[{"href":"http:\/\/brasswatchgames.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=198"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/brasswatchgames.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=198"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/brasswatchgames.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=198"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}