Squash Those Bugs! (and amusing mario fact)

I know I shouldn’t expect you guys to read so much.  It’s only been a few days since my last post, but give me a chance!  I’m new at this, and soon the glossy finish will wear off and I’ll slow down the torrent of posts.  Plus, I had some classes get canceled this week and got a lot of work done.

I’ve fixed several major bugs, including an erratic message box display, (got to watch those Vectors) a weird extra pause menu that I don’t remember coding in, and an error with skipping bits of story line.

I also implemented a save feature!  Hooray!  Campaigns can be saved now, and levels in Level select mode are locked until beaten in campaign.  All-time stats are also recorded, so you can see how many times you’ve died throughout the entire game. 🙂 I plan on adding high scores and perhaps awards (for fast times, no deaths, etc) for each level soon.

What I’ve got to share:

First off, jagged arrays!  I may use this for my high scores list.  In C#, they are used like this:

// Declare a jagged array
int[][] jaggedArray = new int[6][]; 

// Set the values of the first array in the jagged array structure
jaggedArray[0] = new int[4] { 1, 2, 3, 4 };

I always thought this should be doable, but never knew how.  Know I do!  It’s use should be fairly self-explanatory to anyone with programming knowledge.  It’s an array of arrays – almost the same thing as a two-dimensional array in practice.

Second, did anyone else know that the old Mario games used the same image for the clouds and bushes, just in different colors?  I always had my suspicions, but here’s the proof.  It just goes to show how much of video games are just smoke and mirrors.  Whoever had this idea knew what he was doing – he saved time, money, virtual space, and virtual processing in one fell swoop.  And it didn’t hurt the game a bit!  (If you have time, check out the blog that posted the Mario thing – it’s really interesting)

I’ll probably create a poll sometime soon to get some feedback on my content and see what everyone likes.  For now, I’ve got to get to class!

~Josh

Advertisements

5 responses to “Squash Those Bugs! (and amusing mario fact)

  1. hahaaha wow how convienent!!! And it’s not like we really used the trees or bushes anyways, we had to use the vines 😛 good post, man

  2. Kyle Morrison

    so apparently i did not subscribe to ur blog….

  3. i really don’t know much about how programing works, but i like the blog and the screenshots for the game look really good!!! 🙂 cant wait till you get done so i can play it.

    • Thanks! I realize the coding doesn’t appeal much to my current audience, since most of my readers right now are my personal friends (who don’t program, for the most part), but I’m hoping to network with other developers through this blog. Thanks for the feedback 🙂

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s