Wednesday, April 2, 2014

The Long Awaited Update Is Complete

After many hours of working on it, the update has been released. Many new features have been added to improve the overall experience. The flagship feature is the power-up system. This will enable longer runs, and more variety of gameplay. It's also fun to dress Batty with different accessories to make him your own.

There is still more work ahead, this version of the game will have to be slightly modified for the Amazon store, and still to come is porting to iOS. I'm not sure how long this process will take, but all of the plugins I'm using should be cross platform (with some minor tweaking of course).

Get it on Google Play

Feel free to let me know what you think about the game, you can just leave a comment here. If you like it, don't forget to tell your friends, don't hoard all of the fun for yourself.

Monday, March 24, 2014

Power-Ups Delayed, But Coming Very Soon

Working on the update became difficult to do while trying to work around real life. The power-ups are done, and we will be releasing some other content in this update. There will be accessories available to customize your bat, and the other bonus content to add that little bit of flair to the game.

I will also be waiting on testing before I release this update, but that should go well. If it doesn't there could be a few more days delay. Because there are some external things I'm waiting on, the goal is to get the update out by Friday, and so far it is looking good. After everything is working and the update is out on Google Play, I will be making a few small changes to release the update on Amazon (likely the next day I get a chance to work on it). I also plan on putting the game on iOS, since there are a lot of people that would love to play it on their iPhone. If I had to guess, I would say to expect it on iOS about a week after Friday.

Friday, March 7, 2014

Perfect Gravity Simulation Script

I took a break for a bit to just play around with something I had on my mind. I was wondering how I could do realistic body to body gravity simulation in unity, possibly for future use in a game mechanic. Unity's built in gravity must be set to 0, or it won't work correctly. I threw together a script based on Newton's law of universal gravitation, and came up with the following snippit.

 using UnityEngine;  
 using System.Collections;  
   
 public class GravityForAllObjects : MonoBehaviour  
 {  
   
   private float gravitationalForce;  
   private Rigidbody[] rbs;  
   
      void FixedUpdate ()  
   {  
     rbs = GameObject.FindObjectsOfType<Rigidbody>();  
     foreach (Rigidbody rb1 in rbs)  
     {  
       foreach (Rigidbody rb2 in rbs)  
       {  
         if (rb1 != rb2)  
           ApplyGravity(rb1, rb2);  
       }  
     }  
      }  
   void ApplyGravity(Rigidbody object1, Rigidbody object2)  
   {  
     // Real value for G is 0.0000000000667384 -- using larger value in order to use smaller masses i.e. true mass divided by 1,000,000,000 kg  
     // mass in killograms, distance in meters, yields force in newtons.  
     gravitationalForce = 0.0667384f * ((object1.mass * object2.mass) / (object2.transform.position - object1.transform.position).sqrMagnitude);  
     object1.AddForce((object2.transform.position - object1.transform.position) * gravitationalForce, ForceMode.Force);  
   }  
 }  

I'm not sure how useful this code can be, but I decided to share it anyway. Unlike other gravity scripts I've seen, this one actually takes the mass of both rigidbodies into account, and adds force to both. If you set up a few objects in the editor with a simple script to set an initial velocity perpendicular to the line between the object and a single more massive object, you can easily achieve orbit-like patterns. I'm not sure how well this can scale up/down.

Monday, March 3, 2014

Power-Ups! Go Batty Update Coming Soon

As I mentioned in my previous post, another update will be coming to Go Batty. You will be able to earn coins from game play that you can use to purchase power-ups from the brand new "Batty Shack" for big scores.

One of the power-ups will include reducing your speed, which will make longer runs possible. There will be several more I do not wish to describe yet to keep them a surprise. The power-up framework will allow the addition of more power-ups pretty easily with future updates.

Also in the update, there will be background visuals, making the game look more awesome. There will be some minor tweaks in difficulty, and the score screen at the end of the game is getting a new and improved design.

The Batty Shack will also include other new awesome features. So stay tuned for more update information as it nears completion. Have fun playing, and don't forget to click share below!

Friday, February 28, 2014

Go Batty Gets an Update, More to Come

Go Batty got an update. I've had a few complaints that the instructions were to vague, so I revamped them into more of a tutorial style. Because it would get annoying, I also only show the instructions at startup the first two times the game is started. At the end of the game, the instructions can be accessed by tapping the "?" button in the lower corner of the screen. I also added a rate this app dialog to hopefully get a few ratings, and an exit confirmation dialog to prevent accidental exits.

I have another update in the works to add more features to the game and to revamp the scoring system. There will also be improvements to the game's look and design. I will be making demo video after the update. Stay tuned for the latest Go Batty news.

Friday, February 21, 2014

Go Batty is Done!


Go Batty is done. We've come a long way in the past few weeks, my wife +W.D. Wheeler getting better at art, and me getting better at programming. At this point, I just need some people to play it and give some feedback so I know how it's running on other peoples' devices. If I get enough feedback, I will know what may or may not need tweaking. You can send feedback to stickykittygames@gmail.com or leave comments here. I encourage you to rate the game and/or write a review on the game listing page.


Get it on Google Play

Tuesday, February 18, 2014

Go Batty Nearing Completion

Because of my traditional job, I haven't had much time to work on Go Batty the past several days, much less blog about it. Google Play has been implemented, and I have written an AdMob plugin that works with the current Google Play SDK. It's looking good for release by tomorrow afternoon.

I attempted to write my own Google Play plugin that I could eventually turn into an all-in-one plugin, but because of my inexperience with Android programming, that turned out to be quite futile. I ended up wasting a few days on this endeavor, so I just decided to just use the supplied plugin on this project. I will take up the challenge at some later point, since I would love to have Google+ integration. At this point, I'm waiting for icons as I begin to hash out the fine details.