A collection of high-performance utility libraries for Haxe projects, including math, color, and decision-making helpers.
deepnightLibs is a collection of utility libraries written in Haxe for use in game development and other projects. It provides optimized modules for math operations, color management, and decision-making algorithms, designed to reduce boilerplate and improve performance. The libraries are commonly used in the author's own projects, such as LDtk and game jam entries.
Haxe developers, particularly those working on game projects or following the author's (deepnight) other open-source work, who need efficient, reusable utilities.
Developers choose deepnightLibs for its focus on performance (e.g., compile-time optimizations), ease of integration via global imports, and practical utilities tailored for Haxe ecosystems, especially in game development scenarios.
The general personal libs I use in my Haxe projects.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
dn.M includes compile-time optimizations like turning M.pow(val, 2) into val*val at compilation, reducing runtime overhead for math operations.
dn.Col uses an abstract class based on a single integer with zero-cost conversions from constant strings via macros, making it ideal for graphics-intensive tasks.
dn.DecisionHelper allows custom scoring, removal, and filtering for picking values, useful for AI or procedural generation in games.
Supports project-wide imports via an import.hx file, simplifying access to all utilities without repetitive import statements across files.
Tailored specifically for the author's projects like LDtk, which may limit general-purpose features and require adaptation for unrelated use cases.
As a personal library, it lacks the extensive testing, documentation, and community support found in more mainstream Haxe libraries, potentially increasing maintenance effort.
Frequent updates for the author's game jams, as noted in the 'Latest Git version' section, might introduce breaking changes, making it less stable for independent production projects.