Questions tagged [flixel]

Flixel is a free open-source game-making library written in ActionScript 3.

Flixel is a free open-source game-making library written in by Adam Saltsman.

Flixel provides features common to many game engines, including collisions, simple physics, particle effects, tile maps, saved games, etc.

Resources:

65 questions
0
votes
1 answer

How to fadeOut splash screen after a couple seconds?

I have the following splash screen: final boundingBox = new FlxSprite(); boundingBox.makeGraphic(300, 200, 0xff428BBF); boundingBox.screenCenter(XY); add(boundingBox); final level_1_text = new FlxText(0, 0,…
0
votes
2 answers

2x2 Pixel Surface in Pygame

I'm trying to develop a 16-bit-era looking game with pygame. I was working with FlashDevelop and Flixel but I wanted to try something more solid. The probleme I'm having is with the look of the game, I want every pixel in screen to be "bigger", I…
fixmycode
  • 8,220
  • 2
  • 28
  • 43
0
votes
1 answer

As3 flixel - mouse issue with external swf

I finally got externally loaded swfs working (for menus) in my flixel game. Only problem is, I'm using FlxG.stage.addChild(mClip); which seems to place the movie clip on top of everything else... including FlxG.mouse. Anyone know of a fix for this?
PHaZerous
  • 59
  • 9
0
votes
1 answer

AS3 Flixel - Using FlxCamera

Having trouble setting up multiple cameras in Flixel v2.55. This s a 2d tile game. I'd like for the map and actors to be at zoom 2 and the hud and menus at zoom 1. Every game element is set into a FlxGroupXY (modified FlxGroup). I've googled this…
PHaZerous
  • 59
  • 9
0
votes
1 answer

AS3 Flixel Setting control keys as variables

I would like to store keyboard input as a variable in the class (not the function), that way they're not hardcoded. if(FlxG.keys.(myKeyVar)) any help is appreciated.
PHaZerous
  • 59
  • 9
0
votes
1 answer

Flixel+ FlashDevelop sound not playing

I'm a beginner at this, I have my Space Invaders clone set up, I learned how to make flash games on various tutorials on the internet, but with no sound. However, the game runs fine with no errors, but, the sound is not playing when I press the…
0
votes
0 answers

Flixel + FlashDevelop as3 tutorial

First of all, I know how to do basic stuff on FlashDevelop such as drawing circles, creating the Hello World sample program, and adding gravity, thanks to online tutorials I found online such as these…
0
votes
1 answer

The definition of base class FlxGame was not found

I'm getting an error where FlxGame can't be found. I am importing it and it's in the src folder. I copied the org folder from AdamAtomic-flixel-8989e50 into src. I'm writing this in FlashDevelop. This is the error…
linnal86
  • 11
  • 4
0
votes
2 answers

References in XML data with flixel + Actionscript 3

So I have this in an file which has been turned into a xml file. This file has an array in it, with a specific set up, like this: //info How would i…
thor625
  • 87
  • 4
  • 16
0
votes
1 answer

Xml data referencing and flixel

I have started using XMLs for the first time in flixel, and I have run into some trouble. I am trying to get the tileset out of this: //some code I have tried: Ground.tileset and…
thor625
  • 87
  • 4
  • 16
0
votes
1 answer

How to make projectile motion in flixel + as3

So I have my character, who when I press the mouse button, should fire off a few lasers, to take out those bad guys. Currently I add my little laser. Then I use this: this.velocity.x = (MousePos.x - StartPos.x) * bulletSpeed //same…
thor625
  • 87
  • 4
  • 16
0
votes
1 answer

FlxG.collide (with setTileProperties) colliding outside the tile space in flixel

so I have been using flixel I some recently, and I think I am getting a feel for it, but I have come across a issue. I have a Map class, that uses the loadMap() function, which comes out great. I then use setTileProperties() on my Water tile, that…
thor625
  • 87
  • 4
  • 16
0
votes
2 answers

What Flash Framework For Soccer game?

I'm a new Flash games developer, i just created my first game in Flash using FlashPunk, it was great, now i'm supposed to create a single player vs cpu soccer game, exactly like this one : Kung Foot. As i said, i find FlashPunk a good Framework, but…
0
votes
2 answers

Embedding a file with a variable in AS3 + flixel

I have recently picked up flixel (I have programmed before, but I have not in a while) and I have come across a problem. I am attempting to create maps, and eventually there will be multiple maps available. I currently have a .txt file that has…
thor625
  • 87
  • 4
  • 16
0
votes
1 answer

Can't open an Actionscript project with Flashdevelop

I'm working on creating flash games using actionscript 3, i'm trying to open a Flixel project with FlashDevelop but i can't find a way to do it, i cerated a new project and put the files inside but nothing it seems to work, this is the link for the…