fierce-soccer-8550
10/24/2021, 8:53 PMbright-gpu-74537
10/24/2021, 8:53 PMmammoth-plastic-35593
10/25/2021, 7:10 AMbright-gpu-74537
10/25/2021, 7:17 AMbright-gpu-74537
10/25/2021, 7:18 AMbright-gpu-74537
10/25/2021, 7:19 AMbright-gpu-74537
10/25/2021, 7:19 AMmammoth-plastic-35593
10/25/2021, 7:24 AMmammoth-plastic-35593
10/25/2021, 7:24 AMmammoth-plastic-35593
10/25/2021, 7:25 AMhaxe/ui/backend/flixel/MouseHelper.hx I hacked it to not be dependent on mouse (which isn't available on mobile devices) to look like:mammoth-plastic-35593
10/25/2021, 7:25 AMhaxe
private static function get_buttonPressed():Int {
var n = -1;
#if mobile
if (FlxG.touches.list.length > 0) {
n = 0;
}
#else
if (FlxG.mouse.pressed == true) {
n = 0;
} else if (FlxG.mouse.pressedRight == true) {
n = 1;
}
#end
return n;
}
Which I'm sure isn't the ideal solution, but it got me building, at least. Then I saw the UI was a little wonky.mammoth-plastic-35593
10/25/2021, 7:28 AM!"#$.... in it are both flixel things. The rest are haxeui elements.bright-gpu-74537
10/25/2021, 7:28 AMmammoth-plastic-35593
10/25/2021, 7:30 AMbright-gpu-74537
10/25/2021, 7:31 AMbright-gpu-74537
10/25/2021, 7:32 AMfierce-soccer-8550
10/25/2021, 8:15 AMbright-gpu-74537
10/25/2021, 8:45 AMbright-gpu-74537
10/25/2021, 10:31 AMmammoth-plastic-35593
10/25/2021, 2:44 PMbright-gpu-74537
10/25/2021, 2:47 PMbright-gpu-74537
10/25/2021, 2:47 PMmammoth-plastic-35593
10/25/2021, 2:49 PMmammoth-plastic-35593
10/25/2021, 3:04 PMmammoth-plastic-35593
10/25/2021, 3:06 PMbright-gpu-74537
10/25/2021, 3:14 PMbright-gpu-74537
10/25/2021, 3:14 PMmammoth-plastic-35593
10/25/2021, 3:21 PMbright-gpu-74537
10/25/2021, 3:23 PMbright-gpu-74537
10/25/2021, 3:23 PM