Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: garrettmickley on March 13, 2014, 03:22:02 PM

Title: Tetris Style Spawn 'n' Drop
Post by: garrettmickley on March 13, 2014, 03:22:02 PM
Hello! Can anyone point me in the direction of how I would set up a Tetris style spawn and drop? I'm just dropping random colored cubes.

I need them to spawn and drop w/in a grid and stop when they either hit the bottom of the grid OR a block below.

I'm pretty sure I can figure out how to spawn random objects but I need help with how to set up a grid and have them spawn w/in that grid and then drop down in a reasonable speed.

I have Tidy Tile Mapper as well if that helps but I don't mind not using it if someone knows how to do this w/out it.

Thanks!
Title: Re: Tetris Style Spawn 'n' Drop
Post by: garrettmickley on March 13, 2014, 04:13:47 PM
I know how to move a cube down using Translate, so I don't need to know how to do that unless someone has a better idea of how to move the cubes down.
Title: Re: Tetris Style Spawn 'n' Drop
Post by: jeanfabre on March 14, 2014, 06:59:21 AM
Hi,

 yep, translate is the way to go here. Have you sorted the grid positioning?

 you can use itween as well if you know the final destination point in advanced that's going to be your easiest way out.

bye,

 Jean