Slime Simulator
- 33 Devlogs
- 156 Total hours
A simulator that is about making crazy slimes through natural selection, evolution, and genetic engineering.
A simulator that is about making crazy slimes through natural selection, evolution, and genetic engineering.
Devlog 33
I dont know when to stop this project, I have a lot of things to add…
Check out my game here!
https://respectabledot.itch.io/slime-simulator
Things I added:
Day/Night Cycle! Every minute it switches from day to night or vice versa.
When at night, slimes and buildings glow so they are easier to see. Also, it looks cool. (The light thing took a long time to figure out)
There is a notification bar that tells you what is currently happening in the world.
When guns fire, it will create a muzzle flash effect.
New Items:
FN SCAR: A powerful gun that hits hard. It is kind of inaccurate though.
Laser Gun: Its bullets are faster than other guns. Does decent damage.
Devlog 32
Things I added:
Houses are a new building. Currently they don’t really do anything, but later on they can be used for slimes to sleep in.
Doctors is a new ability that treats and heal slimes. Their item is a medkit.
When you favorite a slime, a star icon will show up above them. This helps keep track of your favorite slimes.
Added 8 new cosmetics!
New Items!
MP5: A submachine gun that fires really fast.
Blue staff: A staff that is blue and shoots out 3 blue balls.
Katana: The first melee weapon. Does a lot of damage.
Medkit: Used by doctors to treat and heal other slimes.
M1911: Originally called the pistol.
AR-15: Originally called the Rifle.
MP-133: Originally called the Shotgun.
Things I will add:
More cosmetics coming soon!
Houses will have a function other than doing the embappe special
Game link here:
Devlog 31
I forgot to devlog again :(
Items and Equipment
Slimes can now have items. Items can help them complete tasks or give them a buff.
To see what item the slime has, check in the slime stats.
Items currently in the game:
Hammer: Used for constructing buildings.
Hoe: Used by farmers to farm.
Pistol: For killing slimes.
Rifle: For killing slimes.
Slime characteristics and stuff
Instead of slimes being the same size, they can be big or small. This makes it more realistic, I guess.
Slimes can pass down their family name. If the two parents have different family names, the offspring chooses one of them.
UI Changes
The section for terrain editing got a small upgrade. Next to the text, there is an image of the block to show you what it looks like.
At the top-right corner of the slime statistics page, there is the X button that closes the UI.
You can check what equipment the slime is using by going to the slime UI & statistics
Other
Devlog 30
Spells control and influence a slime mentally and physically. Currently, there are only 4 spells. I will plan to add more of them in later updates.
Devlog 29
I am currently working on another update but I forgot to post a devlog, so I will post a devlog for the things I finished then post the ones I haven’t finished yet.
Things I added:
After taking some feedback, I changed some stuff inside the slime UI. Instead of just plain text, I added pictures and icons to make reading a slime’s information much easier. I also replaced most of the transparent boxes with some better ones that are drawn.
For the cosmetics, I added around 10 new hats.
Devlog 28
Slimes can establish kingdoms if there aren’t any or are far enough away from other kingdoms.
If a slime is spawned by the user, the slime will head to the cllosest kingdom(If close enough). But if a slime came from another slime, they will automatically be part of the kingdom.
A slime can create a settlement if they are already in a kingdom and is far enough away from it.
If a slime has one parent from a kingdom and another from another kingdom, then they will random choose which to live in.
A slime farmer can only work in the kingdom’s fields.
Things I will add next time:
Check out my game here:
Devlog 27
Things I added:
Violence is a lot more encouraged between the slimes. There is too much peace.
Added lettuce. Instead of the slimes growing meat, they grow lettuce. This is a lot more normal.
Slimes have a Walking Animation, which is just them expanding and shrinking constantly.
Food generation in farms is reduced because this encourages them to explore the world more.
Bug fixes
Buttons in the bottom bar will not activate when users are cancelling them.
In planting mode, blockable objects like trees will destroy items beneath them.
In building mode, changing a tile will cause things that are stuck on top of them to disappear.
Things I will add next time:
There will be a list of effects. These effects buff or weaken a slime’s body or influence the way it acts. An example could be make it faster, have more health, or make it more prone to attacking other slimes.
Clans and kingdoms is already being worked on.
Check out my game here:
https://respectabledot.itch.io/slime-simulator
Devlog 26
This is the most tiring update ever.
This update is a test, so a lot of things can be broken.
Things I added:
Added roles. Some slimes get assigned task, like constructing buildings or farming.
Added farms. Slimes can plant and produe their own food. All they have to do is place farming soil near windmills that are set up by constructors. The soil will automatically generate crops, which is meat.
Made the art for the windmill. It even has an animation!
Slimes interacting with other slimes is encouraged.
Food spawning is greatly reduced because slimes can now produce their own food.
Check out my game here:
Miscellaneous Updates
Devlog 25
Things I added:
Made a sprite for when the slimes die. It looks like a splat.
When a slime dies, their family member and friends get sad.
You can press “h” to hide UI.
Bug Fixes:
Fixed a bug where the slimes get stuck after doing eating or interacting.
Fixed the tutorial-skipping button.
Slimes don’t lose their color anymore
Check out my game here:
Devlog 24
Made a simple intro. It contains the game’s logo and unity’s logo.
Made a tutorial for the start of the game. It teaches you how to spawn slimes. If you have already played, there will be an option to skip.
Check out my game:
https://respectabledot.itch.io/slime-simulator
Devlog 22
Sorry for not devlogging more
Made a new button where you can plant weeds and trees. I don’t know what else to say but this took me so long.
Reworked the violence behavior in slimes. Before the update, slimes would attack the nearest person when they get upset and hungry (Hangry). But now, slimes may choose to slime out someone nearby OR someone who they already don’t like in their relationships list. This makes it more realistic to real life.
Reworked equation for slime violence weight: tasks[2] = distanceSlime > 18 ? 0 : (100 - stats[2] * 0.6f - stats[0] * 0.85f) / 50 + angryBias + baseTasks[2];
When slimes sleep, they will have their own special sprite for that. Also, they will have the “zzz” icon above them.
Still working on the issue where slimes get stuck after doing some task. It seems to be fixed though, for now.
My project is now on itch, go check it out!
Devlog 21
Added palm trees. They act like normal tree but spawn on sand. Also, they generate coconuts.
Made a system where the slime’s pathfinding algorithm is a lot more efficient. Whenever they find a place where it’s impossible to go, they will make a mental note of that. This reduces possessing power.
My game is now on itch, go check it out!
https://respectabledot.itch.io/slime-simulator
Devlog 20
I have something else that I worked on but there is still a little more work to go. I will post it in another devlog.
For this update, I added emotion to the slimes. Slimes will get happy when they eat food or when they talk to their friends. They get sad overtime when they don’t do anything or they get attacked.
You will know when they get upset when a emoji shows up above them.
Emojis will show up for other things too, like when eating, fighting, or interacting with others.
I will post the other part in the next devlog.
My game is now on itch, go check it out!
https://respectabledot.itch.io/slime-simulator
Devlog 19
My game is now on itch, go check it out!
https://respectabledot.itch.io/slime-simulator
—
Things I added:
Added a crosschair. THis makes it a lot easier to see what you are hovering over. The crosschair can highlight on tiles and slimes.
Made an about and instructions page. Go to the top-left and you will see the buttons that will take you to the pages.
Fixed slime behavior. Sometimes the slimes get stuck after eating so I hope I fixed the issue.
Devlog 18
Font Change
Slime Violence
Other Stuff
Slime can now slowly regenerate health when they are fed and have energy.
Fixed a bug where rocks wont spawn in world editing mode.
Devlog 16
Check out my game here:
https://respectabledot.itch.io/slime-simulator
Particles
Water used to look bad because it’s just blue and nothing else, so I added waves for the movement.
Leaves now fall off trees.
Other graphics
When near land(Sand, Grass, rocks), the water becomes more shallow. It is indicated by the water being more light than the others.
Added more grass when starting the game.
Clouds appear a lot less due to it sometimes blocking the user’s vision.
Bug fixes
Fixed a bug where slimes were not spawning, caused by a poor algorithm.
Temporarily removed the buggy walking animation for the slimes.
I also added apples🍎
Devlog 15
Terrain Editing
You can now edit your world. All of the blocks will be available. To use this feature, click on the button with the blocks.
All of the blocks: Water, Grass, Sand, Rock
Programming took a bit longer than I thought, but testing was surprisingly easy.
Next time, I could add things other than blocks, maybe like trees and grass.
Other stuff
There is now world age so you know how old your world is.
Small changes in some of the UI
Devlog 14
Terrain Generation
After implementing A* pathfinding, I added obstacles and other things for the map. I used to perlin noise to make the mountains and rivers feel more real.
float noise = Mathf.PerlinNoise(i * 0.05f+ offsetX, j * 0.05f + offsetY);
Added trees. I can make them useful for the slimes in later updates.
Art
I made the sprites for the rocks and water. It didn’t take that long because it didn’t need much detail.
Made the art for the “kill slime” button, which is a knife.
Bug fixing
Fixed a ton of bugs because adding in the new pathfinding messed a lot of things up.
A lot of problems came up when making terrain generation, like the slimes behaving weirdly.
Future Updates
I might add clans and tribes to make things more interesting.
Violence will be added very soon.
Check out my game here:
https://respectabledot.itch.io/slime-simulator
Devlog 13
Favorites tab
Kill tab
New pathfinding
UI revamp
Things I will add in the future
Terrain: You will be able to customize the terrain to make the world more interesting
Animations: When walking, the slime will have animation.
Devlog 12
Things I implemented
Slimes don’t mixed up colors equally anymore. This is because mixing them up equally makes them more dull and grey over time. To stop this, I had to mix the colors up unevenly to maintain the vibrant colors.
To track and follow a slime, click on them and press the “Track” button.
The slime UI got a major upgrade. It’s now easier to read and more sorted out.
You can now spawn food for the slimes. To do it, go to the bar at the bottom.
Above the bar, there is a text that tells you what you have selected inside the bar.
Clouds have been implemented. Right now they don’t do anything, but they will be able to drop food.
Batch of Updates!
Devlog 11
Slime genetics
Slimes have more realistic natural genetic creation. Instead of only picking up one of their parent’s colors, they mix the two colors together.
Speed and Health changes for an offspring is toned down.
Implemented more slime mutations. These includes drastic color changes, faster or slow speeds, or health changes.
When testing, I noticed that after a while, the colors started becoming black(I don’t know why). That’s why I made it so that an offspring may be given a bold color(Blue, Red, Green, etc.).
UI
Made a system where you can view slimes’ friends just by checking their friends list. By clicking on one of their friends or family, it will take you to the selected slime.
I made the UIs a lot more responsive and clean.
Devlog 10
Small UI Update
The slime information and slime population text boxes are separated.
There is now a bar that is gonna contain some button. Right now the only button I added is adding more slimes, but there are gonna be more in the future.
Other Things I added
Slimes can now have multiple babies instead of only one.
I added some grass to make it less barren.
Update
Devlog 9
Traits
Slimes now have traits! Traits are minor tweaks on the brain of a slime. This brings out personality and characteristics.
For now, traits are only obtainable at birth. Slimes aren’t able to pass down traits to their offspring.
Other stuff
I finished working on the background and is preparing to work on the art of the food.
Things I will do next time
I will start working on the UI because that makes it easier for people to test my simulator.
I will work on more traits, so far I have 7-8 of them.
Devlog 8
I don’t use AI to write any of my devlogs.
Relationships
Slimes can interact with one another. To do so, they just have to be next to each other. After an interaction, if they haven’t known each other before, they will have an updated friends list. If they have already met each other, then what they think of each other goes up.
If two slime’s relationship value go up to a certain number like 30, then they can have babies.
DNA and Genes
Each Slime have their own characteristics. This includes speed, health, and species. They pass down their genes to their offspring. Offspring’s traits will be slightly changed to maintain diversity and natural selection.
For example, a slime with a fast genes will be able to get to a food quicker than the ones that are slow. The faster slime will get to survive and make babies.
Color 🔥🔥(My fav update)
Slimes have multiple kinds of traits, and that includes color. They can pass down their color to their offspring(Though their offspring’s color may be slightly different). This addition makes the game look a lot better.
Problems 😢😢😢
While doing some tests, I noticed that some slimes were dying. This was weird because there were definitely enough food for everyone. When I looked closer, I realized that there was a bug where some slimes get stuck and become braindead. This problem is and still very difficult to fix.
Devlog 7
Made a sprite for the slimes. The default color is white because it supposed to be changed into other colors.
The movement of slimes is now smooth instead of teleporting to the nearest block. A lot easier ot tell what’s going on.
Things I will add later:
Better UI will be implemented later. Because right now it’s just a piece of text that tells you the stats of a slime.
Demo will be released soon because I need some feedback.
Slimes will be able to kill each other. 💀💀💀
Devlog 6
In this update I added a basic social structure and generations.
Things added in this update:
When two slimes meet, they gather some information. If one slime’s mental value is bad while meeting, then they will have a bad meeting. If they have a good meeting and keep it up for multiple interactions, then they can have babies.
There are a lot less bugs when slimes are interacting with each other. They don’t glitch out nor do they just stop moving.
Food now constantly generates, so the slimes can live and thrive.
Things I will add later:
Parents will soon be able to pass down genes and DNA to their offspring.
There will be a more advanced social structure so it doesn’t seem too robotic.
Art will be implemented later on.
I might put this on itch.io for people to test.
My game is now on itch, go check it out!
https://respectabledot.itch.io/slime-simulator
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: