Best way to create terrain for hill climb Racing game

I am working on creating a game like hill climb racing with help of this github project: https://github.com/MarkHenryC/BillyCart.

Also I saw below post.I want to know is there any better way to create terrain?because according to developer post,this way takes too much memory

 Link: https://forums.coronalabs.com/topic/37822-uphills-racing-my-first-corona-game/?p=197367

 I also see TinyPenguin project,but terrain cannot be filled with image.

Hi @arash.ataafarin,

There are various ways to assemble “hill” terrain using the physics engine. One method is to assemble the various pieces and place them side-by-side, however, that might result in a weird “skip/bump” when the vehicle moves between different pieces (at the point where the pieces join). So, I actually recommend using the “edge shape” physics body type, which allows you to create pieces with up to 32 sides/vertices.

See the “Edge Shape (Chain) Body” section in this guide for details:

https://docs.coronalabs.com/guide/physics/physicsBodies/index.html

Brent

Thanks for your answer,I decided to create terrain with help of TinyPenguin project because game size is very important for me and I forgot it!

Hi @arash.ataafarin,

There are various ways to assemble “hill” terrain using the physics engine. One method is to assemble the various pieces and place them side-by-side, however, that might result in a weird “skip/bump” when the vehicle moves between different pieces (at the point where the pieces join). So, I actually recommend using the “edge shape” physics body type, which allows you to create pieces with up to 32 sides/vertices.

See the “Edge Shape (Chain) Body” section in this guide for details:

https://docs.coronalabs.com/guide/physics/physicsBodies/index.html

Brent

Thanks for your answer,I decided to create terrain with help of TinyPenguin project because game size is very important for me and I forgot it!