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
149 questions
2
votes
1 answer

HaxeFlixel: Custom Preloader not Working

I am a beginner to HaxeFlixel and I would like to replace the default preloader. Instead of it displaying the standard HaxeFlixel logo, I would like it to display a "Loading..." message. After extensive searching, the only useful resource I found…
2
votes
1 answer

Permission errors when trying to build Haxe project

When I try to build my Haxe project in HTML5/JavaScript with the lime tools, I get this error, and these warnings: jesse@jesse-kubuntu ~/C/Similar-Game> lime test html5 chmod: changing permissions of…
JesseTG
  • 1,723
  • 1
  • 19
  • 40
2
votes
1 answer

How to code in HaxeFlixel in-game events in a "practical way"?

And by "practical way" I mean in such a way that it may not hinder the game's speed. I'm programming an RPG, and as many of you know, they're FULL of events: you walk into a new room where an event triggers some conversation happens to develop…
2
votes
2 answers

Windows cpp target slows down in higher resolutions

I'm having some unexpected performance issues with my haxeflixel game when building a windows (cpp) target with the following settings
yannicuLar
  • 2,903
  • 3
  • 29
  • 48
2
votes
1 answer

How to run Post-Build Command Line on only 1 target?

After building, FlashDevelop will run this in Project > Properties > Build > Post-Build Command Line: "$(ProjectDir)\debug-android.bat" The bat file will install my game on my phone. It's supposed to run only on Android target. But it also runs on…
Dlean Jeans
  • 766
  • 1
  • 5
  • 20
2
votes
2 answers

How to align text in HaxeFlixel?

I have a FlxText object which has properties like: var CharHP:FlxText = new FlxText(1000, 500); CharHP.Text = "HP: " + "9999"; CharHP.width = 300; CharHP.height = 200; CharHP.alignment = "center"; I'm trying to align CharHP to center and I expect…
Enes F.
  • 309
  • 3
  • 13
2
votes
1 answer

Can I use StablexUI with HaxeFlixel?

I'm new to Haxe/HaxeFlixel and I want to use an UI tool to make my game. After some research I find 3 tools that seems to be good to make UI for Haxe. HaxeUI StablexUI flixel-ui flixel-ui has a serious lack of documentation, so I'm leaning towards…
2
votes
1 answer

How to move a HaxeFlixel FlxNapeSprite?

I'm trying to use Nape with HaxeFlixel. Sadly, there's almost no documentation on how to use the addons.nape package and I just can't figure out why this code isn't moving the white rectangle (_test). (I left out imports for simplicity) class…
JaytleBee
  • 38
  • 5
2
votes
1 answer

Debugging Haxe with HaxeCpp and IntelliJ. DebugSocket not Found

I am currently trying to get the Haxe Debugger working with IntelliJ, using information from This video tutorial and This blog post. At one point, the tutorial says that a DebugSocket object must be created in the "create" method of the main file.…
Craig Innes
  • 1,503
  • 11
  • 20
2
votes
1 answer

HaxeFlixel & OGMO Editor - Some tiles are blank

I am using the OGMO Level Editor to create 2D levels for my game, and then loading them into my game using the FlxOgmoLoader flixel addon. I am saving the levels in CSV format in OGMO. In the game, some tiles (usually about 3-4 per level) appear as…
2
votes
1 answer

HaxeFlixel. Access violation reading location 0x00000008

I have a sprite that I can drag around on screen. I want to be able to drag this sprite into an area (box). As it stands now I can only drop the sprite into the box, but when I drag it directly inn, the the program crashes. *Im developing in…
ibliso
  • 33
  • 4
2
votes
1 answer

HaxeFlixel - Error constructing FlxUI9SliceSprite

I am creating a game in HaxeFlixel, using flixel-ui to deal with the user interface. I have run into a problem using the FlxUI9SliceSprite. I have the following line of code to construct it: _bg = new FlxUI9SliceSprite(0, 0,…
sebshady
  • 131
  • 6
2
votes
2 answers

How to use HaxeFlixel together with openfl-bitfive

I would like to build a HaxeFlixel project against a HTML5 target, using openfl-bitfive In the Readme for openfl-bitfive: https://github.com/YellowAfterlife/openfl-bitfive#usage, it says: "Navigate to application.xml of your project and add the…
bojangle
  • 623
  • 1
  • 5
  • 14
2
votes
1 answer

Rotating a sprite in HaxeFlixel

I'm having trouble with something very simple in HaxeFlixel, but I can't find one reference to it anywhere online. All I need to do is rotate a FlxSprite. There are multiple references online to a .rotation value that can be set, but my sprite does…
djcmm476
  • 1,405
  • 6
  • 21
  • 41
2
votes
3 answers

Haxe projects only shows blank Flash Player

I'm getting started using Haxe. After going through all of the setting up, I should be all ready to go, but when I run any project it opens a Flash Player with a blank screen. No preloader, not text, just a screen of whatever color is specified in…
adamSrgnt
  • 50
  • 7
1 2
3
9 10