Found this in the code
// Are they touching?
hero.x <= (monster.x + 32)
&& monster.x <= (hero.x + 32)
&& hero.y <= (monster.y + 32)
&& monster.y <= (hero.y + 32)
// ADD YOU MESSAGE HERE and because of the reset put a slight delay here also
And if you need to look this stuff up good site to learn stuff http://www.w3schools.com/
Evolution - The non-random survival of random variants.
Last edited by sunfighter; 04-29-2013 at 11:04 PM..