Hey everyone, I have problem with loading assets, on other PC everything is working fine, but on laptop I get errors posted below.
HaxeToolkit is on E:\ partition.
Assets.hx:124: [openfl.Assets] There is no BitmapData asset with an ID of "flixel/img/logo/default.png"
[Fault] exception, information=TypeError: Error #1009: Cannot access a property or method of a null object reference.
Fault, FlxSprite.hx:609
This is my project xml file :
<?xml version="1.0" encoding="utf-8"?>
<project>
<app title="MetalSparrow" file="MetalSparrow" main="Main" version="0.0.2" company="Gemaneko" />
<!--<haxedef name="advanced-telemetry" if="flash" /> -->
<window width="720" height="580" fps="60" orientation="portrait" fullscreen="true" if="web" />
<window width="620" height="620" fps="60" orientation="landscape" fullscreen="true" hardware="true" vsync="true" unless="web" />
<haxelib name="hscript"/>
<haxelib name="flixel" />
<classpath name="source"/>
<classpath name="E:\HaxeToolkit"/>
<!--The flixel preloader gets stuck in Chrome, so it's disabled by default for now.
Safe to use if you embed the swf into a html file!-->
<!--<app preloader="org.flixel.system.FlxPreloader" />-->
<!--The swf version should be at least 11.2 if you want to use the FLX_MOUSE_ADVANCED option-->
<set name="SWF_VERSION" value="11.8" />
<assets path="assets" if="android" >
<sound path="data/beep.wav" id="Beep" />
<!-- Your sound embedding code here... -->
</assets>
<assets path="assets" if="desktop" >
<sound path="data/beep.wav" id="Beep" />
<!-- Your sound embedding code here... -->
</assets>
<assets path="assets" if="flash" >
<sound path="data/beep.mp3" id="Beep" />
<!-- Your sound embedding code here... -->
</assets>
<assets path="assets" if="html5" >
<sound path="data/beep.mp3" id="Beep" />
<!-- Your sound embedding code here... -->
</assets>
<assets path="data" include="*.hx" type="text" />
<assets path="data" include="*.txt" type="text" />
<assets path="data" include="*.json" type="text" />
<assets path="data" include="*.swf" type="SWF" />
<assets path="data" include="*.wdp" type="image" />
<assets path="data" include="*.png" type="image" />
<assets path="data" include="*.jpg" type="image" />
<assets path="data" include="*.gif" type="image" />
<assets path="data" include="*.ttf" type="font" />
<assets path="data" include="*.json" type="text" />
<assets path="data" include="*.atlas" type="text" />
<assets path="data" include="*.mp3" type="sound" />
<assets path="data" include="*.wav" type="sound" />
<assets path="levels" include="*.oel" type="text" />
<assets path="assets" exclude="*.wav" if="flash" />
<assets path="assets" exclude="*.svg" if="html5" />
<assets path="assets" if="desktop" />
<assets path="assets" if="mobile" />
<assets path="assets" exclude="*.wav" if="flash" />
<icon name="assets/HaxeFlixel.svg" />
<set name="BUILD_DIR" value="F:\Dropbox\Metal Sparrow\output" />
<haxelib name="openfl" />
<haxelib name="flixel"/>
<haxedef name="FLX_NO_GAMEPAD" if="flash" />
<!--In case you want to use the addons-->
<!--<haxelib name="flixel-addons"/>-->
<!--In case you want to use nape with flixel-->
<!--<haxelib name="nape"/>-->
<!--<haxedef name="nme" />-->
<!--Enable experimental threading support for cpp targets-->
<!--<haxedef name="FLX_THREADING" />-->
<!--Enable the flixel core recording system-->
<!--<haxedef name="FLX_RECORD" />-->
<!--Enable right and middle click support for the mouse. Flash player version 11.2+, no HTML5 support -->
<haxedef name="FLX_MOUSE_ADVANCED" />
<!--Enables checks for antialiasing for sprite rendering on native targets. And could affect perfomance. -->
<!--<haxedef name="FLX_SPRITE_ANTIALIASING" />-->
<!--Disable the Flixel core debugger-->
<haxedef name="FLX_NO_DEBUG" />
<!--Optimise inputs, be careful you will get null errors if you don't use conditionals in your game-->
<!--<haxedef name="FLX_NO_MOUSE" if="mobile" />-->
<!--<haxedef name="FLX_NO_KEYBOARD" if="mobile" />-->
<!--<haxedef name="FLX_NO_TOUCH" if="desktop" />-->
<!--<haxedef name="FLX_NO_JOYSTICK" />-->
<!--Disable the Flixel core sound tray-->
<!--<haxedef name="FLX_NO_SOUND_TRAY" />-->
<!--Disable the Flixel core focus lost screen-->
<!--<haxedef name="FLX_NO_FOCUS_LOST_SCREEN" />-->
</project>