Wednesday, October 22, 2014

Mole Masher Explianed

on today blog post i will be explaining the mit app called app inventor

the object of this games is to "mash" as many moles as you can to get the highest score

now the user interface is quite simple it is just a green background with a mole on it and a score board

the next thing we will be looking at will be the blocks that we created to make thins game run it is below

so these block are buy the most complicated ones out of all the blog-pots so far. The first block just simply adds in a scoreboard .the third block randomly moves the mole around the screen the fourth block changes the score on the scoreboard and the last block just times how long you have been playing for and the last block resets the score when you press the start button.

Wednesday, October 15, 2014

digital doodle app explained

in this blog post i will be explaining what digital doodle (an app  created by mit)

the user interface was quite simple it has just has a canvas for drawing and different pen color choices
the user interface is below
programming this app was  relatively simple but took some thought the programmed blocks are below 

all these block are programmed to do is when the user press these 3  buttons it will change the pen color 
the first block is to sense were you want to draw and it puts a line in were you have drawn on the screen the second block clears the screen when you shake it.

ball bounce explained

in this blog post we will be covering on of the mit app-inventor games called ball bounce

so this is a test more than a game that uses and acceleration to detect how hard you flick the ball the harder you flick the faster it moves this app also has built in gravity if you don't flick the ball it will fall below if the user interface
this is quite simple as this was created for a test as the games has no real objective below is what happens behind the scenes 
the first one detects how hard you flick the ball and then translates this into how fast the ball will travel .The second block is made so the ball will bounce of the side of your screen when you are using it.

please go read my other blog posts

Wednesday, October 1, 2014

Talk To Me app explained

the next app i will be explaining to you is an app i made called talk to me can you guess what it does?  it actually talks to you, now this app is basically the step up from one of the other blog post i made called Virtual Pet now the user interface is very simple it is below
now basically this part that is seen on your phone screen if u had made the app is to type in a message and when you press the button talk to me to me the message you typed in  is played to you. This is very simple,the next part is how we coded the app this is below
the block on the top is programmed for when you click the button labeled talk to me it will play your chosen message.now the second block on the bottom is just a fun little piece of code and it means when you shake the device you are using it will ask you to stop shaking it.

Virtual Pet app Explained

The first app that was made on the MIT app inventor was called virtual pet. Virtual pet is a simple game all it is told to do is when you press it it plays a sound in this case it is a meow sound. the part that you see on your phone screen is below.

Then we have to deal with the coding behind the picture and of course making something play a sound is not that difficult it is below.


This block of code means when the the button is pressed (the cat) play the sound meow and thats it very simple but it builds a learning base if you truly want to learn how to make useful and fun apps.

Anybody can learn to code! That means you !