Questions tagged [flixel]
Flixel is a free game library for ActionScript, created by Adam Atomic. It has been used for many great games, such as Canabalt and Hello Worlds.
32
questions
0
votes
1answer
486 views
Revolve FlxSprites Around a Central FlxSprite in Flash Game made with Flixel
I have been working on a Flash game made in Flash Builder using the Flixel library. I have been trying to dynamically create a group of FlxSprites , and revolve them around a player controlled class ...
0
votes
3answers
900 views
In HaxeFlixel, how do I avoid hard-coding dialogue?
I'm planning to develop a visual novel in Haxe Flixel and wanted to know if there is a easier way to add dialogue than to hardcode them in every square. I don't know if I can import a txt file with ...
0
votes
3answers
258 views
Creating UI using Flixel
I am new to game development but familiar with programming languages. I have started using Flixel and have a working Breakout game with score and lives.
What I am trying to do is add a Start Screen ...
1
vote
1answer
326 views
How can I spawn a sprite based on a condition after the game starts?
How do I spawn a sprite anytime later in the game when the game starts?
I'm using FlashDevelop with Flixel. I did try it in override public function create(): void....
1
vote
1answer
87 views
Pathfinding onComplete event?
In HaxeFlixel 4 all FlxObjects have a path property which must be a FlxPath instance
...
0
votes
2answers
867 views
Use of FlxG.camera.follow to follow a character vertically
I am developing a prototype for a game in Flixel in which a character floats upward continually to traverse the level. I would like to have a "tall" layout for levels and set the FlxG.camera to follow ...
1
vote
1answer
177 views
How to create UI for 2D games? [closed]
I'm working on a game using Haxe + Flambe but I'm having a hard time making the UI part of it (main screen, level selection, etc).
And I began to think... is there another way?
I would love to have ...
1
vote
1answer
220 views
FLIXEL: hexagonal tiles not seamlessly tiling with each other
I'm making a hex grid for our project using as3. I wonder why my hex grid isn't tiling properly.
Running my code within Flash CS6 produces seamless tiling
but on FlashDevelop it looks like this
...
-1
votes
2answers
468 views
FlxG.overlap() won't work
I need a collision detection that has no physics and it's FlxG.overlap(), right? But why it doesn't work? FlxG.collide() works for me but.. how can I remove the physics when I hit the monster with a ...
0
votes
1answer
785 views
Rotating an object about a point (2D) using box2d
i just started developing using box2d on flixel and i realise the pivot point of the rotation of an object in box2d is set to the center of an object.
i had read on forums and i found out that ...
3
votes
1answer
609 views
How do I animate a tilemap in Flixel?
I am trying to animate a tilemap using Flixel 2.55. I found this code that apparently enables the use of sprites as tiles.
To my understanding, this loops over the tilemap's graphic and replaces the ...
1
vote
3answers
135 views
Flixel text causing memmory leak (FlxText) - AS3
I am calling kill() and destroy() on flxText when i dont need it anymore, how come its still using the memmory it let the game run for a while it went up to 1,5 gig of ram, then i commented it out the ...
2
votes
1answer
358 views
My FlxGroup does not change it's visibility status
So, I found I needed a different type of button for my game, which I am making using Haxe, OpenFL and HaxeFlixel. After sometime fliding with Haxe, I got following button done, which works just fine. ...
1
vote
2answers
1k views
Use FlxAnim to Animate a FlxSprite in Flixel on FlashBuilder
I am trying to animate a FlxSprite, whose image I loaded from an embedded sprite sheet. I instantiate the sprite like this:
...
-1
votes
1answer
488 views
Flixel or Pygame for a small game? [closed]
I have some experience in Bash and Python, Lua.
I've always wanted to try and make point & click quest games. Most
quest games I loved aesthetically and gameplay wise were made with
Flash.
So ...
1
vote
1answer
139 views
Flixel: Is it possible to use a spritesheet for FlxButtonPlus?
I'm trying to change the graphic on a FlxButtonPlus. I want to get the graphic from a spritesheet. However, if I try the ' regular' way (make an animation and play it), it refuses to use just the part ...
1
vote
0answers
277 views
How do I make a custom tileset for Flixel that supports autotiling?
I've been Googling this problem for a while now. I'm currently porting one of my Java games to Flixel, and I want to use the original 16x16 tileset I made. In the original game I implemented my own ...
0
votes
2answers
564 views
Using timer to reverse enemy movement in Flash game made with Flixel
I am creating a 2d flash game using Flixel 2.5 in Flash Builder. I am trying to reverse enemy movement on an interval so that they will move back and forth over a set space. I felt that a timer would ...
1
vote
1answer
438 views
Hello World with FlashDevelop, Flixel, AS3: uneffective SWF macro
I just started with FlashDevelop and Flixel, and I already have a question. I created this basic hello world:
...
2
votes
1answer
356 views
Flixel Development in Ubuntu/Linux
I've been trying to setup a development environment for Flixel on Ubuntu using this guide http://forums.flixel.org/index.php?topic=4545.0 but thus far have been unsuccessful mainly due to the guide ...
0
votes
1answer
224 views
Use an external sprite or image file in flixel game in flashbuilder
Is there any way to use an external image/sprite file for the graphic of a FlxSprite instance?
Say I declare my player FlxSprite as follows:
...
3
votes
1answer
905 views
Change the tilemap shown on stage in Flixel
I am building a simple platformer using Flixel, beginning with the source code from Flixel creator's EZPlatformer . I would like to adjust the level's tilemap when the player sprite enters/overlaps ...
1
vote
1answer
58 views
Flixel level ceases to show on screen
I was following along with the EZPlatformer flixel tutorial(with some of my own modifications), and suddenly find that my level is not appearing on screen. I am unable to detect any changes I could ...
2
votes
1answer
2k views
Best way to generate pieces in match-3 games, and then tracking them?
I've been working on a match-3 style game in Actionscript using Flixel, and so far, I've been able to build the core mechanics of the game, including board generation, piece generation, piece swapping ...
1
vote
2answers
657 views
Flixel: doesn't light tile up
i'm creating a game with flixel, and I want to have a effect when you mouse over a tile, I tried implementing it, and this is what it gives:
...
1
vote
1answer
719 views
Load individual sprite from a sprite sheet and make it a FlxSprite
I'm using flixel and flixer power tools which contains a FlxButtonPlus class that allows me to load 2 FlxSprite as each button state, the problem is that FlxSprite requires a Class a its source but I ...
4
votes
1answer
991 views
Pixel-perfect collision against rotated sprite in Flixel
I've got a roughly 500x50 graphic of a lockpick that I need to be able to rotate very finely while doing pixel-perfect collision detection against the lock object.
There's no way to do pixel perfect ...
1
vote
1answer
928 views
Using Actionscript 3's Graphics API in Flixel
My question sounds pretty simple but awfully, I couldn't find much information on the internet.
How can I draw a circle in my FlxSprite?
I couldn't find much information about drawing geometric ...
2
votes
2answers
1k views
How to change particle graphics emitted by FlxEmitter?
I'm working with Flixel and attempting to emit "custom" FlxParticles from a FlxEmitter. However, my main issue is that I typically get the default Flixel image emitted instead of my custom graphic.
...
3
votes
2answers
606 views
Incorrect angle calculation?
I'm trying to create a simple topdown game, in which you control the player by WASD keys and use mouse to aim and shoot. So far, I have a player moving and firing, but I think there is something wrong ...
3
votes
2answers
1k views
Rotate spritesheet graphics in flixel
I am using the flash flixel engine, and have a sprite sheet of a spaceship from top-down view. The sprite sheet includes a bunch of different states and animation frames. Problem is that I have drawn ...
1
vote
1answer
943 views
FlxSprite ignore camera follow in flixel
I am using flixel v2.5 and am using FlxG.camera.follow to get the camera to follow the player. I have a background FlxSprite ...