Hii Guys.
I am new to the forum, so please forgive me for asking noob questions, rules etc.
I am in the verge of learning haxeflixel and I have encountered a problem.
I am trying to use flxogmoloader as follows:
package;
import flixel.addons.editors.ogmo.FlxOgmoLoader;
import flixel.FlxG;
import flixel.FlxSprite;
import flixel.FlxState;
import flixel.text.FlxText;
import flixel.tile.FlxTilemap;
import flixel.ui.FlxButton;
import flixel.util.FlxMath;
/**
* A FlxState which can be used for the actual gameplay.
*/
class PlayState extends FlxState
{
private var _player:Player;
private var _map:FlxOgmoLoader;
private var _mwalls:FlxTilemap;
/**
* Function that is called up when to state is created to set it up.
*/
override public function create():Void
{
_map = new FlxOgmoLoader(AssetPaths.room001__oel);
_player = new Player(20, 20);
add(_player);
but when I try to compile the game, it gives me an error:
C:/Users/theleper/lime/flixel-addons/git/flixel/addons/editors/ogmo/FlxOgmoLoader.hx:5: characters 7-26 : Type not found : flixel.math.FlxRect
source/MenuState.hx:14: lines 14-49 : Defined in this class
Build halted with errors.
Any Ideas what can make this error?
thank you so so much for the help.