https://linen.dev logo
Join Discord
Powered by
# ceramic
  • a

    ambitious-knife-25690

    03/01/2023, 9:05 PM
    mostly working now ๐Ÿ˜„
  • f

    fresh-finland-97755

    03/02/2023, 9:57 AM
    I still don't have a sprite displaying but I spend some time this past week porting my phaser game library core into ceramic. It's not much but I've got my command system incrementing an x value. ๐Ÿ™ƒ
  • f

    fresh-finland-97755

    03/02/2023, 9:58 AM
    Haxe and Typescript are just different enough syntax-wise for it to be annoying to figure out what the Haxe way of doing things is.
  • b

    billowy-waiter-28954

    03/02/2023, 11:38 AM
    Yay! Yes the migration could be annoying. But so far I really enjoy Haxe, and there are actually various Typescript things that do annoy me too because it inherits too much from js
  • a

    ambitious-knife-25690

    03/02/2023, 3:16 PM
    hmm, i'm a bit confused
  • a

    ambitious-knife-25690

    03/02/2023, 3:17 PM
    How does one use a
    filter
  • a

    ambitious-knife-25690

    03/02/2023, 3:17 PM
    looking through the visualcontainerview
  • a

    ambitious-knife-25690

    03/02/2023, 3:17 PM
    you use
    .content
    which would make me think I add content here
  • a

    ambitious-knife-25690

    03/02/2023, 3:17 PM
    but the api says it is meant to be read only ๐Ÿค”
  • a

    ambitious-knife-25690

    03/02/2023, 3:37 PM
    ahhh i think i got it
  • b

    billowy-waiter-28954

    03/02/2023, 4:04 PM
    Well, @ambitious-knife-25690, at some pointโ„ข๏ธ there will be a doc page about it
  • b

    billowy-waiter-28954

    03/02/2023, 4:05 PM
    But the gist of it is: a
    Filter
    is a quad that displays via a render texture what is contained in its
    content
  • e

    elegant-twilight-61392

    03/02/2023, 4:05 PM
    copy and paste entire discord conversations and call that your documentation
  • a

    ambitious-knife-25690

    03/02/2023, 6:43 PM
    @billowy-waiter-28954so i can get a 1 level deep filter working like below
  • a

    ambitious-knife-25690

    03/02/2023, 6:44 PM
    my issue is trying to add a second filter to the hierarchy
  • a

    ambitious-knife-25690

    03/02/2023, 6:44 PM
    what do i add
    filter2
    to?
    filter1.content
    or
    filter
    , i've tried both and can't seem to get it to render
  • t

    tall-teacher-57409

    03/02/2023, 6:48 PM
    is that electron ๐Ÿ‘€ ??
  • a

    ambitious-knife-25690

    03/02/2023, 6:50 PM
    it is!
  • t

    tall-teacher-57409

    03/02/2023, 6:50 PM
    woah, TIL that you can do electron with haxe
  • a

    ambitious-knife-25690

    03/02/2023, 6:50 PM
    sure, you can go pure electron if you wanted but this is just running standalone
  • a

    ambitious-knife-25690

    03/02/2023, 6:51 PM
    if a library supports js, you can run it on electron
  • t

    tall-teacher-57409

    03/02/2023, 6:51 PM
    oh cool
  • b

    billowy-waiter-28954

    03/02/2023, 7:09 PM
    You always add what needs to be displayed by a filter into
    content
  • a

    ambitious-knife-25690

    03/02/2023, 7:23 PM
    so do i understand this correctly, if a filter is required one should never add a child to a visual that needs to be displayed on a filter?
  • a

    ambitious-knife-25690

    03/02/2023, 7:23 PM
    so instead of doing
    visual.add(child)
    you'd do
    filter_for_visual.content.add(child)
  • b

    billowy-waiter-28954

    03/02/2023, 7:24 PM
    yes
  • a

    ambitious-knife-25690

    03/02/2023, 7:25 PM
    huh, this may be accommodatable via the ceramic api. Not sure if you think it's a good design but having a
    filter
    property on a visual and when calling
    add
    on said visual would just check if
    filter
    is
    null
    or not
  • b

    billowy-waiter-28954

    03/02/2023, 8:43 PM
    Create some extendedAdd() method that check if there is a filter yeah, but donโ€™t override original add() for that
  • a

    ambitious-knife-25690

    03/03/2023, 12:27 AM
    splitter now works ๐Ÿ˜„
  • a

    ambitious-knife-25690

    03/03/2023, 12:27 AM
    the artifacting is from the gif recording
1...919293...124Latest