using UnityEngine; public class PlayerController : MonoBehaviour [SerializeField] private float moveSpeed = 5f; private Rigidbody2D rb; private Vector2 movement; void Start() rb = GetComponent (); void Update() // Capture input during the frame render step movement.x = Input.GetAxisRaw("Horizontal"); movement.y = Input.GetAxisRaw("Vertical"); movement = movement.normalized; void FixedUpdate() // Execute physics updates at a constant rate rb.MovePosition(rb.position + movement * moveSpeed * FixedUpdate.deltaTime); Use code with caution. Day 2: Malevolent Atmosphere & Procedural Tilemaps
Check out the public link to clone the repository and build your own systems on top of this framework. If you want to customize this system further, let me know:
Moving the project to the latest versions of the Unity Editor and utilizing the Universal Render Pipeline (URP) for better lighting and performance.
For those interested in creating their own Unity2D games, here are some recommended resources: malevolent planet unity2d day1 to day3 public link
Building a Malevolent Planet in Unity 2D: Day 1 to Day 3 Devlog
Have you played Malevolent Planet Unity2D? Share your Day 1 through Day 3 experiences in the Discord community!
Day 3 populates the map with dynamic hazards, including toxic gas pockets and aggressive alien spores that track the player. 1. Toxic Hazard Zones For those interested in creating their own Unity2D
The " Malevolent Planet 2D " project, developed in Unity, has released a comprehensive public build covering content from the . This developmental milestone represents a significant portion of the game’s narrative and mechanics, transitioning from initial world-building to complex quest systems. Project Overview: Day 1 to Day 3
The Day 1.0 Garden Release established the foundation, introducing a new map, upgraded chibi art , and essential UI elements like the inventory menu and character screen . This phase focused on establishing the player's initial interactions with the environment.
Correcting resolution drop-down menus and overlapping character movement triggers while menus are open. introducing a new map
Add a Light2D component as a "Point Light" attached to the player.
What specific should be added next (e.g., combat, inventory)?