Endless Runner

DimensionGamesDimensionGames PRO Posts: 993
edited March 2012 in Working with GS (Mac)
Hey all, Iv been working on an endless runner and have been unsure on what way to go with the coding of the platforms.

Iv been working on my code for it but my main issue is that I want to have differing widths and heights for the ground, which will leave images stretched! So that based on the previous platforms width and height the next ground actor will be random between +- a certain (width/height)

My only idea was to make a few platforms with varying widths and heights and then accordingly call on the ground actor with the nearest 'stats'. It doesn't seem the best way to do it so I wanted to see if anyone in the community had any of their own suggestions :)

Cheers.

Comments

  • DimensionGamesDimensionGames PRO Posts: 993
    bump :)
  • anchorsonanchorson Member Posts: 15
    edited March 2012
    Like you sad, changing the aspect ratio of an object will cause "stretch". So the only way without sacrificing image quality, I think , is to use another actor.
  • T8TRG8TRT8TRG8TR Member Posts: 120
    I'd recommend making a repeatable texture for platforms. Then set the image to tile instead of stretch. I'm doing that with my current game so if you have any specific questions I'd be happy to answer them ;)
  • DimensionGamesDimensionGames PRO Posts: 993
    I'd recommend making a repeatable texture for platforms. Then set the image to tile instead of stretch. I'm doing that with my current game so if you have any specific questions I'd be happy to answer them ;)
    Sounds interesting!

    Add me on Skype: Bright Spark Gaming or email at brightsparkgaming at gmail . com
  • DimensionGamesDimensionGames PRO Posts: 993
    Bump for t8TR ;)
  • SAZ_1SAZ_1 Member Posts: 397
    i assume you have your problem solved then...
  • DimensionGamesDimensionGames PRO Posts: 993
    Just bumped so that he knew that I had posted my details :) You got any suggestions? :p
Sign In or Register to comment.