AI-generated mobs


Is it possible to make a game with infinite content?

Maybe. I believe generative AI offers the best chance of achieving it. I'll dive deeper into this topic in future devlogs.

AI-generated mobs in 6 steps.

1. Craft an infinite number of mob names.

When a player combines two "Things" (which could be an item, block, or another mob), AI determines the type and name of the result. For example, Clay (block) + Life (concept, block) = Golem (mob).

2. Let AI write the code.

The new mob class inherits from an abstract class that defines its properties—shape, size, arms, legs, torso, head, neck—using cube-shaped parts with configurable dimensions. It also includes properties like speed, jump height, and aggressiveness, as well as methods such as the mob’s behavior when attacked by the player.

3. Train a custom AI model to generate UV textures for the generic mob model.

Example output:


4. Generate sound effects, like footsteps, jumps, hurt sounds, and attack sounds.

This feature is still a work in progress and is not yet available in the game.

5. Use an LLM to generate a mob description.

This tells the player what to expect from the mob. The description is generated based on the mob’s code, which defines nearly everything about it.

6. Let players spawn the mob in their world.

All of the above steps need to be executed quickly, ideally in less than a second. They also need to be cost-efficient since a single player may generate thousands of mobs. Despite this, the results should maintain a high level of quality, coherence, and be interesting in game.

This short blog post is an experiment to gauge interest in the development side of Infinite Blocks Craft.

Files

Infinite Blocks Craft 37 MB
Version 2 39 days ago

Get Infinite Blocks Craft

Buy Now$4.99 USD or more

Leave a comment

Log in with itch.io to leave a comment.