0 Favourites

Help with a game

This forum is currently in read-only mode.
  • 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)

  • 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.

  • Construct 3

    Buy Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Buy Now Construct 3 users don't see these ads
  • where is this action drop ?

  • 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() <img src="smileys/smiley2.gif" border="0" align="middle" />

  • 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

    <img src="http://img830.imageshack.us/img830/2011/rulescap.jpg" border="0" />

    I added the bullet behavior to the each sprite (the ones that will have to drop)

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)
Similar Topics Posts Views Last Post
Unread sticky
763 305,669
asikanddestroy's avatar
asikanddestroy
Unread hot topic
232 177,677
Tetriser's avatar
Tetriser
Unread hot topic
266 15,903
GameeApp's avatar
GameeApp