Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

Im not sure if i use the right terms, but im not able to find something to start with.

Im trying to develop a little HTML5 game. I have a ground with a texture and now I want to make a surrounding texture. The texture is an image wich should be bend around the ground.

At the moment im using easelJS for display my images/textures. So im looking for some sort of Tutorial/Script/Advice. Im not even sure if I can bend a image in javascript. So the worst case I can think of is split the image in 100 pieces and then put it back together and rotate each piece.

for example like this:

edge Texture

share|improve this question
    
Are you asking about how to make a grass layer to follow your ground? Cos it's hard to see the idea on your picture. –  Krom Stern Sep 27 '12 at 18:51
    
yes the question is how i can bend the image to fit the ground –  XzenTorXz Oct 17 '12 at 8:44
1  
Take a look at this question, it looks similar to yours: gamedev.stackexchange.com/questions/15302/… –  Krom Stern Oct 18 '12 at 7:46
add comment

migrated from stackoverflow.com Sep 27 '12 at 14:21

This question came from our site for professional and enthusiast programmers.

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.