I am trying to make a game where objects are falling from the top of the screen to the bottom.
Gamexs
Member Posts: 35
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
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.
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.
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?
i am just following cookbook of game salad .....is there any better for me ..
I've got a 100% free template here, which has items falling down, lives, score, collectables... simple but hopefully useful to learn from.
Download it here: (There are a couple of other useful free downloads to learn from too).
http://stormystudio.com/game_templates/hearts_score.html
How to object fall from the sky automatic when we pressed play
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.
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