How to work with edge Texture

Posted by XzenTorXz on Game Development See other posts from Game Development or by XzenTorXz
Published on 2012-09-13T13:04:17Z Indexed on 2012/09/27 15:52 UTC
Read the original article Hit count: 190

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

© Game Development or respective owner

Related posts about JavaScript

Related posts about canvas