Warning: Use of undefined constant image_setup - assumed 'image_setup' (this will throw an Error in a future version of PHP) in /home/westleyw/public_html/wp-content/themes/autofocus/functions.php on line 576

Warning: Use of undefined constant image_setup - assumed 'image_setup' (this will throw an Error in a future version of PHP) in /home/westleyw/public_html/wp-content/themes/autofocus/functions.php on line 577

Warning: Declaration of Jetpack_IXR_Client::query() should be compatible with IXR_Client::query(...$args) in /home/westleyw/public_html/wp-content/plugins/jetpack/class.jetpack-ixr-client.php on line 91

Warning: Cannot modify header information - headers already sent by (output started at /home/westleyw/public_html/wp-content/themes/autofocus/functions.php:576) in /home/westleyw/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1794

Warning: Cannot modify header information - headers already sent by (output started at /home/westleyw/public_html/wp-content/themes/autofocus/functions.php:576) in /home/westleyw/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1794

Warning: Cannot modify header information - headers already sent by (output started at /home/westleyw/public_html/wp-content/themes/autofocus/functions.php:576) in /home/westleyw/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1794

Warning: Cannot modify header information - headers already sent by (output started at /home/westleyw/public_html/wp-content/themes/autofocus/functions.php:576) in /home/westleyw/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1794

Warning: Cannot modify header information - headers already sent by (output started at /home/westleyw/public_html/wp-content/themes/autofocus/functions.php:576) in /home/westleyw/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1794

Warning: Cannot modify header information - headers already sent by (output started at /home/westleyw/public_html/wp-content/themes/autofocus/functions.php:576) in /home/westleyw/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1794

Warning: Cannot modify header information - headers already sent by (output started at /home/westleyw/public_html/wp-content/themes/autofocus/functions.php:576) in /home/westleyw/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1794

Warning: Cannot modify header information - headers already sent by (output started at /home/westleyw/public_html/wp-content/themes/autofocus/functions.php:576) in /home/westleyw/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1794
{"id":452,"date":"2012-10-06T23:44:37","date_gmt":"2012-10-07T05:44:37","guid":{"rendered":"http:\/\/www.westleywood.com\/?p=452"},"modified":"2012-10-06T23:50:27","modified_gmt":"2012-10-07T05:50:27","slug":"added-bullets","status":"publish","type":"post","link":"http:\/\/www.westleywood.com\/2012\/10\/added-bullets\/","title":{"rendered":"Added Bullets"},"content":{"rendered":"

After so many request by the team, I’ve finally replaced the green spheres that use to be our projectile, with a bullet mesh. Although i am currently having some trouble rotating the bullet.<\/p>\n

One odd thing though is now that I have changed the way the bullet is being projected, the AI to bullet collision is working. Well I should say kind of working, because I don’t know how Ray coded the response for that collision detection. From what I can tell when the enemy gets shot about 3-5 times they stop animating and run off of the map.<\/p>\n

I also added in cursor clipping and hiding into the game. So that way when the game starts it will keep the cursor from going outside the client rectangle. Meaning no\u00a0more accidentally clicking outside on a window outside the game when moving the camera around. I’m also thinking about disabling this for when the in-game menu is displayed.<\/p>\n

I stayed up all night Thursday working on getting the gun to rotate better with the camera and to get the flashlight (shadow map) to rotate with the camera as well. It’s starting to look a lot more like game.<\/p>\n

For optimizing the flashlight I plan to work the shadow map into the Deferred shader instead of having it render separately. Since I already have a depth map for the SSAO I’m hoping I can just reuse that depth map and offset it a bit for the flashlight.<\/p>\n

My Progress Reports<\/a><\/p>\n

Team Website<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"After so many request by the team, I’ve finally replaced the green spheres that use to be our projectile, with a bullet mesh. Although i …","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"jetpack_featured_media_url":"","_links":{"self":[{"href":"http:\/\/www.westleywood.com\/wp-json\/wp\/v2\/posts\/452"}],"collection":[{"href":"http:\/\/www.westleywood.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.westleywood.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.westleywood.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.westleywood.com\/wp-json\/wp\/v2\/comments?post=452"}],"version-history":[{"count":6,"href":"http:\/\/www.westleywood.com\/wp-json\/wp\/v2\/posts\/452\/revisions"}],"predecessor-version":[{"id":456,"href":"http:\/\/www.westleywood.com\/wp-json\/wp\/v2\/posts\/452\/revisions\/456"}],"wp:attachment":[{"href":"http:\/\/www.westleywood.com\/wp-json\/wp\/v2\/media?parent=452"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.westleywood.com\/wp-json\/wp\/v2\/categories?post=452"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.westleywood.com\/wp-json\/wp\/v2\/tags?post=452"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}