Skip to content

Getting Started

Saritahh edited this page Oct 25, 2026 · 7 revisions

Before even opening up your file explorer and creating a bunch of files, we need to know how PlayerSprites interprets things. There aren't a lot of concepts, and once you understand them, making a pack is pretty simple.

Important Concepts

PlayerSprites reads Sprite Packs, which are basically the mod's own form of Texture Packs, like the ones you use to get a custom menu or custom icons! It's kinda the same for this mod, except the structure and its contents are pretty different. A Sprite Pack is essentially a folder containing:

  • A bunch of PNG images (the frames of your animations).
  • A spr-pack.json file that says which images to play, and very importantly when to.
  • A pack.png that acts as the pack's icon in the mod's menu.
  • And optionally, a sounds.json plus some audio files if you want sound effects too.

When you play a level, the mod checks what you're doing (not in a creepy way...). When something happens that your pack cares about, like landing, hitting an orb or dying, it hides the vanilla icon and plays your animation instead.

As for how the mod even finds your pack folder: Packs are located in a very appropiately named "packs" folder, which is located on the mod's "config" folder. This is usually located at {game install}/geode/config/saritahhh.playersprites/packs. The mod requires a registry.json file to be able to understand which packs to even fetch. Don't worry though, this is handled by the mod itself! (You CAN edit it manually if you wanna register your own pack folder while you're creating it though, it's located at the base saritahhh.playersprites folder.)

If you wanna check out the folder, you don't have to find it by yourself, though! Just head over to the mod's popup and click on the Folder button at the bottom right to open it automatically.

Gamemodes

You play GD, so you already know what these are. A pack can define animations for any gamemode. The names the mod will look for are:

Cube, Ship, Ball, UFO, Wave, Robot, Spider, Swing, Jetpack

These ARE case sensitive, so cube or ufo won't work.

Every gamemode is independent. A pack can animate only the Cube and leave everything else vanilla, or do all eight. If a pack has no animations at all for the gamemode you're currently in, the mod just leaves your icons alone like it doesn't even exist.

Events

An event is something that happens in the game. NormalJump, HardLanding, YellowOrb, PortalShip, DashStart, etc. If you're familiar with the editor and have used the Event Trigger, you pretty much have access to all of those events in here, and the mod lets you attach an animation (and sound effects) to any of them! The full list is in Available Events.

On top of the game's events, PlayerSprites has a few of its own, we'll call them Mod events, which are all named Mod:Thingy. These are special events that aren't available in the game's event system, such as an event that runs on platformer idle, on death, or when nothing else is happening. These will be covered in Mod Shortcuts & Special Events.

Animations

In the pack's json, each animation is defined as an event entry inside a gamemode. Each entry says:

  • Which folder the images are in, and what they're called, following a pattern.
  • How many frames there are, and how long each one lasts for.
  • What event(s) triggers the animation
  • And a bunch of optional behavior stuff (looping, offsets, how long to hold it for, what can cancel it, etc).

Frames are plain PNG files named with a number at the end, like run_01.png, run_02.png, run_03.png. The mod puts them together for you. You can also do a single frame animation if all you need is one static image.

The "base" animation(s)

Two Mod events work a bit differently from the rest, and they're the ones you'll probably wanna take care of first:

  • Mod:Update is your default animation. It plays whenever nothing else is playing. This is your "main loop", the animation that plays while running, etc.
  • Mod:Idle is the same thing, but for Platformer levels when the you're standing still.

Everything else (jumps, landings, orbs) plays on top of the base animation, and once it finishes, the base animation takes over again. Hopefully you understand why they're so important now.

Classic & Platformer

Classic and Platformer levels are handled separately by the end user, they can turn a pack on for one, the other, or both. For you as a creator though, the moment you define an animation for, say, the Cube, that animation is already counted for both Classic AND Platformer. Therefore, you should have both Update and Idle animations present.

User Control

Users can have as many packs installed as they like. Here's how the mod picks between them:

  • For Sprites: For each gamemode, the first enabled pack (in the order they show in the popup's list) that has animations for that gamemode and has that gamemode enabled is the one that gets used. So, one pack can edit the Cube, another the Ship, another the UFO, and so on.
  • For SFX: The first enabled pack with SFX on that has a sound for the event that just happened is the one that plays.

Packs you import start disabled, and get placed at the top of the list, so they take priority over the ones you already had. Packs you register manually in registry.json are enabled by default and stay wherever you put them in the array.

Users can turn things on/off per pack: the whole pack, Classic, Platformer, each gamemode, each individual animation, SFX as a whole, and each individual sound. Keep this in mind when naming your animations and sounds! since the names you pick show up in the user's menu.

Let's speedrun a pack!

Okay, maybe not speedrun, but, just for you to get the gist of making a pack with examples quickly if you don't wanna read the entire wiki right NOW (you definitely should later, though...), let's make a quick pack that does the bare minimum: A looping animation for the Cube. We're gonna be creating the pack in the mod's folder itself, so you don't have to then copy it over or zip it to install it.

  1. Create pack. First, head over to the mod's "packs" folder (you can do so via the mod's popup), make a folder for your pack, say we call it MyFirstPack.

    1.1. Register pack. Then, go back a folder (to the saritahhh.playersprites folder) and find registry.json. Open this file up and edit it, you'll probably find something like this:

{
	"packs": ["some-pack", "another-pack", "this-is-scary", "not-really-no"]
}

simply edit it to add, literally, , "MyFirstPack", so, the packs array should look like: "packs": ["some-pack", "another-pack", "this-is-scary", "not-really-no", "MyFirstPack"], with your newly registered pack at the end.

  1. Add your frames. Make a subfolder called something like cube, and put your frames in it, named something like run_01.png, run_02.png, run_03.png, run_04.png.

  2. Add the pack.png file. Any image you want to use as the pack's icon, at the root of your pack's folder.

  3. Create the spr-pack.json file at the root of your pack's folder, and make this its contents:

{
	"setName": "My First Pack",
	"author": "Me",
	"events": [
		{
			"Cube": {
				"Mod:Update": {
					"subfolder": "cube",
					"spriteBaseName": "run_",
					"frameCount": 4,
					"frameTime": 0.08
				}
			}
		}
	]
}
  1. Playtest! Head over to the mod's popup, then click on the Reload button, enable your pack and hop onto a level with a cube to test your new animation!

Your folder should end up looking like this:

MyFirstPack/
├─ pack.png
├─ spr-pack.json
└─ cube/
   ├─ run_01.png
   ├─ run_02.png
   ├─ run_03.png
   └─ run_04.png

If you want to keep working on your pack, just go back to its folder and mess around! Once you did some changes and wanna try them out in-game, then press Reload in the mod's menu and enjoy your additions!

That was easy, right? ihopeso.

Where to go from here?

Now that you've created a proper, working pack, it's time to start adding stuff to it! Check out these next pages for more info on how to proceed with your Sprite Pack!

there's nothing yet.

Clone this wiki locally