Dev Log: Generating Demo Sprites for SpriteDX

Sprited DevSprited Dev
2 min read

Dev Log to keep myself sane mostly…

Goal for today was to create/generate a demo character sprite sheet that I can use for SpriteDX demonstration.


Trial #1

Starting character reference image was generated by using series of chained image generation tools.

First, in MidJourney:

Prompt: 20 characters of the 2d side scrolling game "Machi"

Reference Image (created manually):

https://s.mj.run/aWj3ike4O_0

MidJourney Result:

asset image

Then using Flux Retro Aesthetics → Image-to-image w/ Influence 50, Steps 28, Guidance 3.5.

Prompt: character sheet of 10 chibi characters cute japanese style for sidescroller game Machi

asset image

Picked out the bottom right character.

Then, used Aseprite > Sprite > K-Centroids to downsample it to a native pixel dimensions.

Then did some manual clean up (84 pixels tall)

Now, we use Seedance 1 Pro to animate it.

Prompt: Sprite animation of character faces right and idles. Then runs

Duration: 5
Resolution: 480p
Aspect Ratio: 16:9
Camera Fixed: Yes

Now, this image is zoomed and we need to bring it back to the native pixel dimensions.

  • Idle pose at native resolution is 84 pixels tall.

  • Blown up characters is 242 pixels tall.

  • So, we need to apply zoom of 84/242 = 34.71%.

  • We will use Aseprite’s K-Centroid Resize.

Resulting Gif Image:

At this stage, the image outlines became little bit thinker and blurrier than how we want it. My thinking is that we will need to pass it through another model to get pixel perfect version. I quickly tried running it through the Flux Retro Aesthetics, but it wasn’t able to produce a good result.

Let’s ignore that for a bit here and try making background transparent by using Aseprite’s “Remove Background” feature. Default Alpha Threshold of 10 didn’t work very well:

So, tried “Inspyrenet“ node which seems to provide much better results.

It’s not perfect though, so may need to find a different model.


Gotta go. Today was a short day due to some other thing that I had to take care of.

—Sprited Dev

0
Subscribe to my newsletter

Read articles from Sprited Dev directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Sprited Dev
Sprited Dev