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
2
votes
0 answers

HaxeFlixel how to not pack assets in one SWF

I use FlashDevelop and have a HaxeFlixel project with a rather huge assets size. It is ok for desktop target, but with flash I want to get main swf and assets in separate swf file, that will be loaded inside of program in extra state, with loading…
2
votes
1 answer

Auto class importing in Sublime Text

I'm looking to get auto class importing In Sublime Text. I'm using HaxeFlixel and when ever I add a private var _btnPlay:FlxButton the needed import doesn't automatically show up. How can I get this to be the default action? Is there maybe a hot key…
Funlamb
  • 551
  • 7
  • 20
2
votes
0 answers

Glow effect on HaxeFlixel

I'm using HaxeFlixel with this code to create a filter with makeGraphic() instead of an image: public function new() { trace('Shield created'); super(); makeGraphic(FlxG.width, FlxG.height, FlxColor.TRANSPARENT); drawLine(30, 200,…
Aschab
  • 1,378
  • 2
  • 14
  • 31
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
  • 2,025
  • 1
  • 24
  • 48
2
votes
0 answers

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
  • 3,083
  • 3
  • 32
  • 50
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
  • 966
  • 1
  • 8
  • 23
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.
  • 406
  • 6
  • 17
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
2 answers

Haxeflixel with Neko build, Screen size does not fit

I use Haxeflixel, choose build target Neko and Neko 64. I coded 1280 x 720 resolution but executed screen is not fit. change resoulution too. I just reinstall my os x yosemite system. is the reason it? I can not understand this situation var…
ChangJoo Park
  • 959
  • 1
  • 11
  • 29
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,573
  • 11
  • 23
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
1 2
3
13 14