Tuesday, 24 September 2013

Button Game

Today I learnt how to code a button game on Adobe Flash CS6. The aim of the game is to click the button as many times as you can in a minute. It was a very basic introduction to coding.

Here is a section of coding I used to program the game

var score = 0;

gamebtn.onPress = function() {
score+=1
}


No comments:

Post a Comment