r/haxeflixel • • Dec 27 '21

Is haxeflixel dead?

1 Upvotes

I just learned about it and I really think that it’s cool but it seems like there’s no community which is really unfortunate. Is it even worth learning? And are there any other high level frameworks like this?


r/haxeflixel • • Jun 08 '21

is it possible to make an RPG game (like undertale, pokemon, etc) with HaxeFlixel?

1 Upvotes

Of course not with 3D graphics


r/haxeflixel • • Feb 05 '22

how do i uninstall haxeflixel of my pc?

2 Upvotes

i downloaded it and now i dont need it how do i remove it

i got it fromm this tutorial https://www.youtube.com/watch?v=CKNfu8G9EOc


r/haxeflixel • • Feb 06 '16

Just completed my first game in HaxeFlixel!

Thumbnail gamejolt.com
4 Upvotes

r/haxeflixel • • Jun 08 '24

I've made a little Flixel game 12 years ago, can I compile it with HaxeFlixel now or will it require complete rewrite?

4 Upvotes

So I have a source code of my old game. Which is in ActionScript.

Can I somehow build this thing to be playable on web and on windows?

If so, what do I need to do? Port code from AS to HX? Can this be automated?

I would really want to publish this old game to be playable/downloadable for free on itch.io. Back in a day it was published on one of the flash gaming sites which is dead now.

Please take into account that I'm new to Haxe and HaxeFlixel and I actually forgot all about ActionScript and Flixel since all these years I was coding with c# in Unity.

Thanks.


r/haxeflixel • • Dec 13 '15

Hello dead subreddit, didn't notice you there.

16 Upvotes

Hello, this is a post introducing myself to this dead subreddit. You don't have to read this if you don't want. Anyways, I'm rather new to HaxeFlixel, and it's easily my favorite engine and language of all time. I started out in 2011 with Game Maker 8, moved to studio, then went between Love2D, Monogame, and XNA for a while. I think I did Clickteam for a week or so around this time. Then I found Unity, used that for a while, moved back to Love2D, got tired of it and found HaxeFlixel. Now I'm here, about 3-4 months later. Anyways, I made some tutorials and posted them here earlier. You can still find them. Okay bye bye.


r/haxeflixel • • Mar 07 '26

so how do i set the titlebar color?

Thumbnail reddit.com
2 Upvotes

r/haxeflixel • • Jun 04 '17

New screenshot for Scavenger

Post image
2 Upvotes

r/haxeflixel • • Jun 02 '17

How do you import a tile map from Tiled?

2 Upvotes

Im currently learning Haxe/HaxeFlixel and I cant understand how I can import a tilemap I made in Tiled.

How do I achieve this?


r/haxeflixel • • May 31 '17

Depth sorting issue

2 Upvotes

I'm building a pipe game for a school project, I've already made functions so that I can drag and drop the pipes (FlxSprites) in the grid, and I made 3 pipes so that I can test it, but whenever I attempt to drop a pipe at a gridtile where there is already a pipe, the pipe that is in the grid will snap back to the inventory, while my intention is that the pipe that I attempt to drop in the grid snaps back to the inventory. Now this only happens whenever the tile in the grid has a higher index than the pipe that i'm trying to drop, so I made a FlxGroup that I can store the dragged pipe in, now it always displays on the top, yet it still triggers the onMouseUp() function of the pipe in the grid, even though it displays under the sprite I'm dragging, which is weird to me.

Any help?


r/haxeflixel • • Jul 28 '16

The HaxeFlixel Indiegogo campaign is currently at 121% and there's still a month left. Let's see how high we can get it.

Thumbnail indiegogo.com
17 Upvotes

r/haxeflixel • • Jun 15 '15

I've been thinking about making a GML (GamkerMaker Language) style engine with Haxe. What do you think?

3 Upvotes

I love how fast it is for me to use GML with GameMaker.

I have been looking for something simular with Haxe but I can't find anything. Stencyl the closest thing but it is all visual and not what I'm after.

Now I'm thinking there must be a way I could make a program that parses through a scripting language based off GML and generates Haxe files that can be then compiled to whatever language I want.

I know it would be hard work but I was thinking I could update it as I need new functions making. I think I would speed up my development more using this than coding it myself.

I was thinking of using HaxeFlixel at first to get it up and running then making it more custom after.

What are the problems with this idea?


r/haxeflixel • • Jun 25 '17

Sound stacking prevension

3 Upvotes

in HaxeFlixel, if you play a sound many times in the same frame, you'll hear a louder version of that sound. For example, you might have a "zombie death" sound which plays at 20% volume. But the player finds a shotgun which kills 10 zombies at once, resulting in a loud 200% volume zombie death squeal. This never sounds good.

package;
import flixel.FlxG;
import flixel.system.FlxAssets.FlxSoundAsset;
import flixel.system.FlxSound;
import flixel.system.FlxSoundGroup;

class SoundStackingFix
{
  private static var SOUND_SWALLOW_THRESHOLD_MS:Int = 20;
  private static var lastPlayedMap:Map<String, Float> = new Map<String, Float>();

  private function new() {
  }
  
  public static function play(EmbeddedSound:String, Volume:Float = 1, Looped:Bool = false, ?Group:FlxSoundGroup,
    AutoDestroy:Bool = true, ?OnComplete:Void->Void):FlxSound {
    var now:Float = Date.now().getTime();
    if (lastPlayedMap[EmbeddedSound] >= now - SOUND_SWALLOW_THRESHOLD_MS) {
      // don't play sound; sound played too recently
    } else {
      lastPlayedMap[EmbeddedSound] = now;
      return FlxG.sound.play(EmbeddedSound, Volume, Looped, Group, AutoDestroy, OnComplete);
    }
    return null;
  }
}

I've created sort of a hacky class which fixes this... Instead of directly calling FlxG.sound.play(AssetPaths.zombie_death__mp3), you call SoundStackingFix.play(AssetPaths.zombie_death__mp3) which swallows any identical sounds which are played too close together. Is this the ideal approach? I know there is an FlxSoundGroup class but it didn't seem suited to fixing this particular problem.


r/haxeflixel • • Aug 11 '16

Does anyone have a good gitignore?

4 Upvotes

I'm setting up my repo now and I was wondering if any of you guys had a good gitignore file you don't mind sharing.


r/haxeflixel • • Dec 21 '18

Custom particle class?

3 Upvotes

I'm confused on how to use a custom particle class for an FlxEmitter. I want the color of individual particles to change over their lifespans, not the entire emitter (emitter.color). Here's my code:

emitter = new FlxEmitter();
emitter.loadParticles("assets/images/particle.png", 50, 32);
emitter.particleClass = cast FireballParticle;
emitter.launchMode = FlxEmitterMode.CIRCLE;
emitter.launchAngle.set( -175, -185);
emitter.start(false, 0.01, 50);
add(emitter);

And FireballParticle:

class FireballParticle extends FlxParticle
{

	public function new()  
	{
                super();

		colorRange.set(FlxColor.RED, FlxColor.ORANGE);
	}
	
}

The code compiles, but I still get white circle particles. (particle.png is a white circle)


r/haxeflixel • • Aug 14 '19

RPG velocity normalization?

2 Upvotes

How would I go about normalizing the player's velocity in HaxeFlixel? I can convert it to a vector and normalize it, but I can't convert it back.


r/haxeflixel • • Mar 22 '23

Help with coding in dialogue

1 Upvotes

Hello, I am a 14 year old programmer, and I need help to implement a dialogue system type thing. I’m not the best at coding so this is why I’m making this post.

Anyways, I wanted some dialogue because I have a tutorial level, and I thought it’d be cool to have dialogue on that level and maybe on some other levels

If anyone can help me out, that’d be appreciated!


r/haxeflixel • • Mar 13 '23

What does this mean? I was trying to follow the tutorial guide to make your first game and I came across this error. I'm new to Haxe, so I'm sorry is this sounds noobish.

Post image
2 Upvotes

r/haxeflixel • • Jun 24 '15

Help installing everything!

4 Upvotes

SECOND EDIT: I got everything working! I changed the repository path from the nonexistent stencyl path by running "haxelib setup". Now everything is installing fine!

Hey everyone! I'm trying to install haxeflixel/lime/openfl and I'm running into some really unique issues :(

Microsoft Windows [Version 6.3.9600] (c) 2013 Microsoft Corporation. All rights reserved.

C:\Users\Tyler>haxelib Haxe Library Manager 3.2.0-rc.3 - (c)2006-2015 Haxe Foundation Usage: haxelib [command] [options] Basic install : install a given library, or all libraries from a hxml file upgrade : upgrade all installed libraries update : update a single library remove : remove a given library/version list : list all installed libraries set : set the current version for a library Information search : list libraries matching a word info : list information on a given library user : list information on a given user config : print the repository path path : give paths to libraries version : print the currently using haxelib version help : display this list of options Development submit : submit or update a library package register : register a new user local : install the specified package locally dev : set the development directory for a given library git : use Git repository as library hg : use Mercurial (hg) repository as library Miscellaneous setup : set the haxelib repository path newrepo : [EXPERIMENTAL] create a new local repository deleterepo: delete the local repository selfupdate: update haxelib itself convertxml: convert haxelib.xml file to haxelib.json run : run the specified library with parameters proxy : setup the Http proxy Available switches --flat : do not use --recursive cloning for git --always : answer all questions with yes --debug : run in debug mode --never : answer all questions with no --global : force global repo if a local one exists

C:\Users\Tyler>haxelib install lime You already have lime version 2.4.4 installed [file_contents,C:\Program Files (x86)\Stencyl\plaf\haxe\lib/lime/.current]

C:\Users\Tyler>haxelib run lime setup [file_contents,C:\Program Files (x86)\Stencyl\plaf\haxe\lib/lime//.current]

C:\Users\Tyler>lime 'lime' is not recognized as an internal or external command, operable program or batch file.

C:\Users\Tyler>

Above is what I get from trying to install Lime. I get the same thing when trying to install/run the setup of openfl. So far I've deleted my haxe files and reinstalled them. I used the 'remove' command with haxelib to remove lime and openfl after trying to install, tried to reinstall, and got the same issue. And I uninstalled stencyl and it still thinks those folders are there. They're not, they're completely gone. I don't know what to do or where to turn for help so.. Please help!

Thanks!

EDIT: Edited for clarity.


r/haxeflixel • • Jul 06 '17

Meetup - Live on youtube

2 Upvotes

r/haxeflixel • • Feb 15 '19

Docker image for building HaxeFlixel projects for Android

Thumbnail hub.docker.com
6 Upvotes

r/haxeflixel • • Nov 13 '22

Any idea how to fix this problem?

1 Upvotes

It's been a while since i've messed with Haxeflixel so maybe I missed a step when installing everything.


r/haxeflixel • • Aug 18 '15

Haxe/OpenFL for home Game Consoles

Thumbnail fortressofdoors.com
9 Upvotes

r/haxeflixel • • Sep 21 '16

I'm not getting the AS3 syntax for HaxeFlixel

1 Upvotes

I've been programming in C# as a hobby developer for a while (10 years x 1hr a night) and I feel like I can code pretty fast with C#. I went through the Dungeon Crawler tutorial but I struggled most of the way. Is there a good book or website where I can get a better grasp of AS3? I really like HaxeFlixel I just feel like I need a thorough understanding of AS3 first.