SkillAgentSearch skills...

UnityFactorySimulator

This is the core of the factory simulation I'm using for my game Made in Mars, released for free for using as a starting point in your projects!

Install / Use

/learn @atahan-git/UnityFactorySimulator
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

UnityFactorySimulator

This is the core of the factory simulation I'm using for my game Made in Mars, released for free for using as a starting point in your projects!

You can see the code is fully unit tested, and the code includes a simple ASCII renderer.

The belt system in this factory works as follows:

  • Connectors transfer items between belts and buildings (also belt to belt and building to building). They can only be linear, and cannot transfer from connector to connector.
  • Belts moves items forward. They can only be linear.
  • Buildings check for their input slots each tick, and craft the item and put it to the output slot if they can.

Example

Hope this is useful! You can use this as a starting point in any game you want, as long as you list me somewhere! Check the license for more details.

You can also check the full game's source code here: Made in Mars git repo However beware, the same factory sim is much more extended there, and is over twice as long as the version here.

View on GitHub
GitHub Stars8
CategoryDevelopment
Updated11mo ago
Forks0

Languages

C#

Security Score

77/100

Audited on Apr 24, 2025

No findings