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

    bulky-insurance-39338

    07/24/2022, 12:24 AM
    do you mean into this: ?
  • b

    bulky-insurance-39338

    07/24/2022, 12:26 AM
    (e.g. on linux there are thousands of windowmanagers .)
  • b

    bulky-insurance-39338

    07/24/2022, 12:27 AM
    More problem i am get into this was to keep the gl-context into sync (
    hardware = true
    ;:)
  • b

    bulky-insurance-39338

    07/24/2022, 12:30 AM
    (i am have also old code for this .. don't ask me how to make : window 1 -> first monitor window 2 -> second monitor [for dualFULLscreen experience .. u know 😅 ?] )
  • m

    many-helmet-14683

    07/24/2022, 1:02 AM
    im not trying to have them be on seperate monitors, i already know what to do there
  • m

    many-helmet-14683

    07/24/2022, 1:02 AM
    i just need to create the second window is all
  • b

    bulky-insurance-39338

    07/24/2022, 1:04 AM
    ahh .. k ~~
  • m

    many-helmet-14683

    07/24/2022, 1:04 AM
    how exactly would i go about adding it?
  • m

    many-helmet-14683

    07/24/2022, 1:04 AM
    i have the hx file , but im not sure how to do so
  • b

    bulky-insurance-39338

    07/24/2022, 1:04 AM
    codelinenumber ?
  • m

    many-helmet-14683

    07/24/2022, 1:05 AM
    i mean like
  • m

    many-helmet-14683

    07/24/2022, 1:05 AM
    i have defined the variable
  • m

    many-helmet-14683

    07/24/2022, 1:05 AM
    now how do i add the window?
  • b

    bulky-insurance-39338

    07/24/2022, 1:06 AM
    -> i am did like here
  • m

    many-helmet-14683

    07/24/2022, 1:06 AM
    ah, thanks
  • b

    bulky-insurance-39338

    07/24/2022, 1:06 AM
    Copy code
    haxe
    var attributes = { title: "Window_2", x:0, y:0, width: 600, height: 800,
                       resizable:true,
                       context: { background: 2 } 
                     };
    var window = createWindow(attributes);
  • m

    many-helmet-14683

    07/24/2022, 1:07 AM
    i dont have these?
  • b

    bulky-insurance-39338

    07/24/2022, 1:07 AM
    i am only creating 3 test-windows there (for that gl-testing)
  • m

    many-helmet-14683

    07/24/2022, 1:08 AM
    i only need 2 windows, so were good there
  • b

    bulky-insurance-39338

    07/24/2022, 1:08 AM
    you don't need
  • m

    many-helmet-14683

    07/24/2022, 1:08 AM
    well-
  • b

    bulky-insurance-39338

    07/24/2022, 1:08 AM
    ->
    var window = createWindow(YourAttributes);
  • m

    many-helmet-14683

    07/24/2022, 1:08 AM
    ah
  • b

    bulky-insurance-39338

    07/24/2022, 1:09 AM
    same as lime-sample but -> 3 windows into that example (you have to ignore my own renderer for graphic into!)
  • b

    bulky-insurance-39338

    07/24/2022, 1:10 AM
    best would be you would write a lime-sample for more than 3 .)
  • b

    bulky-insurance-39338

    07/24/2022, 1:11 AM
    ->
    x
    windows ;:) *lol
  • b

    bulky-insurance-39338

    07/24/2022, 1:11 AM
    on demand!
  • b

    bulky-insurance-39338

    07/24/2022, 1:11 AM
    but that is also the old lime sample is doing as i am remember already
  • b

    bulky-insurance-39338

    07/24/2022, 1:11 AM
    really .. take care if you are using the opengl-context of lime into ...
  • b

    bulky-insurance-39338

    07/24/2022, 1:12 AM
    not sure how OpenFL is handling this (is there also multi-window-support out of the box?)
1...567...138Latest