https://linen.dev logo
Join Discord
Powered by
# haxe-ui
  • b

    bright-gpu-74537

    09/21/2022, 8:15 PM
    ... it works really badly with 5.0 though... 😦
  • w

    witty-island-52596

    09/21/2022, 8:17 PM
    what do you mean badly
  • w

    witty-island-52596

    09/21/2022, 8:18 PM
    also I don't really know if there were any changes to 5.0 that relate to this, other than removing the zoom parameter from FlxGame
  • b

    bright-gpu-74537

    09/21/2022, 8:20 PM
    this is 4.11
  • w

    witty-island-52596

    09/21/2022, 8:21 PM
    try on html
  • b

    bright-gpu-74537

    09/21/2022, 8:21 PM
    this is dev
  • w

    witty-island-52596

    09/21/2022, 8:22 PM
    oh weird
  • b

    bright-gpu-74537

    09/21/2022, 8:22 PM
    yeah, ill have to debug it at some point... probably something i doing wrong / badly...
  • b

    bright-gpu-74537

    09/21/2022, 8:22 PM
    (im no flixel expert, or even user really)
  • w

    witty-island-52596

    09/21/2022, 8:22 PM
    does haxeui-flixel use FlxMouseEvents?
  • b

    bright-gpu-74537

    09/21/2022, 8:23 PM
    i dont think so
  • b

    bright-gpu-74537

    09/21/2022, 8:23 PM
    but it does use
    FlxG.stage.addEventListener
    if for mouse events if thats the same thing
  • b

    bright-gpu-74537

    09/21/2022, 8:25 PM
    same on html5
  • w

    witty-island-52596

    09/21/2022, 8:27 PM
    gonna try on my windows machine
  • w

    witty-island-52596

    09/21/2022, 8:28 PM
    oh, it looks right when i target mac, instead of html5
  • b

    bright-gpu-74537

    09/21/2022, 8:29 PM
    all very weird...
  • b

    bright-gpu-74537

    09/21/2022, 8:30 PM
    can you zip the project? Im going to ignore the 5.0 issues for now since, its release yet, and ill need to debug it a little
  • b

    bright-gpu-74537

    09/21/2022, 8:30 PM
    but im convinced there is something diffrent between mine and your project in the way its displayed the buttons in the first place
  • w

    witty-island-52596

    09/21/2022, 8:31 PM
    i really didn't edit it from the initial creation
  • b

    bright-gpu-74537

    09/21/2022, 8:31 PM
    there must be something different especially since your has a black background and the default template shouldnt
  • w

    witty-island-52596

    09/21/2022, 8:31 PM
    oh yeah, about that
  • w

    witty-island-52596

    09/21/2022, 8:32 PM
    not sure about that
  • e

    elegant-twilight-61392

    09/21/2022, 8:32 PM
    git versions of haxeui?
  • w

    witty-island-52596

    09/21/2022, 8:33 PM
    also my bg is black on Mac too
  • b

    bright-gpu-74537

    09/21/2022, 8:33 PM
    shouldnt matter anymore... 1.5 was released
  • b

    bright-gpu-74537

    09/21/2022, 8:33 PM
    can you just indulge me and send the project 🙂
  • b

    bright-gpu-74537

    09/21/2022, 8:33 PM
    (i mean, if there is nothing additional there, presumably its shareable?)
  • w

    witty-island-52596

    09/21/2022, 8:34 PM
    sure
  • w

    witty-island-52596

    09/21/2022, 8:35 PM
    also it's probably because I tried it verbatim, saw the issue, then changed main to the following, before grabbing the screenshot
    Copy code
    hx
    package ;
    
    import haxe.ui.Toolkit;
    
    class Main extends openfl.display.Sprite
    {
        public function new()
        {
            super();
            
            Toolkit.init();
            addChild(new flixel.FlxGame(0, 0, BootState));
        }
    }
    
    class BootState extends flixel.FlxState
    {
        override function create()
        {
            add(new MainView());
        }
    }
  • w

    witty-island-52596

    09/21/2022, 8:35 PM
    which likely ignores the .properties, right?
1...126412651266...1687Latest