Tuesday, July 3, 2012

Videogame Design [Practice]

More Javascripting &  I'm starting to get the hang of this.
So before I place the burden of a 2D sidescroller from scratch, I thought I'd undertake a few more simple projects. The first of which would be a very basic game consisting of clicking. The point of the game is to click on a few shapes that will randomly appear around the screen in order to obtain points. If you collect a certain amount of points before time runs out, you win! If not, you can always try again. You can try again even if you win, actually. Anyways, this game is definitely progressing! It's only got a few more steps until I'm [hopefully] ready to play. I've done some more coding in Javascript as well as some basic physics and shape placement. I've made a couple of simple menus complete with buttons to either advance you to the gameplay or exit altogether. That's about it, really. I'll be throwing in some sound here, too, as that's my ultimate goal throughout this whole process. 



Beautiful destruction.

Anyways, so after a few hours of coding and careful parameter editing, I've got a pretty basic and working game. I got my camera to display a true 2D view, I got my shapes to jump around the map randomly, and I got a really cool and colorful explosion for when you click on the shapes. It's getting there...

And I'm about ready to play now! Let's walk through it real quick before I publish it, just to make sure everything's in working order...Upon start, I'm greeted with a beautiful deep ocean blue background from which I have two paths to choose from - to start, or to exit? I'm not a quitter. Let's start this. Now, I see a timer and a score; and consequently, my adrenaline gets going. I click on the luscious red colored square I see, and it bursts into every brilliant color in the visible spectrum and beyond! I do the same with the circle, only it's color takes after that of nature, of creativity, and of wealth - green. This circle explodes in much the same way as the square. Amazing! After the longest 20 seconds I may have ever experienced, the timer reaches 0. For a split second, my heart forgets to beat until my eyes settle upon the "YOU WON!!!" text at the top. I did it. I won. The only question now is literally facing me inches away in the form of two generic boxes on a web browser screen - Restart, or exit?

-Matthew Morrison









No comments:

Post a Comment