Tuesday, July 17, 2012

first lesson in term 3 - Mole Mash

This lesson we were introduced to the 'App Inventor' by MIT. We were told open and 'invent' a app, for an android phone; guided by a tutorial from here. I started on the 'MoleMash' game, i have found that this 'app inventor' has a 'block editor' which must be downloaded and opened within the website to use. It contains various objects or 'blocks' similary to the Scratch program, we used last year.
Following the tutorial, it exposed me to the various techniques and options available in the website.

'MoleMash' is a game which uses image sprits, times and procedures. When the 'mole' pops up randomly on the screen, if the user hits the mole; simply by touching the mole, the player will score points.
This is what it looks when finished.

'MoveMole' moves the sprite (which is the mole) to a random position on the canvas.
'UpdateScore' shows the score, by changing the text of the 'ScoreLabel'
The 'MoleTimer' keeps the mole keep on moving.

No comments:

Post a Comment