# Bumpy Surfaces?

**URL:** <https://forum.kirupa.com/t/bumpy-surfaces/320049>\
**Category:** programming\
**Created:** [March 12, 2011, 4:53pm UTC](https://forum.kirupa.com/t/bumpy-surfaces/320049 "2011-03-12T16:53:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![FMSFS](https://avatars.discourse-cdn.com/v4/letter/f/48db29/32.png) [@FMSFS](https://forum.kirupa.com/u/FMSFS)\
**Post date:** [March 12, 2011, 4:53pm UTC](https://forum.kirupa.com/t/bumpy-surfaces/320049/1 "2011-03-12T16:53:01Z")

</div>

hey, i am trying to create a scrolling background with bumpy surfaces in which the character moves along with the arrow keys. similar to the bmx/motorbike/monster truck games e.g. [http://www.teagames.com/games/tgmotocross/play.php.](http://www.teagames.com/games/tgmotocross/play.php)

However i am not too sure where to start :(, i have been thinking about generating the surface using code i.e. drawing a line generated from code. another method in which i can use (i think, correct me if im wrong) is that i can use a huge bitmap image and use collision detection?

is there any other ways that are better or more efficient to try to replicate this type of bumpy surface?

thank you
