https://linen.dev logo
Join DiscordCommunities
Powered by
# openfl
  • r

    rhythmic-caravan-3597

    12/21/2022, 5:01 PM
    if it’s fully maximized it’ll return true and if it’s not maximized it returns false iirc
  • e

    elegant-twilight-61392

    12/21/2022, 5:01 PM
    worth noting that macos doesnt have maximize, and instead has its weird fullscreen thing
  • r

    rhythmic-caravan-3597

    12/21/2022, 5:02 PM
    true, again not sure what his targets are; most likely windows?
  • r

    rhythmic-caravan-3597

    12/21/2022, 5:02 PM
    judging off the screenshots that have been sent
  • a

    able-printer-41379

    12/21/2022, 5:02 PM
    weird, it doesnt seem to work whenever i click on it
  • e

    elegant-twilight-61392

    12/21/2022, 5:03 PM
    that just represents what os they are using. doesnt mean they do or do not want to support other oses
  • a

    able-printer-41379

    12/21/2022, 5:03 PM
    well what im trying to do is make a sprite invisible when the windows height and width != computer with and height
  • r

    rhythmic-caravan-3597

    12/21/2022, 5:03 PM
    Do you have some sort of callback or checking it after every frame or interval?
  • a

    able-printer-41379

    12/21/2022, 5:03 PM
    yes
  • a

    able-printer-41379

    12/21/2022, 5:04 PM
    addEventListener('enterFrame')
  • e

    elegant-twilight-61392

    12/21/2022, 5:04 PM
    why are you trying to do that 🤔
  • a

    able-printer-41379

    12/21/2022, 5:04 PM
    decoration stuff (its stupid 😭)
  • e

    elegant-twilight-61392

    12/21/2022, 5:05 PM
    you should probably base it on the aspect ratio of the window then
  • e

    elegant-twilight-61392

    12/21/2022, 5:05 PM
    because not every monitor is the same size as yours
  • r

    rhythmic-caravan-3597

    12/21/2022, 5:06 PM
    ☝️
  • a

    able-printer-41379

    12/21/2022, 5:08 PM
    alright, one more question how do i get the aspect of it
  • r

    rhythmic-caravan-3597

    12/21/2022, 5:08 PM
    Enterframe?
  • e

    elegant-twilight-61392

    12/21/2022, 5:09 PM
    the aspect ratio is just height:width or width:height
  • e

    elegant-twilight-61392

    12/21/2022, 5:09 PM
    one of those two
  • a

    able-printer-41379

    12/21/2022, 5:10 PM
    oh then what is the variable for window's max height/width
  • e

    elegant-twilight-61392

    12/21/2022, 5:10 PM
    max or current...?
  • a

    able-printer-41379

    12/21/2022, 5:10 PM
    max
  • e

    elegant-twilight-61392

    12/21/2022, 5:11 PM
    the max is just the size of the monitor
  • e

    elegant-twilight-61392

    12/21/2022, 5:11 PM
    minus taskbar height if it doesnt hide
  • e

    elegant-twilight-61392

    12/21/2022, 5:13 PM
    i assume your trying to put stuff in the blank area on the left/right?
  • r

    rhythmic-caravan-3597

    12/21/2022, 5:13 PM
    Taskbar height can vary no?
  • e

    elegant-twilight-61392

    12/21/2022, 5:13 PM
    yeah it can
  • a

    able-printer-41379

    12/21/2022, 5:13 PM
    yep
  • r

    rhythmic-caravan-3597

    12/21/2022, 5:13 PM
    so it’s hard to always assume what the height of the taskbar will be
  • e

    elegant-twilight-61392

    12/21/2022, 5:14 PM
    yeah so the max size of the window doesnt matter
1...252627...57Latest