Error Type not found : flixel.addons.editors.FlxOgmoLoader
-
I'm following a tutorial [6 - Loading the Tilemap]
using VsCode
installed flixel , flixel-addons: [2.4.1]
uncommented <haxelib name="flixel-addons" />
still got Error when import flixel.addons.editors.FlxOgmoLoader; or flixel.addons.*source/PlayState.hx:4: characters 7-42 : Type not found : flixel.addons.editors.FlxOgmoLoader
source/Main.hx:7: lines 7-14 : Defined in this classhaxelib list
flixel-addons: [2.4.1]
flixel-templates: [2.4.1]
flixel-tools: [1.3.0]
flixel-ui: [2.2.0]
flixel: [4.2.1]
hxcpp: [3.4.64]
lime-samples: [4.0.1]
lime: [2.9.1]
nape: [2.0.20]
openfl: [3.6.1]
-
Hey there!
Since HaxeFlixel 4.0.0, that import should be:
import flixel.addons.editors.ogmo.FlxOgmoLoader;
The tutorial may be outdated then... If you have more inconsistencies, the full updated code is in the demos section of the site.
Hope this works!
-
After reinstalled flixel and lime
installed haxe extension packYour update code and Visual Studio Code are work fine . Thank you very much .
-
No prob. Glad that works now!