Skip to content

Smoffyy/funkin-legacy-haxe-modern

Repository files navigation

Friday Night Funkin' Legacy — Modern Haxe Edition!

A modernized version of Funkin Legacy compatible with the latest Haxe releases. The original code was built with Haxe 4.1.5 and now compiles cleanly on current versions!

alt text

Credits / shoutouts (Original Creators)

Programming

Art / Animation / UI

Music

Special Thanks

Whats the Goal?

The goal of this project is to fully convert the original Friday Night Funkin' Legacy Branch, into a fully modern Haxe environment, while keeping the gameplay and behavior as accurate to the original as possible

Specifically, this project aims to:

  • Port the original 0.2.x Legacy branch of Friday Night Funkin' to modern Haxe (4.3.7+)
  • Maintain compatibility with current versions of HaxeFlixel and Lime
  • Clean up deprecated or outdated code
  • Preserve vanilla behavior and logic wherever possible
  • Introduce modern, optional quality-of-life improvements that do not alter the original experience unless enabled
  • Add Legacy and Modern Chart support across all Friday Night Funkin' versions
  • Maintain the original Open License

Design

This is not a gameplay overhaul or a redesign.

The intent is:

  • Preserve the original feel
  • Modernize the technical foundation
  • Add optional improvements without forcing changes on purists

Think of it as:

The original game rebuilt on a modern engine foundation.

TL:DR

In short: this branch keeps the classic feel of Legacy while giving it a modern foundation that’s easier to run, maintain, and enhance.

Prerequisites

Before you start, make sure you have the following installed:

  • Haxe 4.3.7Download here
  • Visual Studio Community 2019 (Windows only) — See setup instructions below
  • Git — For cloning the repository

Windows Setup (Visual Studio)

If you're on Windows, you need to install Visual Studio Community 2019. During installation:

  1. Skip the workloads section
  2. Go to the Individual Components tab
  3. Select these components:
    • MSVC v142 - VS 2019 C++ x64/x86 build tools
    • Windows SDK (10.0.17763.0)

Getting Started

1. Clone the Repository

git clone https://github.com/Smoffyy/funkin-legacy-haxe-modern.git
cd funkin-legacy-haxe-modern

2. Install HaxeFlixel

Follow the official HaxeFlixel installation guide

3. Install Dependencies

In the project directory, run:

haxelib setup
haxelib install haxelib.json --always

4. Initialize Lime (First Time Only)

If you haven't used Lime before, run:

haxelib run lime setup

Compiling the Game

From the project root directory, run:

lime test <platform>

Replace <platform> with your target: windows, html5, linux, or mac.

For example, to compile for Windows:

lime test windows

Debug Mode

When developing, add the -debug flag:

lime test windows -debug

The compilation process takes a while even on powerful machines. Once complete, you'll find the compiled executable in export/release/windows/bin/ (or the equivalent folder for your platform).

Troubleshooting

Mac users: If lime test mac -debug doesn't work, search for Haxe-specific Mac compilation guides — your setup may require additional configuration.

Next Steps

Once compiled successfully, you can open and run the game from the generated .exe (Windows) or equivalent executable for your platform.

About

A modernized version of Friday Night Funkin' Legacy for the latest Haxe!

Topics

Resources

License

Stars

Watchers

Forks

Contributors