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

    bright-gpu-74537

    02/27/2023, 9:14 PM
    didnt realise there was general interest
  • f

    full-journalist-82607

    02/27/2023, 9:16 PM
    ( I couldn't stop me from making joke, in fact I don't what sparrow player is 😉 )
  • a

    ambitious-knife-25690

    02/27/2023, 10:41 PM
    I have no idea what is going on with the button overlap thing
  • a

    ambitious-knife-25690

    02/27/2023, 10:41 PM
    but it seems mostly correct
  • a

    ambitious-knife-25690

    02/27/2023, 10:41 PM
    I think the last one seems correct to me as the colours are merging, do you happen to shrink the size of the background if there's a border? @bright-gpu-74537
  • a

    ambitious-knife-25690

    02/27/2023, 10:58 PM
    interestingly
  • a

    ambitious-knife-25690

    02/27/2023, 10:58 PM
    still no fade here
  • a

    ambitious-knife-25690

    02/27/2023, 10:58 PM
    well, it seems like there's "something" on fade in
  • a

    ambitious-knife-25690

    02/27/2023, 10:58 PM
    just not out
  • b

    brave-kangaroo-30399

    02/27/2023, 11:42 PM
    This is exactly something I've been meaning to make for years but never had the time or felt like it lol
  • a

    ambitious-knife-25690

    02/28/2023, 1:06 AM
    Okay, i've narrowed down on another problem
  • a

    ambitious-knife-25690

    02/28/2023, 1:06 AM
    virtual="true"
    makes it impossible to use the entire app
  • a

    ambitious-knife-25690

    02/28/2023, 1:10 AM
    So i first show everything mostly working (drag/inertia scroll doesn't seem to work here as well)
  • a

    ambitious-knife-25690

    02/28/2023, 1:10 AM
    after that little show, i add
    virtul=true
    and i can't do anything in the app at all
  • h

    hallowed-ocean-84954

    02/28/2023, 5:04 AM
    Is there a way to use #if .... #end in haxeui xml files ? Or something equivalent so I can exclude stuff based on target
  • l

    little-oxygen-79174

    02/28/2023, 6:18 AM
    The Sparrow player is the main method of playing animations in HaxeFlixel (which HaxeUI has a backend for)
  • b

    bright-gpu-74537

    02/28/2023, 7:48 AM
    you can do
    <blah if="hxwidgets" unless="html5">...
    in modules, i think in UIs too
  • b

    bright-gpu-74537

    02/28/2023, 7:49 AM
    is your clipping doing something odd maybe, really hard to know / tell
  • b

    bright-gpu-74537

    02/28/2023, 7:51 AM
    yeah: http://haxeui.org/builder/?b518b48c
  • p

    powerful-garden-79363

    02/28/2023, 8:47 AM
    so i already asked about my problems with running my friends project yesterday in #162395145352904705 and some of them were fixed but i still cant run the project here is the error
    Copy code
    TypeError [ERR_INVALID_ARG_VALUE]: The argument 'file' cannot be empty. Received ''
        at new NodeError (/home/observr/Documents/code/haxe/Codastrophe-client-master/lib/internal/errors.js:399:5)
        at normalizeSpawnArguments (/home/observr/Documents/code/haxe/Codastrophe-client-master/lib/child_process.js:549:11)
        at Object.spawn (/home/observr/Documents/code/haxe/Codastrophe-client-master/lib/child_process.js:750:13)
        at run (/home/observr/Documents/kha/Kha/Tools/khamake/out/Icon.js:19:20)
        at Object.exportIco (/home/observr/Documents/kha/Kha/Tools/khamake/out/Icon.js:44:5)
        at exportKhaProject (/home/observr/Documents/kha/Kha/Tools/khamake/out/main.js:376:14)
        at process.processTicksAndRejections (/home/observr/Documents/code/haxe/Codastrophe-client-master/lib/internal/process/task_queues.js:95:5)
        at async exportProject (/home/observr/Documents/kha/Kha/Tools/khamake/out/main.js:514:16)
        at async Object.run (/home/observr/Documents/kha/Kha/Tools/khamake/out/main.js:678:16)
        at async runKhamake (/home/observr/Documents/kha/Kha/Tools/khamake/out/khamake.js:390:9) {code: 'ERR_INVALID_ARG_VALUE', stack: 'TypeError [ERR_INVALID_ARG_VALUE]: The argume…s/kha/Kha/Tools/khamake/out/khamake.js:390:9)', message: 'The argument 'file' cannot be empty. Received ''', toString: ƒ, Symbol(kIsNodeError): true}
    
    Process exited with code 1
    i am using vs code on linux
  • p

    powerful-garden-79363

    02/28/2023, 8:50 AM
    and the error looks like the problem is with the code but it works for my friend
  • b

    bright-gpu-74537

    02/28/2023, 8:54 AM
    its not even get to "the code" though... these errors look to be coming from khamake (the kha build system)
  • b

    bright-gpu-74537

    02/28/2023, 8:54 AM
    what happens if, in a terminal, not vscode, you run:
    node kha/make
    (in the directory of the project)
  • b

    bright-gpu-74537

    02/28/2023, 8:57 AM
    what does "ls" show in that dir?
  • b

    bright-gpu-74537

    02/28/2023, 9:07 AM
    i mean, by the looks of it, you dont have kha installed... or even the dir "git ready"
  • b

    bright-gpu-74537

    02/28/2023, 9:08 AM
    so, ignore vscode for a minute... lets get it running on the command line:
  • b

    bright-gpu-74537

    02/28/2023, 9:08 AM
    run (in that dir):
  • p

    powerful-garden-79363

    02/28/2023, 9:08 AM
    i need to install kha inside the project folder?
  • b

    bright-gpu-74537

    02/28/2023, 9:09 AM
    *
    git init
    *
    git submodule add https://github.com/KTXSoftware/Kha
    *
    git submodule update --init --recursive
  • b

    bright-gpu-74537

    02/28/2023, 9:09 AM
    (last one will take a while)
1...155015511552...1687Latest