Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Easy Tiles  (Read 3023 times)

0 Members and 1 Guest are viewing this topic.

Hugo

  • Jr. Member
  • **
  • Posts: 60
    • View Profile
Easy Tiles
« 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)

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Easy Tiles
« Reply #1 on: July 08, 2010, 11:06:30 pm »
This can be an extension, I don't think that it requires to add something directly to SFML.
Laurent Gomila - SFML developer