Questions tagged [haxeflixel]

HaxeFlixel is an open source game engine that is completely free for personal or commercial use. Written entirely in Haxe, HaxeFlixel can target many platforms (web, desktop, and mobile) and is easy to learn, extend and customize.

HaxeFlixel is an open source, 2D game engine that is completely free for personal or commercial use. Written entirely in Haxe and built on top of , HaxeFlixel can target many platforms including , /, native Windows, , and desktop, and native , and mobile devices. HaxeFlixel provides some useful base classes for creating 2D games and other content and is easy to learn, extend and customize. It was originally ported from the ActionScript Flash library Flixel but has since moved in its own direction to be better at targeting non-Flash platforms.

Features:

  • Animations
  • Collisions
  • Movement
  • Tilemaps
  • Particle effects
  • Visual effects such as flickering, screen-shaking, blend-modes, alpha adjustments, etc.
  • Simple physics (Box2D can also be used with Flixel)
  • Keyboard and mouse access
  • Audio controls for volume and muting
  • Pausing gameplay
  • Site-locking
  • Pre-loading
209 questions
3
votes
3 answers

Why is this Haxe try-catch block still crashing, when using Release mode for C++ target

I have a HaxeFlixel project, that is working OK in Debug mode for misc targets, including flash, neko and windows. But Targeting Windows in Release mode, I'm having an unexpected crash, and surprisingly it's happening inside a try-catch block.…
yannicuLar
  • 3,083
  • 3
  • 32
  • 50
3
votes
1 answer

Best solution to encode assets in HaxeFlixel

Im trying to find best solution to scramble or encode assets (especially images/textures) for a game written in HaxeFlixel. In the root of my project there is a folder assets/images, and that's where are all of my game textures are stored. If I…
Bob T.
  • 261
  • 1
  • 13
3
votes
1 answer

Cannot pass in FlxTypedGroup class param using FlxG.overlap

I want the player to pickup objects in my game using the code below, but I am getting: Error #1034: Type Coercion failed: cannot convert flixel::FlxSprite@51e1b69 to Player. ... FlxG.overlap(weapons, players, onPickup) } private function…
Jonathan Bro
  • 77
  • 1
  • 7
3
votes
1 answer

Class Not Found Exception When Importing a Class: Haxe (With OpenFL + Flixel libraries)

I've been starting to fiddle around with HaxeFlixel recently and when trying to make a real simple game, I come across this error: source/PlayState.hx:10: characters 7-16 : Class not found : GameLogic Now this isn't my first foray into programming…
3
votes
3 answers

How can I get the error line debugging Haxe for windows?

I'm building a game using Haxe w/ HaxeFlixel in FlashDevelop, currently targeting windows platform. While I get error messages in the console, I would like to know if I can get the error line too ( like flash does ). I'm only getting something like…
2
votes
0 answers

HAXE - Standard library not found. check "HAXE_STD_PATH" enviroment variable

whenever i try to compile using "lime test windows" (im trying to compile friday night funkin) it gives me this error: "Standard library not found. Please check your HAXE_STD_PATH environment variable (current value: "C:\HaxeToolkit\haxe\std")" i…
Arm4GeDon
  • 21
  • 2
2
votes
3 answers

Error: Failed with error: No such Project : polymod

I am trying to make a Friday Night Funkin' mod, but when I compile it, this error shows up: Error: Could not find haxelib "polymod", does it need to be installed? So of course I tried to install it, but then this showed up: Error: Failed with…
neksodebe
  • 65
  • 8
2
votes
1 answer

HaxeFlixel - Expected } error when using a case command

I keep getting an error where it's expecting a } in the "case 'captain-cool'" I don't know what it means and adding a } gives me the same error. swith(curSong.toLowerCase()); { case 'captain-cool': { …
2
votes
1 answer

How to disable the special character menu for haxe game

I'm working on a game written using haxeflixel and, on mac, whenever you hold down certain keys (A, for instance) a menu pops up at the top of the game window. Is there any way to disable this menu inside my application only?
davey555
  • 720
  • 1
  • 7
  • 15
2
votes
1 answer

Is there another way to checking collision without FlxG.collide?

I'm making a game with Haxe and the HaxeFlixel game engine, and I'm implementing collisions. I found a way to check for collisions in the HaxeFlixel cheat sheet: FlxG.overlap(ObjectOrGroup1, ObjectOrGroup2, myCallback); private function…
jun
  • 33
  • 4
2
votes
0 answers

why "type not found" inside haxeflixel project, when i try to "import assets.manager.FileLoader;"?

i use haxeflixel and syntax import assets.manager.FileLoader; after this i have error "type not found" my steps 1- terminal "haxelib install assetsmanager" ... done 2- Project.xml 3- inside PS.hx "import…
2
votes
1 answer

FlxReplay during normal gameplay

I have a bunch of NPC objects in my game that are controlled via FlxReplay instances. and they are preventing me from using the mouse and keyboard to control the hero directly. Is there a way to play the next frame of the FlxReplay, read the inputs…
2
votes
0 answers

Why FlxText not show me the unicode emoticons(emoji)?

for example i have FlxText object var t:FlxText=new FlxText(); I can show on my app the unicode symbol for example "1" , use t.text="1"; t.text="\n0031";//work too but i can't show the unicode symbols(from same font),…
2
votes
1 answer

Getting Error loading templates, please run 'flixel download'.?

i am getting, Error loading templates, please run 'flixel download'. after a fresh install on a windows pc. Everything is freshly installed. I tried : i am confused what to do next ?
Sim
  • 382
  • 2
  • 13
2
votes
3 answers

What is the equivalent of the Adobe Flash symbol library for Haxe?

I'm trying to cross over to HaxeFlixel after learning of Flash's demise, but I'm not entirely sure how to bridge my understanding between the two. I'm currently using Visual Studio Code on a Mac. In Flash(now Animate CC), you have a library full of…
Joseph Wagner
  • 303
  • 3
  • 16
1
2
3
13 14