https://linen.dev logo
Join Discord
Powered by
# openfl
  • e

    enough-lawyer-1858

    08/09/2022, 3:21 AM
    What is the get function of bitmap data?
  • c

    curved-tiger-81069

    08/09/2022, 3:23 AM
    ?
  • c

    curved-tiger-81069

    08/09/2022, 3:23 AM
    wait are you asking me
  • e

    enough-lawyer-1858

    08/09/2022, 3:23 AM
    Yes
  • e

    enough-lawyer-1858

    08/09/2022, 3:24 AM
    You showed that
    get_bitmapData
    was giving null
  • e

    enough-lawyer-1858

    08/09/2022, 3:24 AM
    I wanna see how is that function
  • c

    curved-tiger-81069

    08/09/2022, 3:26 AM
    well i just checked in bitmap (since im extending bitmap) and this seems to be the only reference to it
  • e

    enough-lawyer-1858

    08/09/2022, 3:27 AM
    Hm...
  • c

    curved-tiger-81069

    08/09/2022, 3:27 AM
    i think might have something to do with the fact im straight up just changing the bitmap data
  • e

    enough-lawyer-1858

    08/09/2022, 3:27 AM
    Prob
  • c

    curved-tiger-81069

    08/09/2022, 3:34 AM
    Error while fetching an original source: unsupported protocol for sourcemap request file:///C:/Users/altac/OneDrive/Documents/64jam/src/MainState.hx
  • c

    curved-tiger-81069

    08/09/2022, 3:34 AM
    that is new
  • c

    curved-tiger-81069

    08/09/2022, 3:35 AM
    hmm
  • e

    elegant-twilight-61392

    08/09/2022, 4:49 AM
    dont do stuff in onedrive
  • e

    elegant-twilight-61392

    08/09/2022, 4:50 AM
    it breaks stuff because sometimes the files arent actually readable locally
  • c

    curved-tiger-81069

    08/09/2022, 5:03 AM
    the thing is i dont know how to disable the thing nd things automaticly go to onedrive
  • c

    curved-tiger-81069

    08/09/2022, 5:03 AM
    + it also doesnt work in flash
  • c

    curved-tiger-81069

    08/09/2022, 5:03 AM
    so its probably not a onedrive issue
  • c

    curved-tiger-81069

    08/09/2022, 5:31 AM
    ok well now after figuring out how to disable onedrive i now get this error
  • r

    refined-laptop-39041

    08/09/2022, 5:34 AM
    @curved-tiger-81069 Seems like the port you are using for the server is being used
  • r

    refined-laptop-39041

    08/09/2022, 5:34 AM
    Change the port or stop the thing which is using that port
  • c

    curved-tiger-81069

    08/09/2022, 5:34 AM
    oh wait
  • c

    curved-tiger-81069

    08/09/2022, 5:34 AM
    i left the cmd thing open
  • c

    curved-tiger-81069

    08/09/2022, 5:34 AM
    lmfao whoops
  • g

    great-oyster-61535

    08/09/2022, 5:57 PM
    I should add that to a common error list
  • e

    enough-lawyer-1858

    08/11/2022, 1:42 AM
    Is there a way to parse a 3D matrix into a 2D one?
  • e

    enough-lawyer-1858

    08/11/2022, 1:43 AM
    I asked this on the #help channel of openfl before, but no one seemed to know cos I was happily ignored? I will try my luck here to look if someone knows lol
  • b

    brief-account-34985

    08/11/2022, 2:00 AM
    Copy code
    m2d.a = m3d[0];
    m2d.b = m3d[1];
    m2d.c = m3d[4];
    m2d.d = m3d[5];
    m2d.tx = m3d[12];
    m2d.ty = m3d[13];
    I think
  • e

    enough-lawyer-1858

    08/11/2022, 2:07 AM
    Yeah, but that's for simple 2D stuff. What I basically need is a conversion of 3D matrix to 2D that can recreate the same rotations, 3D and 2D rotations and stuff like that
  • b

    brief-account-34985

    08/11/2022, 2:23 AM
    You can't do it in a 2d matrix alone I don't think. You can achieve a fake Z by treating it as Y, but after all the camera rotations and stuff
12345...57Latest