Tuesday, 23 October 2012

Update Under Way!

The update of Commando Ghost is being worked on and it is definitely something to look forward to, with its all new graphically stunning backgrounds and epic battle vibrations! The features that I added like vibrations and completely randomized backgrounds are not simple but I will explain them to you.  

To program a randomizer it is not very hard! First you have to say:

Random r = new Random(); // Create an instance of the Random class and call it “r”

Then to get a random number “x” between 1 and 6 you would code:

x = r.Next(1, 6); 

In Commando Ghost, I use this type of code to choose a random starting background visual.  Then using the randomly selected background number in my Draw() function I display the correct background using code something like:

switch (CurrentBackground)
                    case 1:
                        spriteBatch.Draw(background, Vector2.Zero, Color.White);
                    case 2:
                        spriteBatch.Draw(background2, Vector2.Zero, Color.White);
                    case 3:
                        spriteBatch.Draw(background3, Vector2.Zero, Color.White);
                    case 4:
                        spriteBatch.Draw(background4, Vector2.Zero, Color.White);
                    case 5:
                        spriteBatch.Draw(background5, Vector2.Zero, Color.White);
                    case 6:
                        spriteBatch.Draw(background6, Vector2.Zero, Color.White);

The code above gets the int “CurrentBackground” and finds which number is in it. It then displays a different background depending on the randomized number.

To have the Windows Phone vibrate is normally a way to show that the user touched or hit something in a game. The only hard part programming it was trying to find the code for it and also trying to find what class to use. Here is how to do it.
First add this at the top:

using Microsoft.Devices;

Then write:

VibrateController.Default.Start(new TimeSpan(0, 0, 0, 1, 0));

The code above tells the Windows Phone to vibrate for 1 second! Normally for button presses you want to keep vibrations short and for deaths they can be a bit longer!
These are just two of the areas I recently worked on for the update!

Thank you for all the support with Commando Ghost and my blog and I hope you like the update for Commando Ghost and continue reading about me, the eleven year old programmer!

Sunday, 14 October 2012

Racking Up the Downloads!

1,185 downloads for Commando Ghost! I may be just eleven but that is pretty impressive. I may not have gotten millions of them like when a company creates the third game in a series, but I have to say 1,185 downloads is pretty good. If you downloaded my game, thank you so much for the support, I really appreciate it. The chart up above is taken from the stats tab under Commando Ghost in the App Hub. I’m really happy!

Now I am working on the update and remember please comment on the current game because I really would like the feedback!  My current plan is for Commando Ghost 2 to have power ups, tons of different enemies, a world/galaxy map with tons and tons of fun levels, a lite/trial version, a trophy room, achievements, an alien encyclopedia, player health and characteristics, perks for the player, different gameplay mechanics, new music and much much more! If you want to learn more please ask and follow my blog or subscribe to my YouTube channel where I will briefly talk about it in some of my videos! Please stay connected for more of Logan the eleven year old programmer! I hope you love Commando Ghost as much as I do!

Tuesday, 2 October 2012

Commando Ghost Ad!

I created an ad for Commando Ghost using Xtranormal. here is the link to the video: http://www.youtube.com/watch?v=PsbOzSicmrs&list=HL1349217446&feature=mh_lolz

Out in the World!

Well, now that my Windows Phone game is submitted and finally published, I am super excited and want as many people to get it and hear my story! If you want to see my game here is the link:   

Please check it out and if you are lucky enough to have a Windows Phone please download it! Once again, I am super psyched about it and I hope you enjoy the game.

Next steps…
I am working on an update for Commando Ghost where I plan to add some improvements. As of right now I am still adding to the “feature list” and if you think of anything please tell me. First I plan to add vibration when you hit an alien force field; secondly I will add a high score system. I will also make the background change (I was saving the backgrounds for the different levels in Commando Ghost 2 but the background does get a bit boring so I decided to change it).  I will also tweak the gyroscope sensitivity because I believe that in the current version of the game it sometimes can get a bit “hectic”… so I will turn it down and tweak it in other areas as well.

As I said above, if you think of a something for an update or disagree with something I am adding in the update please tell me what you think.

Also as I create Commando Ghost 2, I will slowly release information and tutorials through the blog because Commando Ghost 2 is really different and crazy. I haven’t told you a lot of the stuff but as I implement it into Commando Ghost 2 you will find out!

Please check out my game and download it or follow the blog to get updates or information faster than normal. If you want to start coding please subscribe to my YouTube channel because I will be posting tutorials there (I’m sorry if I haven’t posted a video in a while I have been really busy with getting my game published and working on the update and Commando Ghost 2 but I will keep posting tutorials on my channel)

So now here are some questions for you:
1. Do you agree with the features I have planned for the update or do you think I should add more or different things?
2.   Are you interested in coding or do you have a son or daughter who is interested in it?
3.  Do you have a Windows Phone and if so are thinking of getting Commando Ghost?
4. Is there anything that you would like me to talk about on the blog or in one of my tutorials?
5. Would you like to see more screen shots of my game or have me do a video showing off my game?

I would really appreciate if you comment and tell me about what you think I should do. Anything will be helpful and if you download my game it will be super encouraging so I encourage you to do both!

Please enjoy the blog and please come and check it to see any updates on my game!

“I am Logan. An eleven year old programmer. I published a game and it is out in the world…”

It is up to you how I end this story!