:::: MENU ::::

Life Sim Devblog #3 – Air Conditioning, GUI Changes

Heating and Cooling System

Well, we needed a way to cool down and heat up rooms. I started on a heating, cooling and ventilation system. The picture above was a big help to me with understanding how AC and Heating works in real life. Basically here’s how it works. You need to buy an Air Conditioner for cooling rooms, and a Furnace for heating rooms. AC’s should gbo outside, while furnaces should be inside. You then need to place vents for the rooms you want to cool / heat. After that, you need to run air ducts through the walls that are attached to your AC and Furnace.

The AC and Furnace generate actual airflow through the air ducts. If your house is big, but your AC and Furnace do not create enough air pressure, then the rooms will either take longer to cool or won’t get cooled at all. On the flip side, if you have a very expensive AC/Furnace, but a small house, you run the risk of creating TOO MUCH air pressure and breaking your AC/Furnace.

It must be a balanced system, and things CAN go wrong. But, I hope it will be rewarding for players to find that balance, and create effecting heating and cooling for their house.

Implementation

Prototype #1 – Main Source that generates current that flows through the blocks

This was the first prototype. I’ll probably use this one for electricity (minecraft redstone system).

Prototype #2 – Main source that generates pressure that flows through blocks, but needs more pressure to keep current flowing, and then ends at a vent

On the top left you’ll see two variables. These affect the speed and power of the source (AC/Furnace). Air is the number of air pressure it generates at once. Flow Power is how fast it generates air. Vents also have their own flow power. This leaves room for different tiers of air ducts and vents, some allowing air to flow faster and others slower.

In-Game

The numbers you see on the air ducts are the air pressure inside that duct. If an air duct has 1 pressure, it keeps it. If it has more than 1, it passes it down. The video also will show, on the right, how the system impacts the temperature of the room.

I decided to add air ducts to every wall automatically. It just didn’t seem fun to add them manually.

Thermostat

The thermostat has 3 main settings: Cool, Fan and Heat. Cool and Fan activate your AC unit, and Heat activates your furnace. Fan will blow air from outside in and quickly make the temperature of your rooms the same as outside. The thermostat works just like one in real life. Set the temperature to something, and it’ll either cool or heat to that temperature!

Sound Effects & AC Animation

I added some sound effects to the AC unit and vents. If you are nearby, you’ll hear them. Turn your speakers up for this one. It’s meant to be subtle. Also added an animation for when the AC turns on.

Electricity will play a role

If I can finish this up this week, I’ll start working on electricity. This will ALL be powered by electricity. Wires will be ran through your walls, and outlets. If you don’t have power, none of this will function.

GUI Changes

The text on the side started piling up with information. I decided to incorporate it into the GUI of the game rather than ugly text.

BEFORE

AFTER


So, what do you think ?