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

    plain-portugal-5564

    05/15/2023, 8:24 PM
    maybe
  • p

    plain-portugal-5564

    05/15/2023, 8:24 PM
    i dont know
  • p

    plain-portugal-5564

    05/15/2023, 8:24 PM
    try it
  • c

    clever-airline-85054

    05/15/2023, 8:24 PM
    Ok
  • c

    clever-airline-85054

    05/15/2023, 8:24 PM
    Suprisingly
  • c

    clever-airline-85054

    05/15/2023, 8:24 PM
    No issues from vsc
  • c

    clever-airline-85054

    05/15/2023, 8:28 PM
    @plain-portugal-5564 Suprisingly
  • c

    clever-airline-85054

    05/15/2023, 8:28 PM
    Yea it works
  • b

    bitter-city-44714

    05/17/2023, 12:41 PM
    how do i know a key is active in haxe? wanted to know when CapsLk is on
  • b

    bitter-city-44714

    05/17/2023, 12:41 PM
    Copy code
    trace(Keyboard.capsLock);
  • b

    bitter-city-44714

    05/17/2023, 12:42 PM
    return "null"
  • b

    broad-gpu-14081

    05/17/2023, 12:54 PM
    You can listen keyboard event and check what key/keycode was pressed/released.
  • b

    bitter-city-44714

    05/17/2023, 12:56 PM
    how can I do this?
  • b

    bitter-city-44714

    05/17/2023, 12:56 PM
    you any example?
  • h

    hallowed-ocean-84954

    05/17/2023, 1:15 PM
    Perhaps . I don't know if it handles modifier keys or not
  • b

    bitter-city-44714

    05/17/2023, 1:20 PM
    thanks!!!
  • b

    bored-psychiatrist-68708

    05/17/2023, 3:23 PM
    @bitter-city-44714 you might be interested by @important-gpu-98614 's Keyboard Manager, looks very easy to use https://github.com/Dimensionscape/Keyboard-Manager/
  • b

    bitter-city-44714

    05/17/2023, 8:28 PM
    thank you!!!
  • w

    witty-island-52596

    05/22/2023, 5:15 PM
    is there an ETA for openfl/limes next release?
  • w

    witty-island-52596

    05/22/2023, 5:17 PM
    Im also generally curious on how you guys choose a release cadence. one open source dev asking another
  • r

    rhythmic-wolf-50922

    05/22/2023, 5:40 PM
    I'd like to do a release within the next month to get Haxe 4.3 support out there. we don't really have a cadence at this time. it depends on whether we feel confident that things are ready for release, but especially: someone has to have time available to actually do a release.
  • w

    witty-island-52596

    05/22/2023, 5:45 PM
    i feel that
  • r

    rhythmic-wolf-50922

    05/22/2023, 6:14 PM
    when I was able to work on feathersui-starling full time, I think I aimed for every 6 months or so between updates
  • a

    able-painting-79791

    05/23/2023, 7:30 AM
    Anyone know how to exclude an entire folder in project.xml? Tried this
    Copy code
    <assets path="assets" include="*" embed="false" if="noembed" exclude="assets/data/levels/png"/>
    no dice :(
  • a

    able-painting-79791

    05/23/2023, 7:37 AM
    clarification: png is the name of a folder here
  • h

    hallowed-ocean-84954

    05/23/2023, 1:20 PM
    Does
    Copy code
    <assets path="assets/data/levels/png" exclude="*" />
    work ? Or perhaps
    Copy code
    <assets path="assets/data/levels" exclude="png" />
    ?
  • d

    dazzling-ocean-80407

    05/24/2023, 6:03 PM
    (can't believe I'm unable to comprehend how to make a spritesheet lmao) but anyways, any idea if this is wrong or not?
    Copy code
    h
    class Hero extends Sprite {
        var tileset:Tileset;
        var id:Int;
        var tilemap:Tilemap;
    
        public function new() {
            super();
    
            tileset = new Tileset(Assets.getBitmapData("assets/heroSheet.png"));
            id = tileset.addRect(new Rectangle(0, 0, 50, 37));
            tilemap = new Tilemap(500, 500, tileset);
            this.addChild(tilemap);
        }
    }
    since it really doesn't work
  • b

    bulky-exabyte-6537

    05/25/2023, 2:00 AM
    you didn't add any tiles to the tilemap it looks like (never used this api fyi)
  • b

    bored-psychiatrist-68708

    05/25/2023, 8:01 AM
    nothingispossible is right, maybe take a look at this tutorial https://keyreal-code.github.io/haxecoder-tutorials/73_fast_2d_rendering_using_tilemap_in_openfl_4.html
  • a

    able-printer-41379

    05/27/2023, 8:25 PM
    in shaders, where do the varying vecs get set
1...5354555657Latest