SFML community forums
General => Feature requests => Topic started by: Hugo on July 08, 2010, 09:37:32 pm
-
Hey, mr Creator? Laurent, can you add a function for easy tile creation?
Heres my suggestions, you could do it like: sf:draw::tile, image, start tiling at position(x, y), end tiling at... , space between tiles.... Etc, and tiles could be sprites to allow for alpha, rotation, collisions....
Ohand the tiles could be named like, (image name)_tile_(tile#)
Sooooo......
imageGrass_tile_34
imageGrass_tile_34.GetRotation
imageGrass_tile_34.SetAlpha(.45)
-
This can be an extension, I don't think that it requires to add something directly to SFML.