I want to do an advergame. Its quite simple but i dont know which rules do i need to create.
The game works this way.
Theres 2 characters: 1 male and 1 female
The character starts at the bottom of the platform and the product starts to fall from the top (there are about 5 products)
1 type of enemy: a razor which will appear on the left and will go to right of screen.
If the razor hits the character, his hair will go smaller (its a hair product).
And each level, the character's hair, will go bigger (there will be 5 levels).
My question is: how to make the products to drop at a random rate and how to make the hair change its size when got hit by an enemy or level change?
thx in adv (if didnt understood i can make an image to make things clear)