Infinite Props - Create procedural 2D game assets from seeds

by•
Write a 2D prop once, as a small program, and every seed gives a new one: swords, trees, butterflies, portraits. A whole forest compiles to 1,883 bytes and draws the same pixels in Unity, Godot, the browser and C. Free to use, commercial games included.

Add a comment

Replies

Best

Hi Product Hunt 👋

Infinite Props is a small language for 2D game props. You write a prop once, as a recipe, compile it into one .iprop file, and every seed gives a new one. A whole forest compiles to 1,883 bytes.

What makes it practical in a real game:

• Same seed, same pixels: identical RGBA bytes in Unity, Godot, the browser, C/C++, Swift, Kotlin and Python. A save file stores a seed, not a texture.

• Inputs are your loot table: rarity, frost, moss or a colour are inputs, and the program draws them.

• Outputs come back with the pixels: a sword's tip and grip, a face's eyes and mouth, colliders.

• Safe to load: validated bytecode with a hard fuel budget.

• New in 1.1: normal maps, so pixel art catches 2D lights.

Try it all in your browser (nothing in the playground is a stored image):

It's free to use, commercial games included. Ready-made generators (weapons, potions, butterflies, portraits and Catemon) are on with their sources.

Which prop would you generate first, and which engine should get more love?