I am trying to make a game where objects are falling from the top of the screen to the bottom.

I am trying to make a game where objects are falling from the top of the screen to the bottom.So any one here who tell me how to behaviour or which behaviours are useful in this Game.

Comments

  • BoomshackBarryBoomshackBarry Member Posts: 712
    If you're unsure how to make something move down the screen then I think maybe you need to take a look through some tutorials, the manual and the cookbook (on this site under help) to get an understanding of the behaviours and what they do.

    You could move something from the top to the bottom of the screen using the move behaviours, or you could change linear velocity, accelerate, or use the physics engine and gravity... they're all useful in different situations. With such an open ended question it's impossible to say which will suit your needs.
  • GamexsGamexs Member Posts: 35
    Thanks for great reply ...
  • GamexsGamexs Member Posts: 35
    i was review the tutorial but not understand the perfect,so make falling object automatic when play button pressed which behaviour i should use dear ...?
  • BoomshackBarryBoomshackBarry Member Posts: 712
    This page should cover it pretty clearly:

    http://cookbook.gamesalad.com/tutorials/1/parts/6

    But to get you started just put a 'move' behaviour in the actor and set it's direction to 270 degrees, then play with it's speed setting to adjust it to how you like.
  • KevinCrossKevinCross London, UKMember Posts: 1,894
    edited August 2013
    On your play button have a rule that changes a game attribute called Game Started to true. On the actor that spawns falling objects have a rule that only spawns falling objects when Game Started = true. At the end of your game set Game Started to false which will stop the objects from falling.

    This is one basic way of achieving it. There's no doubt a dozen more ways to do the same thing.

    What tutorials are you following/ working with?
  • GamexsGamexs Member Posts: 35
    Thanks..kevin

    i am just following cookbook of game salad .....is there any better for me ..
  • StormyStudioStormyStudio United KingdomMember Posts: 3,989
    In case you want another reference for your game..

    I've got a 100% free template here, which has items falling down, lives, score, collectables... simple but hopefully useful to learn from.
    image

    Download it here: (There are a couple of other useful free downloads to learn from too).
    http://stormystudio.com/game_templates/hearts_score.html
  • GamexsGamexs Member Posts: 35
    @StormyStudio ..Thanks brother for this links
  • VolontaArtsVolontaArts Member Posts: 510
    go to youtube and watch tutorial... that help me a lot
  • GamexsGamexs Member Posts: 35
    Hi, still i m trying to make falling object from the sky ....but not going success ....do u know the steps pls let me know ..

    How to object fall from the sky automatic when we pressed play
  • StormyStudioStormyStudio United KingdomMember Posts: 3,989
    What setup have you got... Did you download and look at the free project I gave you the link to?

    If your gravity is on.

    And an actor is spawning other actors at the top of the screen (and these actors are moveable, which is the default setting). They will fall down.

  • GamexsGamexs Member Posts: 35
    edited August 2013
    ok wait i will send u my project which i have created for falling object ..

    Below are the step which i have taken.

    1- create actor which fall from the sky(ball)
    2- Create rule for actor ball .
    3- include timer attribute in Evert sec.
    4 - add spawn Actor ...Actor = ball , layer order = in front of actor ,direction = 270
    ,relative = actor ,position =0.0 ,relative = actor .

    and drag this actor in screen .

    Please let me know is there any missing
Sign In or Register to comment.