What engine was Hollow Knight made in?

What Engine was Hollow Knight Made In?

Hollow Knight is a critically acclaimed action-adventure game developed by the independent game studio, Team Cherry. Released in 2017, the game has garnered a massive following worldwide for its unique art style, engaging gameplay, and rich storyline. But have you ever wondered what engine was used to create this magnificent game? In this article, we’ll delve into the technical details and explore the engine that brought Hollow Knight to life.

Direct Answer:

Hollow Knight was made using the C# programming language and the Haxe cross-platform development tool. The game was built on top of the OpenFL framework, which is an open-source implementation of the Adobe Flash API.

Understanding the Development Process

Before diving into the technical details, it’s essential to understand the development process behind Hollow Knight. The game was created by a small team of two developers, Ari and Chris, who worked on the game for several years. With a limited budget and a small team, they had to rely on open-source tools and libraries to create the game.

The Choice of Engine

When choosing an engine for Hollow Knight, Team Cherry had several options. They considered using popular game engines like Unity and Unreal Engine, but ultimately decided to go with Haxe and OpenFL. Haxe is a popular open-source language that allows developers to create games and applications for multiple platforms, including desktop, mobile, and web.

Why Haxe and OpenFL?

So, why did Team Cherry choose Haxe and OpenFL? Here are some reasons:

Cross-platform support: Haxe and OpenFL allowed Team Cherry to create a game that could be deployed on multiple platforms, including Windows, macOS, Linux, and even mobile devices.
Open-source: Both Haxe and OpenFL are open-source, which meant that Team Cherry could modify and customize the code to fit their needs.
Lightweight: Haxe and OpenFL are designed to be lightweight, which was essential for a small team like Team Cherry. They didn’t have the resources to invest in a heavy, resource-intensive engine.
Flexibility: Haxe and OpenFL offer a high degree of flexibility, allowing developers to create custom assets, animations, and effects.

The Technical Details

So, what exactly does it mean to use Haxe and OpenFL? Here are some technical details:

Haxe: Haxe is a programming language that compiles to JavaScript, C++, and other languages. It’s designed to be highly flexible and allows developers to create games and applications for multiple platforms.
OpenFL: OpenFL is an open-source implementation of the Adobe Flash API. It provides a set of libraries and tools that allow developers to create games and applications using the Flash platform.
C#: Hollow Knight was built using C# as the primary programming language. C# is a modern, object-oriented language developed by Microsoft.
Game loop: The game loop is the core of any game engine. In Hollow Knight, the game loop is responsible for rendering the game world, updating the game state, and handling user input.

Comparison with Other Engines

So, how does Hollow Knight’s engine compare to other popular game engines like Unity and Unreal Engine? Here are some key differences:

Engine Platform Support Open-Source Lightweight Flexibility
Unity Multi-platform Closed-source Medium High
Unreal Engine Multi-platform Closed-source Medium High
Haxe/OpenFL Multi-platform Open-source Lightweight High

Conclusion

In conclusion, Hollow Knight was made using the Haxe cross-platform development tool and the OpenFL framework. The game’s unique art style and engaging gameplay were made possible by the technical expertise of the development team and the flexibility of the engine. While Unity and Unreal Engine are popular choices for game development, Haxe and OpenFL offer a unique set of advantages for small teams and indie developers. Whether you’re a seasoned developer or just starting out, understanding the technical details of game development can help you create your own masterpiece.

Leave a Comment