Malevolent Planet Unity2d Day1 To Day3 Public Link Jun 2026

Post by SugarMint in Malevolent Planet v0.2.3 comments - itch.io

On Day 2, the goal was to make the "Planet" part of the title come to life. A static map feels predictable, so a basic procedural system was introduced. Tilemap Systems

Gravity scale set to 0 to prevent top-down characters from falling off the screen. 2. Player Controller Architecture malevolent planet unity2d day1 to day3 public link

GitHub Repository - Malevolent Planet Alpha Development (Note: Replace with your actual project URL when distributing to your team). Branch Breakdown

The following article serves as a comprehensive developer log for the first three days of building , a 2D top-down survival game in Unity. Malevolent Planet: Unity 2D Development Log (Day 1 - Day 3) Post by SugarMint in Malevolent Planet v0

using System; using UnityEngine; public class PlayerVitals : MonoBehaviour public static event Action OnHealthChanged; public static event Action OnOxygenChanged; [Header("Max Stats")] [SerializeField] private float maxHealth = 100f; [SerializeField] private float maxOxygen = 100f; [Header("Decay Rates")] [SerializeField] private float baseOxygenDecay = 1.5f; private float currentHealth; private float currentOxygen; private void Start() currentHealth = maxHealth; currentOxygen = maxOxygen; private void Update() ConsumeOxygen(); private void ConsumeOxygen() if (currentOxygen > 0) currentOxygen -= baseOxygenDecay * Time.deltaTime; currentOxygen = Mathf.Clamp(currentOxygen, 0, maxOxygen); OnOxygenChanged?.Invoke(currentOxygen / maxOxygen); else ApplySuffocationDamage(); private void ApplySuffocationDamage() currentHealth -= 5f * Time.deltaTime; currentHealth = Mathf.Clamp(currentHealth, 0, maxHealth); OnHealthChanged?.Invoke(currentHealth / maxHealth); Use code with caution. 2. UI Data Binding

: Select the Global Light 2D component in your scene and drop its intensity to 0.3 . Change the color to a sickly, desaturated green or deep crimson. Malevolent Planet: Unity 2D Development Log (Day 1

Post by SugarMint in Malevolent Planet v0.2.3 comments - itch.io

: The Malevolent Planet 2D Demo on Itch.io often hosts the playable online version and latest public build comments.

The player constantly loses life support oxygen unless they stay near thermal pods or consume resources. Create a PlayerAttributes.cs script:

using UnityEngine; using System; public class PlayerAttributes : MonoBehaviour [SerializeField] private float maxHealth = 100f; [SerializeField] private float oxygenDepletionRate = 1.5f; public float CurrentHealth get; private set; public float CurrentOxygen get; private set; public static event Action OnPlayerDeath; void Start() CurrentHealth = maxHealth; CurrentOxygen = maxHealth; void Update() DepleteOxygen(); private void DepleteOxygen() if (CurrentOxygen > 0) CurrentOxygen -= oxygenDepletionRate * Time.deltaTime; else TakeDamage(5f * Time.deltaTime); public void TakeDamage(float amount) CurrentHealth -= amount; if (CurrentHealth <= 0) CurrentHealth = 0; OnPlayerDeath?.Invoke(); public void ReplenishOxygen(float amount) CurrentOxygen = Mathf.Min(CurrentOxygen + amount, maxHealth); Use code with caution. 2. Collectible Oxygen Canisters Create a 2D Sprite GameObject named OxygenCanister . Add a CircleCollider2D set to . Create a script called Collectible.cs :