This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Available variables: | |
// - Machine | |
// - interpret | |
// - assign | |
// - send | |
// - sendParent | |
// - spawn | |
// - raise | |
// - actions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Available variables: | |
// - Machine | |
// - interpret | |
// - assign | |
// - send | |
// - sendParent | |
// - spawn | |
// - raise | |
// - actions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Available variables: | |
// - Machine | |
// - interpret | |
// - assign | |
// - send | |
// - sendParent | |
// - spawn | |
// - raise | |
// - actions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Available variables: | |
// - Machine | |
// - interpret | |
// - assign | |
// - send | |
// - sendParent | |
// - spawn | |
// - raise | |
// - actions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
///// HOW IT IS NOW | |
/** | |
* Called by the game loop automatically, handles mouseover and click detection. | |
*/ | |
override public function update(elapsed:Float):Void | |
{ | |
super.update(elapsed); | |
input.update(); ////////// problem method | |
if (visible) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package; | |
import flixel.FlxState; | |
import flixel.FlxG; | |
import flixel.input.keyboard.FlxKey; | |
import flixel.ui.FlxButton; | |
class PlayState extends FlxState | |
{ | |
var button:FlxButton; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var testText:FlxUIText = new FlxUIText(10,10,300,"Dpi: " + Capabilities.screenDPI + " w: " + inchesWidth + "in., h: " + inchesHeight + "in."); | |
//testText.wordWrap = false; | |
//testText.angle =20; | |
testText.size = 48; | |
testText.fitToWidth(); | |
add( testText ); | |
testText = new FlxUIText(350,10,300,"Dpi: " + Capabilities.screenDPI + " w: " + inchesWidth + "in., h: " + inchesHeight + "in."); | |
testText.size = 48; | |
//testText.fitToWidth(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<definition id="button" width="100" height="25"> | |
<text use_def="sans12c" color="0xffffff"> | |
<color id="over" value="0xffff00"/> | |
</text> | |
<graphic id="all" image="ui/buttons/button_blue" slice9="6,6,12,12"/> | |
</definition> | |
<button id="btn0" use_def="button" x="0" y="-5" label="$START_GAME" width="300" height="200"> | |
<anchor x="back.center" x-flush="center" y="back.bottom" y-flush="bottom"/> | |
<param type="int" value="0"/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TypeError: Error #1009: Cannot access a property or method of a null object reference. | |
at flixel::FlxSprite/resetFrameSize()[/usr/lib/haxe/lib/flixel/git/flixel/FlxSprite.hx:618] | |
at flixel::FlxSprite/updateFrameData()[/usr/lib/haxe/lib/flixel/git/flixel/FlxSprite.hx:1399] | |
at flixel::FlxSprite/loadGraphic()[/usr/lib/haxe/lib/flixel/git/flixel/FlxSprite.hx:338] | |
at flixel.addons.ui::FlxUITypedButton/loadGraphicSlice9()[/usr/lib/haxe/lib/flixel-ui/git/flixel/addons/ui/FlxUITypedButton.hx:375] | |
at flixel.addons.ui::FlxUI/_loadButton()[/usr/lib/haxe/lib/flixel-ui/git/flixel/addons/ui/FlxUI.hx:1625] | |
at flixel.addons.ui::FlxUI/_loadThing()[/usr/lib/haxe/lib/flixel-ui/git/flixel/addons/ui/FlxUI.hx:748] | |
at flixel.addons.ui::FlxUI/load()[/usr/lib/haxe/lib/flixel-ui/git/flixel/addons/ui/FlxUI.hx:373] | |
at flixel.addons.ui::FlxUIState/create()[/usr/lib/haxe/lib/flixel-ui/git/flixel/addons/ui/FlxUIState.hx:74] | |
at MenuState/create()[source/MenuState.hx:43] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/usr/lib/haxe/lib/flixel-ui/git/flixel/addons/ui/FlxUIDropdownMenu.hx:7: characters 7-29 : Class not found : flixel.ui.FlxClickArea | |
source/GameClass.hx:6: lines 6-21 : Defined in this class | |
source/GameClass.hx:8: lines 8-20 : Missing super constructor call | |
/usr/lib/haxe/lib/flixel-ui/git/flixel/addons/ui/FlxUI.hx:283: characters 24-29 : flixel.addons.ui.#U has no field xml | |
/usr/lib/haxe/lib/flixel-ui/git/flixel/addons/ui/FlxUI.hx:743: characters 25-36 : Unknown identifier : _loadRegion | |
/usr/lib/haxe/lib/flixel-ui/git/flixel/addons/ui/FlxUI.hx:744: characters 92-109 : Unknown identifier : _load9SliceSprite | |
/usr/lib/haxe/lib/flixel-ui/git/flixel/addons/ui/FlxUI.hx:786: characters 9-21 : Unknown identifier : _getDataSize | |
/usr/lib/haxe/lib/flixel-ui/git/flixel/addons/ui/FlxUI.hx:791: characters 9-21 : Unknown identifier : _getDataSize | |
/usr/lib/haxe/lib/flixel-ui/git/flixel/addons/ui/FlxUI.hx:1118: characters 51-65 : Unknown identifier : calcMaxMinSize | |
/usr/lib/haxe/lib/flixel-ui/git/flixel/addons/ui/FlxUI.hx:746: |