text: Haxe and HaxeFlixel (there’s also Heaps if you want something more low level) if you’re good with leaving C# behind 
  
  Haxe is nice and clean to write in and it re-compiles to other languages which makes it rather future proof. Plus the whole language top to bottom is open source.