Stacking actors at the bottom of the screen
Mooseface
Member Posts: 13
Hi, I was wondering if anyone has a way to achieve this:
i have a game that involves bubbles falling from the top of the screen at random points, I want it so that when they reach the bottom they stack on-top of each other, and steadily fill the screen.
Has anyone got a way round this?
Comments
You mean like Tetris? Make a prototype rule for the bubbles: Condition - Collision (overlap with ground) Do - Collide.
Then do the same when they overlap with each other. Go to prototype bubble and to physics, then set bounciness to 0, or 1 if you prefer them to bounce a little after hitting the ground/each other.
I assume you already have gravity and random spawners and stuff. I'm not overly pro at this, so I might be wrong. Worth a shot, right?