Toggle menu
2
16
17
151
The My Singing Monsters Modding Wiki
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Sprite Editing

From The My Singing Monsters Modding Wiki
This article is a stub. You can help the My Singing Monsters Modding Wiki by expanding it.
This article discusses information on modding at a beginner level. Please only edit this article if you have a good understanding of the featured material.
An example sprite edit

Sprite Editing[edit]

Sprite editing is generally the most common form of My Singing Monsters modding, with it being the easiest form of modding. It consists of gfx and xml sprite editing. This article lists how to modify both gfx and xml files.

GFX Editing[edit]

Gfx editing is a type of sprite editing that allows you to modify the art assets of anything in the game. This section will list all of the steps to gfx editing.

Locating GFX Files[edit]

See File Locations.

Premultiplied Alpha[edit]

Premultiplied alpha is a technique used in computer graphics to improve the quality of images with transparent or semi-transparent areas. Across all of the gfx files in the game, all gfx files are premultiplied. To properly edit gfx files, you must first unpremultiply the image. While there are many ways to do so, the most common way to do so across modders is to use a paint.net plugin called PreMultiply Alpha. After doing so, the image will no longer be premultiplied, and you are free to edit it. After you're done with editing, you will have to premultiply the image again, or else the modified sprites will have a crust around them in-game.

XML Editing[edit]

Xml editing is a type of sprite editing that allows you to change each sprite's coordinates, allowing for extended sprite borders, as well as being able to change if a sprite goes up, down, left, or right, and how much it goes in that direction. The xml files used in the game are created by TexturePacker.

Locating XML Files[edit]

See File Locations.

Spritesheet Graphic File[edit]

Through the xml files, you are able to change what spritesheet the file calls for. To do so, you have to change the image path located after "imagePath" to match the desired image. After doing so, you also have to change the width and height called for in the xml file to match the image's width and height.

Sprite Coordinates[edit]

Sprite coordinates determine where the sprites in a spritesheet are. Changing the coordinates of a sprite can allow for many things, such as allowing spritesheets to be reorganized, for certain sprites' borders being able to be extended, allowing for bigger sprites, etc. Sprite coordinates are labelled as x, y, w, and h. To edit these, you simply have to edit the number specified in the quotation marks.

Cookies help us deliver our services. By using our services, you agree to our use of cookies.