All I needed was FlxUIButton, so that's perfect, thank you. ^^

Vulpicula
@Vulpicula
Posts made by Vulpicula
-
RE: FlxTextAlign.CENTER doesn't align properly.
-
FlxTextAlign.CENTER doesn't align properly.
Hello.
I've been attempting to resize some of my UI buttons, and expand the text. My aim is to get the text to be fully in the middle, in both the X and Y coordinates of the button.
However, while FlxTextAlign.CENTER does do the X coordinate right, it seems to place the text at the very bottom of the button, almost to the point of where some letters, such as 'y' and 'j', hang off the button.
Am I not using the right alignment?
-
RE: Problem with compiling on Linux (64)
You may have copy the code from the demos into your IDE, and then compile that to SWF. Otherwise, I'd suggest maybe wine?
(Demo code can be found on the github, usually: https://github.com/HaxeFlixel/flixel-demos/ )
-
RE: About application exiting
Was this compiling to flash, or compiling to windows? As far as I've seen, OpenFL is incredibly glitchy when compiling to .exe. (...and seems somewhat buggy in general, but that may just be my experience.)
...either way, it works I guess... juuuust don't poke it.
-
Static Method vs a normal Method.
Hello!
I've recently encountered a section of the documentation that specifies a static method, versus a regular method.
While I'm used to methods, I'm unsure of the difference between that and a static method. If someone could inform me or point me in the direction of an example, I'd be quite grateful.Thank you in advance. ^^
-
RE: How do I make a text box? I can't find any tutorials anywhere.
@gama11 I've basically had to go with FlxTextField instead due to some very strange bugs with scaling.
...not that FlxTextField is any better, as I've been unable to get that to even show up. >~<
-
RE: [JRPG] HEGEMONE PASS - Turn-Based RPG x Platformer
Beautiful art style. It's simplistic, but not too much to be lazy. ^^
-
RE: Emitters Demo
Rain lags the simulation a ton, with just a single click. Then again I don't really have the best PC, so that may be why.
-
RE: How do I make a text box? I can't find any tutorials anywhere.
@gama11 Don't laugh, please. :P
var _textField:TextField = new TextField(); _textField.text = "Test!"; _textField.FlxG.addChildBelowMouse();
I have been importing it using
import flash.text.TextField;
-
RE: How do I make a text box? I can't find any tutorials anywhere.
@gama11 said in How do I make a text box? I can't find any tutorials anywhere.:
TextField
Alright, thank you. Lets hope this doesn't break everything. ^^
Edit: Well, it did. At least it gave me an error this time. >~<
ReferenceError: Error #1069: Property FlxG not found on flash.text.TextField and there is no default value. at Tile_TUT/create() at flixel::FlxGame/switchState() at flixel::FlxGame/update() at flixel::FlxGame/step() at flixel::FlxGame/onEnterFrame()