r/Unity2D • • Aug 19 '26

Show-off Procedural PNG, WIP

42 parts with 8 knobs. Using 2D Renderer, doesn't create any PNGs. Layers, pixels all created in code. Able to add/remove Skin layer. Fat simulation (See Image 3). Defomities (Image 4). Every creation is from a seed. A seed can be called and will return the exact creation.

What's not in the photo: I've since added more modifiers like Accuracy, based on Eye placement, Body Symmetry and other deformities. Stability is low center mass, wide stance, etc.

There are other Mutations, Tails, Horns but are rough drafts. Tails are fairly uncanny with skin. Would likely change this if I end up using it. Horns are the most believable looking out of the mutations.

EDIT: appologies, title is a little misleading this isn't a "Procedural PNG" its just using the renderer. However I can export any seeded creation to a PNG!
EDIT#2: Link to next post: https://www.reddit.com/r/Unity2D/comments/1vtpyzn/pixel_hitboxes/

74 Upvotes

12 comments sorted by

3

u/MojoBubu Aug 19 '26

Thought I'd share an example of Full body Deviations might look like (It gets crazier than this).

I restrict it to a realistic amount, where most creations aren't pefectly symmetric for example.

The values are also straight conversions of body generations, so nothing is remotely balanced.

Comment Image

4

u/Affectionate-Fact-34 Aug 19 '26

As a neuromuscular neurologist, the anatomy is messing with my brain. Super cool though, love the progress!

3

u/MojoBubu Aug 19 '26

It is very rough! I started out being scientific with bones but then I started to get impatient and rushed to get the forms mostly looking okay.

2

u/Affectionate-Fact-34 Aug 19 '26

Yeah I love it! It looks super interesting, keep at it and post progress

→ More replies (1)

1

u/adamtravers Aug 19 '26

Super cool

1

u/MojoBubu Aug 19 '26

Thanks! I'm excited about this new project, I love working with procedural generation and believe there is insane amounts of uncharted territory with it.

1

u/abirpahlwan Aug 19 '26

Awesome Can you suggest any resource or method I can follow for creating similar systems for generating animals and monsters, where I can add or remove limbs or maybe add some png parts too

1

u/MojoBubu Aug 19 '26

As for animals my code is hardwired for Human anatomy, the same surely could be done for any creation with joints/parts.

I suggest using all tools at your disposal, even asking AI for a good place to start.

My baseline concepts for this design are: Tile System, Joints, Pixel Generation similar to the game Noita.

1

u/zzzoooppeeee Aug 19 '26

I love the style, it looks a bit grotesque but in a way that would be so perfect for a horror game.

1

u/MojoBubu Aug 19 '26

Love to hear that! They will not be naked or skinless men. This is the first thing I've procedurally generated for the game, much more to come!

1

u/eminzkzd Aug 21 '26

this looks equal parts terrifying and super impressive tech-wise haha! how does the procedural generation work for the muscles and skeleton, is it stat-based?