Showing posts with label memory allocation. Show all posts
Showing posts with label memory allocation. Show all posts

Sunday, October 16, 2011

A Word Game That Does Not Try to Save the World

So what makes our products unique?  One of the rules of marketing is to know your product and be prepared with an elevator speech.  You know, a 30 second pitch prepared, the time of a typical elevator ride about your product and what sets it apart from all others.

So here goes:

Introspectively speaking, due to experiences in life unique solely to us, our acuity is shaped causing anything we create to be different from anyone else.  And blah…blah…blah…

So now that we’ve cleared the air and have identified on a cosmic scale what makes our product unique, looking on a more rudimentary scale, what motivated the creation of Word Crank?  Put simply, a desire to find a word game that we would actually play.

We’re not intimating that there weren’t any good word games out there, because there are.  We were simply looking for a game that combined elements of Word and Arcade style gaming that we both would be interested in.

You see although being siblings, we have two different backgrounds and stakes in our product.  Here comes the very exciting history lesson: 

Our CTO is a computer programmer by profession, and has single-handedly coded all of our projects. Her objective when creating a game centers on playability and usability.  The code has to work and memory allocation is central around enhancing the user’s experience.

The CEO’s experience with coding begins and ends with formulas for excel worksheets.  With a background in business and an avid “gamer”, for him it just has to pop and be fun.  “No chipped paint” as Walt Disney articulated around his reason for creating Disneyland.  It just has to look good!

Combine these and you get Word Crank our very first release.  A word game that’s not buggy, has a very expansive dictionary and does what it’s supposed to do (in our developer voice).  But then it does something else.  It creates an atmosphere with a beautiful UI (User Interface).  A word game with elements of grunge, hip hop, pop, and action!  (Guess whose voice added this)

You see, both voices played a major role in the creation of Word Crank.  We combined programming principles which allow our game to play smoothly and feel effortless.  We also brought arcade to our game by not just allowing you to make the word C-A-T and get 50 points, YAY *sarcastically* but we brought engaging music, cool animations, and some serious themes.

We thank all of our 5k+ downloads on the Android market and are excited that overall reception has been positive with only 6 users rating below 4 stars (send us a message on what you’d like to see to change that to a 4/5) We’re going to keep making cool apps that people like and promise to never take ourselves too seriously but remember it’s just a Word game that doesn’t try to save the world.

Thursday, June 30, 2011

Converting an Integer to an Int Array

During game development one thing that you want to avoid as much as possible is allocating memory in your main game loop.  One item that typically changes often during game play is the user's score.  In order to avoid creating new objects to store the user's updated score value, you can store each digit of the new score in an array.  Then use a simple method to display the portion of your texture, or image graphic, that maps to each digit.  The method that I used to convert from an Integer to an int array is shown below.

public static void setScore(int[] score, int points) {
int temp = points;
int i = 0;
while (temp > 0) {
score[i] = temp % 10;
temp /= 10;
i++;
}
}