Menu

Manual

Manual

Loading a Texture

Any file format that Qt can load should work. I chose a lovely spritesheet from OpenGameArt http://opengameart.org/content/twelve-16x18-rpg-sprites-plus-base....

Zooming And Panning

You can zoom in and out of the image by

  • scrolling the mouse wheel while holding down SHIFT
  • pressing '+' or '-' while holding down CTRL
  • pressing '0' while holding down CTRL resets the zoom factor

You can also pan the image using the mouse by holding down the right mouse button and SHIFT.

The Grid Tool

Set the grid up for 16x18 size sprites:

Set the marker by moving the mouse over the texture while holding down the left mouse button:

The marker is indicated by the dotted red line. Inside the marker we get a little preview of all the sprites that fit into the marker.

To align the marker with the pixel border, you can drag the marker around using the mouse. You can also use the input widgets on the left to set the marker and grid parameters.

We are finished with setting up the grid. Now it is time to create the sprites:

You can see that 12 sprites have been added to the spritelist.

The Edit Tool

Bulk-Rename Sprites

To (re-)label several sprites at once, select them in the sprite list and pick "Rename selected sprite" in the context menu.

The re-labeled sprites:

C/C++ Header File Export

The sprite list can be exported as an enum and written to a C/C++ header (.h) file. This is useful whem you want to refer to individual sprite numbers by their name from a C/C++ program.


Related

Wiki: Main_Page

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.