View Full Version : Box2d: Setting up the ground

Feb 19, 2012, 03:24 PM
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!