bright-gpu-74537
02/22/2022, 11:57 AMbright-gpu-74537
02/22/2022, 11:57 AMicy-zebra-52882
02/22/2022, 11:59 AMallow-high-dpi is true for HTML5 export, libraries:
xml
<haxelib name="flixel" />
<!-- <haxelib name="deepnightLibs" /> -->
<haxelib name="jsoni18n" />
<!-- <haxelib name="ldtk-haxe-api" /> -->
<!-- <haxelib name="hxcpp-debug-server" if="debug" /> -->
<haxelib name="haxeui-core" />
<haxelib name="haxeui-flixel" />
<!-- <haxelib name="hxbit" /> -->
<!--In case you want to use the addons package-->
<haxelib name="flixel-addons" />
haxedefs:
xml
<!--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_GAMEPAD" if="mobile"/> -->
<!-- Stop HaxeUI complaining about SSL since we don't use internet anyway -->
<haxedef name="haxeui_no_network" />
<haxedef name="no_macro_cache"/>icy-zebra-52882
02/22/2022, 11:59 AMbright-gpu-74537
02/22/2022, 12:01 PMbright-gpu-74537
02/22/2022, 12:02 PMno_macro_cache wassat?icy-zebra-52882
02/22/2022, 12:02 PMicy-zebra-52882
02/22/2022, 12:02 PMbright-gpu-74537
02/22/2022, 12:03 PMicy-zebra-52882
02/22/2022, 12:03 PMicy-zebra-52882
02/22/2022, 12:03 PMicy-zebra-52882
02/22/2022, 12:05 PMicy-zebra-52882
02/22/2022, 12:07 PMbright-gpu-74537
02/22/2022, 12:12 PMbright-gpu-74537
02/22/2022, 12:12 PMbright-gpu-74537
02/23/2022, 10:29 AM#if mobile bits that changes the behaviour you were seeing - that said, i think testing on desktop using the mobile thingy is a valid strategy so the #if mobile type stuff has changed to a if Platform.instance.isMobile which allows for better detection (but also uses #if mobile if its there)bright-gpu-74537
02/23/2022, 10:29 AMicy-zebra-52882
02/23/2022, 12:02 PMicy-zebra-52882
02/23/2022, 12:04 PMbright-gpu-74537
02/23/2022, 12:05 PMbright-gpu-74537
02/23/2022, 12:05 PMbright-gpu-74537
02/23/2022, 12:06 PMicy-zebra-52882
02/23/2022, 12:07 PMicy-zebra-52882
02/23/2022, 12:07 PMicy-zebra-52882
02/23/2022, 12:08 PMicy-zebra-52882
02/23/2022, 12:09 PMbright-gpu-74537
02/23/2022, 12:10 PMPlaform.instance.isMobile is useful anyways, i mean its the platform its running on, not the platform its build forbright-gpu-74537
02/23/2022, 12:10 PMPlatform.instance.isWindows / isLinux / isMaclate-ocean-74713
02/24/2022, 2:03 PMbright-gpu-74537
02/24/2022, 3:37 PM