https://linen.dev logo
Join DiscordCommunities
Powered by
# lime
  • a

    ambitious-knife-25690

    02/17/2023, 3:23 PM
    doesn't mean you need to post the issue across many channels
  • l

    lemon-accountant-65574

    02/17/2023, 3:24 PM
    sorry again
  • o

    orange-van-60470

    02/17/2023, 6:41 PM
    looks like a read write access problem. I would try to setup powershell for windows if that is still relevant ( not on windows now ) and reinstall haxe but make sure it has has full privalages to read and write.
  • o

    orange-van-60470

    02/17/2023, 6:42 PM
    also maybe you have virus software that is blocking ports
  • o

    orange-van-60470

    02/17/2023, 6:44 PM
    I would check with your current setup if you can atleast run a simple hello world with pure javascript no libraries and then try to install 'format' haxelib
  • o

    orange-van-60470

    02/17/2023, 6:45 PM
    I expect atleast one won't work so trying to install whole openfl certainly wont
  • o

    orange-van-60470

    02/17/2023, 6:45 PM
    assume everything is not working and test that assumption before trying to do everything
  • a

    able-action-74275

    02/17/2023, 6:47 PM
    they managed to get stuff working with manual installs via zip
  • a

    able-action-74275

    02/17/2023, 6:48 PM
    to an extent at least
  • a

    able-action-74275

    02/17/2023, 6:48 PM
    the saga continues here
  • b

    big-angle-82801

    02/17/2023, 6:48 PM
    I need to run some code before assets are loaded, to change the CWD so that the assets are loaded from the correct directory. Is there a way of doing this?
  • b

    big-angle-82801

    02/17/2023, 6:50 PM
    The assets are in a library which is preloaded
  • b

    big-angle-82801

    02/17/2023, 11:55 PM
    Looks like there is already a better solution for my issue: https://github.com/openfl/lime/pull/1538
  • t

    thousands-state-46635

    02/18/2023, 4:14 PM
    Is if="sys" a valid check? Or would I need something like if="desktop || mobile"
  • s

    square-angle-35096

    02/18/2023, 4:36 PM
    i'm pretty sure it is, have you tried compiling?
  • h

    handsome-cat-86429

    02/21/2023, 12:41 AM
    Error: Could not create PCH
    error appears when trying to build to windows, what does it mean and what can I do to fix it?
  • l

    little-oxygen-79174

    02/21/2023, 6:19 AM
    Is there a way to access
    lime.app.Application.current.meta.get('file')
    from a build macro?
  • l

    little-oxygen-79174

    02/21/2023, 6:20 AM
    Copy code
    <app main="Main" path="export" file="Sample" />
    As in this value.
  • r

    rhythmic-wolf-50922

    02/21/2023, 3:38 PM
    I don't think it's available at compile-time in defines or anything like that. maybe you could read the project.xml file manually.
  • l

    little-oxygen-79174

    02/22/2023, 5:14 AM
    Okay thank you
  • l

    little-oxygen-79174

    02/22/2023, 5:14 AM
    Does anyone have any examples of how this works or where it's been used? https://lime.openfl.org/docs/project-files/xml-format/#target
  • l

    little-oxygen-79174

    02/22/2023, 5:46 AM
    I ended up doing what I needed to do by adding a template file. Here's an example:
  • l

    little-oxygen-79174

    02/22/2023, 5:47 AM
    Start.sh
    Copy code
    #!/bin/bash
    
    # Start the game
    env LD_LIBRARY_PATH=./lib/ ./::APP_FILE::
    include.xml
    Copy code
    <extension>
        <template path="templates/Linux/Start.sh" rename="Start.sh" if="linux" />
    </extension>
  • l

    little-oxygen-79174

    02/22/2023, 5:48 AM
    The above creates a start script or launch script called Start.sh and places it in the build directory on Linux computers. The proper file name for the executable gets filled in.
  • s

    square-angle-35096

    02/25/2023, 1:39 PM
    is there how to activate a specific haxedef for all dependencies of a lime project?
  • s

    square-angle-35096

    02/25/2023, 1:40 PM
    i wanted to disable all of my dependencies traces on final/release mode
  • b

    bulky-insurance-39338

    02/25/2023, 1:42 PM
    what dependencies ? ... you can do inside of project.xml (or hxp workflow=?)
  • s

    square-angle-35096

    02/25/2023, 1:42 PM
    dependencies, like haxelibs.
  • s

    square-angle-35096

    02/25/2023, 1:43 PM
    i want to disable traces for all the haxelibs i'm using on that project
  • b

    bulky-insurance-39338

    02/25/2023, 1:43 PM
    ah .. yes.. set defines or flags inside the project.xml
1...596061...138Latest