Actor spawns off screen

njvdberge@gmail.comnjvdberge@gmail.com Indie Game DeveloperBreda, the NetherlandsMember Posts: 22

Hey there,

I'm creating a infinite runner with spawning platforms to the right.
I've got a perfect spawning system set up. well almost perfect.
i made every platform which spawns, spawns random between 50pixels and -50pixels of the last platform location.
i simply use the spawn actor behavior.
but here is my problem, when i play some times my platforms will spawn to low or to high so they spawn off screen.
this is a bit hard to play and it doesn't look nice, how do i prevent that they spawn off screen?

Sign In or Register to comment.