Box2d: Setting up the ground

Discussion in 'iOS Programming' started by queeks, Feb 19, 2012.

  1. macrumors newbie

    Feb 19, 2012
    So I have a a problem with trying to create or set an uneven terrain for my sprite to move across on.

    Currently I have a scrolling background using the same background image repeatedly alongside with gravity. However instead of having the bottom of the screen as my ground i would like to create set my own uneven terrain.

    I tried using vertex helper to create this, but unfortunately that didn't seem to work. If anyone has any suggestions that would be great!

Share This Page