Help with a game

For questions about using Classic.

Post » Fri Sep 09, 2011 1:41 am

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)
B
2
G
1
Posts: 3
Reputation: 456

Post » Fri Sep 09, 2011 4:27 am

a random rate:
+ Every random(3001) + 1000 milliseconds
-> drop
(drop at a random rate between 1 to 4 seconds)

to change the size of the hair create several frames of the hair from short to long, and set the animation frame according to the collisions.
Image
B
23
S
8
G
10
Posts: 1,820
Reputation: 8,242

Post » Sat Sep 10, 2011 11:21 pm

where is this action drop ?Nicholas2011-09-10 23:23:22
B
2
G
1
Posts: 3
Reputation: 456

Post » Sun Sep 11, 2011 1:21 pm

There's no such action. It was an indicator that your actions to drop something would have to be inserted there. The point was to show a way to create a random rate by using "every x milliseconds" in combination with the expression random()
Image
B
23
S
8
G
10
Posts: 1,820
Reputation: 8,242

Post » Wed Sep 14, 2011 2:14 am

i did understood how to make the random drop but i didnt managed to make them drop at those random rates (+1 milliseconds each sprite)

here are the rules


I added the bullet behavior to the each sprite (the ones that will have to drop)
B
2
G
1
Posts: 3
Reputation: 456


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 3 guests