Skip to main content

User login

What is OpenID?
  • Log in using OpenID
  • Cancel OpenID login
  • Create new account
  • Request new password
Register
  • Home
  • Browse
    • 2D Art
    • 3D Art
    • Concept Art
    • Textures
    • Music
    • Sound Effects
    • Documents
    • Featured Tutorials
  • Submit Art
  • Collect
    • My Collections
    • Art Collections
  • Forums
  • FAQ
  • Leaderboards
    • All Time
      • Total Points
      • Comments
      • Favorites (All)
      • Favorites (2D)
      • Favorites (3D)
      • Favorites (Concept Art)
      • Favorites (Music)
      • Favorites (Sound)
      • Favorites (Textures)
    • Weekly
      • Total Points
      • Comments
      • Favorites (All)
      • Favorites (2D)
      • Favorites (3D)
      • Favorites (Concept Art)
      • Favorites (Music)
      • Favorites (Sound)
      • Favorites (Textures)
  • ❤ Donate
General Discussion

Gamedev: Extracting tiles from a tileset

grimm
Thursday, July 19, 2012 - 09:30
grimm's picture

Hi folks

Sorry for the following noob question: How do I extract tiles from a tileset such as this one:
http://opengameart.org/sites/default/files/grassland_tiles.png

I want to use these tiles in my game. I see that some tiles here are of different sizes (or maybe all tiles are a multiple of some fixed size). If I want to use one of the tree tiles in my program, how can I figure out what offset into the tileset I must use, and how big of an image i must extract?

Thanks!

  • Log in or register to post comments
verbalshadow
joined 13 years 4 months ago
Friday, July 20, 2012 - 20:37
verbalshadow's picture

According to the description of the tileset the tiles have a 64x32 base so all objects are a multiple of that.

http://opengameart.org/content/grassland-tileset

Have fun making your game.

  • Log in or register to post comments