https://linen.dev logo
Join Discord
Powered by
# lime
  • m

    mysterious-oil-14535

    09/13/2022, 2:12 PM
    So the objective atm is to separate the code into smaller parts, and I opted for a compiled/native platform
  • b

    bulky-insurance-39338

    09/13/2022, 2:12 PM
    i did simmiliar into here for network-testing: so it uses OpenFl for graphical and tink_cli for the headless one
  • b

    bulky-insurance-39338

    09/13/2022, 2:18 PM
    apropos, testing this here and works also:
    Copy code
    haxe
    class Main extends Application 
    {
      public function new () {
        super ();
        trace("Hello World");
        System.exit(0);
      }
    }
  • a

    able-printer-41379

    09/23/2022, 4:07 PM
    Is it possible to remove this icon in alert()
  • r

    rhythmic-wolf-50922

    09/23/2022, 4:44 PM
    there doesn't seem to be a way to customize the
    window.alert()
    icon. only the title and message.
  • a

    able-printer-41379

    09/23/2022, 5:01 PM
    Ah then is there like a notify function
  • r

    refined-laptop-39041

    09/23/2022, 5:51 PM
    You might want to use something like #565569107701923852, but it might be too bulky if you aren't using UI for anything else
  • b

    best-agent-85158

    09/24/2022, 11:09 AM
    Should be possible with SDL_ShowMessageBox and I'm planning to implement it for lime in the very near future
  • a

    able-printer-41379

    09/24/2022, 11:10 AM
    i wish you good luck!
  • b

    best-agent-85158

    09/24/2022, 11:10 AM
    Just need to think of a function name (
    window.showMessage
    seems iffy)
  • a

    able-printer-41379

    09/24/2022, 11:10 AM
    maybe
    window.notify(title:String, message:String, warning:Bool);
  • b

    best-agent-85158

    09/24/2022, 11:10 AM
    Actually
  • b

    best-agent-85158

    09/24/2022, 11:10 AM
    Nice name!
  • m

    modern-agency-69061

    09/24/2022, 3:16 PM
    I have a question. Should I use lime or kha and what are the differences
  • r

    refined-laptop-39041

    09/24/2022, 3:18 PM
    Kha has more targets than Lime, but the community is a bit more separated than the lime/openfl community
  • r

    refined-laptop-39041

    09/24/2022, 3:18 PM
    I like Kha's usage of git submodules a lot though
  • m

    modern-agency-69061

    09/24/2022, 3:19 PM
    Which is easier?
  • m

    modern-agency-69061

    09/24/2022, 3:20 PM
    And what targets does lime have?
  • r

    refined-laptop-39041

    09/24/2022, 3:21 PM
    Well, as far as I know, Lime only has WebGL and OpenGL, whereas Kha has WebGL, OpenGL, Vulkan, Metal, DirectX
  • m

    modern-agency-69061

    09/24/2022, 3:21 PM
    But like, does lime support windows linux and osx
  • r

    refined-laptop-39041

    09/24/2022, 3:21 PM
    Yes, they both do
  • m

    modern-agency-69061

    09/24/2022, 3:21 PM
    Ok thats enough for me
  • m

    modern-agency-69061

    09/24/2022, 3:22 PM
    But which is easier do you think
  • r

    refined-laptop-39041

    09/24/2022, 3:22 PM
    I guess it depends on what you are doing
  • m

    modern-agency-69061

    09/24/2022, 3:22 PM
    For games?
  • r

    refined-laptop-39041

    09/24/2022, 3:22 PM
    Like if you are doing 2d or 3d
  • r

    refined-laptop-39041

    09/24/2022, 3:23 PM
    I would use Kha myself
  • m

    modern-agency-69061

    09/24/2022, 3:23 PM
    2d
  • r

    refined-laptop-39041

    09/24/2022, 3:24 PM
    I would probably just use Kha since it is has a cross-renderer API which Lime doesn't
  • r

    refined-laptop-39041

    09/24/2022, 3:25 PM
    I don't know, this is just kinda subjective
1...303132...138Latest