Question: What game engine does Sons of the Forest use?

Answer

"Sons of the Forest", the sequel to "The Forest", is developed by Endnight Game and it was built using Unity.

Unity is a popular game engine among indie developers due to its flexibility, ease of use, and support for multiple platforms. Developers are able to take advantage of features such as:

  1. Advanced Rendering Capabilities: Unity's High Definition Render Pipeline (HDRP) for high-fidelity visuals.
  2. Multi-platform Support: Ability to deploy on PC, consoles, and VR devices.
  3. Physics System: Realistic physics simulation for immersive gameplay experiences.
  4. Animation: Robust animation system for creating detailed character and creature movements.

Should you be looking to develop a game in Unity similar to "Sons of the Forest", here's a simple example of how to create a basic first-person controller in C#:

using UnityEngine; public class SimpleFirstPersonController : MonoBehaviour { public float speed = 5.0f; void Update() { float translation = Input.GetAxis("Vertical") * speed; float strafe = Input.GetAxis("Horizontal") * speed; translation *= Time.deltaTime; strafe *= Time.deltaTime; transform.Translate(strafe, 0, translation); if (Input.GetKeyDown("escape")) { Cursor.lockState = CursorLockMode.None; } } }

This script would provide basic movement controls, allowing players to move forward, backward, and strafe left or right.

Was this content helpful?

Start building today

Dragonfly is fully compatible with the Redis ecosystem and requires no code changes to implement.