How to evenly space platforms for a canabalt style game?

T8TRG8TRT8TRG8TR Member Posts: 120
edited February 2012 in Working with GS (Mac)
I'm working on a game that's kind of like canabalt. Basically I need the platforms to be evenly spaced. I really don't know how to do this. I have the speed increasing constantly and different lengths of platforms. I've tried a few different things, but none of them work very well. Any tips?

Comments

  • T8TRG8TRT8TRG8TR Member Posts: 120
    That works great!

    I made it so that each platform actor has a "PlatformLocation" attribute instead of making it a game attribute. I constrain the attribute using your formula. I also have a rule in my platform actor so that it spawns a new actor using the other formula. I don't think that should affect anything.

    Thanks so much! My brain doesn't really work right right after school haha.
Sign In or Register to comment.