witty-island-52596
02/24/2023, 5:24 PMwitty-island-52596
02/24/2023, 5:24 PMaverage-truck-8256
02/24/2023, 5:25 PMdazzling-refrigerator-72575
02/24/2023, 6:04 PMCould not load content for file:///C:/haxe-flixel/Haxe/haxe/lib/hxWebSockets/1,4,0/hx/ws/WebSocket.hx (System error: net::ERR_FILE_NOT_FOUND)
I'm using flixel for the game and all it's library including itself works. I'm not sure why hxWebSockets files are not be including in the build. Keep in mind this is a itch.io game so I'm making it a zip file. Should I try making a folder in the zip and put all of hxWebSockets files in it or something?ambitious-knife-25690
02/24/2023, 6:26 PMambitious-knife-25690
02/24/2023, 6:26 PMable-printer-41379
02/24/2023, 7:13 PMable-printer-41379
02/24/2023, 7:13 PMaverage-truck-8256
02/24/2023, 7:19 PMdazzling-refrigerator-72575
02/24/2023, 7:37 PMambitious-knife-25690
02/24/2023, 7:38 PMhaxelib git hxWebSockets https://github.com/ianharrigan/hxWebSockets and it will use the git version?dazzling-refrigerator-72575
02/24/2023, 7:38 PMdazzling-refrigerator-72575
02/24/2023, 7:38 PMdazzling-refrigerator-72575
02/24/2023, 7:39 PMdazzling-refrigerator-72575
02/24/2023, 8:18 PMcolossal-match-5265
02/24/2023, 9:04 PMthis.u_darkColor.value = [0.0, 0.0, 0.0];
throws the error:
source/shaders/ColorShader.hx:23: characters 8-19 : shaders.ColorShader has no field u_darkColor
u_lightColor doesnt get red-underlined nor throw an error 🤔
hx
class ColorShader extends FlxShader
{
@:glFragmentSource('
#pragma header
uniform vec3 u_lightColor;
umiform vec3 u_darkColor;
void main() {
vec4 baseColor = texture2D(bitmap, openfl_TextureCoordv);
gl_FragColor = baseColor;
}
')
public function new()
{
super();
this.u_lightColor.value = [1.0, 1.0, 1.0];
this.u_darkColor.value = [0.0, 0.0, 0.0];
}
public function update(elapsed:Float) {}
}
Any ideas why? Is it something obvious?most-eve-98431
02/25/2023, 5:13 AMsquare-angle-35096
02/25/2023, 5:18 AMmost-eve-98431
02/25/2023, 5:19 AMsquare-angle-35096
02/25/2023, 5:19 AMxml
<icon path="" size='16'/>
<icon path="" size='24'/>
<icon path="" size='32'/>
<icon path="" size='40'/>
<icon path="" size='48'/>
<icon path="" size='64'/>
<icon path="" size='96' />
<icon path="" size='128' />
<icon path="" size='196' />
<icon path="" size='256' />
<icon path="" size='512' />
<icon path="" size='768' />most-eve-98431
02/25/2023, 5:20 AMsquare-angle-35096
02/25/2023, 5:20 AMorange-van-60470
02/25/2023, 10:59 AMorange-van-60470
02/25/2023, 11:00 AMorange-van-60470
02/25/2023, 11:00 AMorange-van-60470
02/25/2023, 11:01 AMpowerful-country-18177
02/25/2023, 12:46 PMearly-apartment-19010
02/25/2023, 2:17 PMtall-teacher-57409
02/25/2023, 2:19 PM