2D graphics & animation
Draw sprites and tile maps. Add lights, shadows, particles and custom shaders. Animate characters with frames, skeletons and timelines.
HAYLEN ENGINE
Build 2D games and apps with C++ and Lua. Add graphics, physics, sound and native plugins. Run your project on desktop, mobile, TV and the web.
ENGINE FEATURES
Use the same engine to build a game world, an app interface or a mix of both.
Draw sprites and tile maps. Add lights, shadows, particles and custom shaders. Animate characters with frames, skeletons and timelines.
Build moving worlds with bodies, joints, collisions and vehicles. Use maps, pathfinding and game AI to guide your characters.
Create screens with buttons, lists, text and forms. Add themes, layouts for different screen sizes and support for screen readers.
Play sound effects, music and positional audio. Handle keyboard, mouse, touch, gamepads and TV remotes with one input system.
Connect your app to platform features and native libraries. Write plugins in Swift, Kotlin, JavaScript or C++, then call them from Lua.
Write app logic in Lua or use C++ directly. See changes with hot reload. Create, run, test and package projects from the command line.
PLUGINS
Need a platform API or a native library? Add a plugin and give your app a Lua API to use it.
Haylen supports plugins written in Swift, Objective-C, Kotlin, Java, JavaScript and C++. Each platform can have its own implementation behind the same Lua API.
Read the plugin guideSUPPORTED PLATFORMS
Keep your Lua code and assets in one project. Use the native graphics APIs available on each platform.
START A PROJECT
Read the setup guide, create a project and run it with Haylen.