Amazing Brick..... how i code falling Attribute
arabianwolf
Member, PRO Posts: 79
how i can make falling attribute like amazing brick
Comments
What is a falling attribute?
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
What is 'amazing brick' ?
Never had an integer just fall right out of place? That's the worst! Don't get me started on falling text strings... the obvious solution is to use a bit bucket to catch them all.
Follow us: Twitter - Website
Alright, sarcasm aside. I think you mean falling actor, correct? If so you'll need to make a brick actor and make it fall by using some sort of movement downward. I would use the move behavior (gravity, accelerate, move to, move, and interpolate all could potentially work), if you want to recycle actor just say when self.posY is lower then Y value (0, -100, w/e) go back to top (change self.pos.Y), you could also randomize the x pos at this point too.
If you are looking at using multiple bricks it also might be a good idea to spawn them over and over on a timer with x randomization or something similar. as GS handles spawns pretty well now days.
Follow us: Twitter - Website
amazing brick .... https://itunes.apple.com/us/app/amazing-brick/id905455244?mt=8
i am making game like amazing brick with different idea
i managed to done 90% of the project
the problem the camera follow the main actor , when it fall down he died
but the camera continue to follow the actor so it will keep down till the start of scene
i hope i can find a solution.