Despite the name, sf::Tilemap is not an extension to SFML, but rather a Map Editor built around it. This is a little something I was working on for my next few projects. It is a simplistic Map Editor with a few basic controls. This is just a project I like to work on when I'm stumped or bored.
Below is a list of current and planned features.
Controls-------------------------------------
- Left click to place tiles.
- Right click to delete tiles.
- Middle click to change current tile to tile at location.
- LShift Left click to fill layer.
- LShift Right click to empty layer.
Current Features-------------------------------------
- 512x512 Map Canvas to build on.
- 32x32 Tile support.
- Scrollable tile set window 256x(Tile set Height).
- Layers.
Planned Features-------------------------------------
- Customizable Map Canvas.
- 16x16 and 64x64 tile support.
- Layer Attributes.
- Jukebox : Add audio relative and non-relative to player.
- Light : (LTBL2?)
- Saving/Loading, prebuilt DLL for easy implementation.
- Attach tileset window to Canvas window, option to drag it off.
- Optimize code (Implement OOP)
Screenshots:
Blank Canvas, Showing off layout.
Simple Test map I made.
Tiles are public domain images, not created by myself.