Slime Simulator
- 6 Devlogs
- 12 Total hours
A simulator that is about making crazy slimes through natural selection, evolution, and genetic engineering. [Will be worked on after school year]
A simulator that is about making crazy slimes through natural selection, evolution, and genetic engineering. [Will be worked on after school year]
This update is mainly focused on relationships. Slimes can now interact with each other.
How it works:⚙️⚙️⚙️
Formula for the value of interacting:
(100 - stats[2]) / 100 - Vector3.Distance(FindClosest(otherSlimes, Mathf.Infinity, "pluh").transform.position, transform.position) / 20;
Later updates: 🔨🔨🔨🔨
Big fixes: Sometimes after an interaction, slime glitches out and has a seizure. The seizure is temporary but I still want to fix this issue.
Slime mating: If slimes have a very high bond, they can have baby slimes. (Baby slimes will have the genes and DNA of their parents)
Things I added: ⭐🐵
Slimes now has an idling state. This mean that when they dont have anything to do, they will just wander around to nearby places or stand still. This mechanic is to make the slimes feel more alive.
Made it so that whenever a slime finishes a task, they will have a cooldown for around 2 seconds. Then they can do their thing again.
Fixed bugs, like the UI not working right and the slime tweaking out whenever they finish pathfinding.
Thing I will add later: 🔨🔨🔨
Slimes will soon have relationships with other slimes. They can be friends or enemies. Since I already coded the pathfinding, it should be easy.
Slimes who are enemies will attack each other.
DNA and Genes will be added later on. Parents will be able to pass their genes to their offsprings.
Devlog 3.😩😩😩
Things I added:
Slimes now have color!
There is a statistic text at the top-left. Whenever you click on a slime, it will show the stats of that slime.
Fixed a bug where slimes stop whenever they collect food.
Things I added:
I wanted to make each slime have a unique name, so I added a name generator. How this works is a script will put random words from a text file that contains nouns.
Slimes now has different movement speed. The average speed of all of them should be around 0.7 block/sec. (Lowest speed: 1 b/s, Highest speed: 0.4 b/s)
Slimes now have hit points. If the hit points go to 0 they will die. (Lowest hitpoint: 70, Highest hitpoint: 140)
If the slime has 0 hunger or is too tired, they will slowly start to lose health and die.
Made the github repo, so people can see my cool code.
2nd Devlog🥵🥵🥵
Note: Still no github repo for you
Things I added:
I put together the slime, so now it can walk around and do things slimes do.
The slime now has a food source, so the slimes can now walk around and collect some nutrients.
Things I will add in the future:
1st Devlog!
Note: No repo yet, I will add it later.
Things I added:
Made the structure of a slimes’ brain and mechanic.
Made my own AI pathfinding thingy. Right now it doesn’t support obstacles, but it will soon.
How the slime’s brain works:
Updates for later: