https://linen.dev logo
Join Discord
Powered by
# haxe-ui
  • b

    bright-gpu-74537

    12/30/2019, 11:13 PM
    (with the flixely bitmap 9-slice theme ofc)
  • b

    brave-kangaroo-30399

    12/31/2019, 1:14 AM
    Huh I'm on latest everything
  • b

    brave-kangaroo-30399

    12/31/2019, 1:15 AM
    And OK thanks, that's a very useful one once styled
  • b

    brave-kangaroo-30399

    12/31/2019, 9:50 PM
    Animating position... I think I see how to do it, but is there an existing way to do relative position? (From current to current + 100 px)
  • b

    brave-kangaroo-30399

    12/31/2019, 9:51 PM
    An example I'm looking at utilizes percent height to do a similar thing
  • b

    brave-kangaroo-30399

    12/31/2019, 9:53 PM
    Oh, maybe I can set the start and end points and then parse that CSS string all at once
  • b

    brave-kangaroo-30399

    12/31/2019, 10:08 PM
    I could just animate it in flixel... less string parsing
  • b

    bright-gpu-74537

    01/02/2020, 10:02 AM
    im not sure i follow... what are you trying to do? Animate left/top? You could use css animations, or the tweener directly, or as you say, flixel (which ofc then wouldnt be cross framework, but maybe that doesnt matter for your app?)
  • b

    brave-kangaroo-30399

    01/02/2020, 2:40 PM
    Yeah animate left, but I'd prefer to animate "relative left"
  • b

    brave-kangaroo-30399

    01/02/2020, 2:41 PM
    If that makes sense
  • b

    brave-kangaroo-30399

    01/02/2020, 2:41 PM
    I'm not sure what you mean by using the tweener directly
  • b

    bright-gpu-74537

    01/02/2020, 2:49 PM
    left is relative left... or at least it should be
  • b

    bright-gpu-74537

    01/02/2020, 2:52 PM
    http://haxeui.org/builder/?mnahrk
  • b

    bright-gpu-74537

    01/02/2020, 2:53 PM
    maybe an issue with haxeui-flixel?
  • b

    brave-kangaroo-30399

    01/02/2020, 2:54 PM
    No I mean like, +50 from where you're currently at
  • b

    bright-gpu-74537

    01/02/2020, 2:55 PM
    ah
  • b

    bright-gpu-74537

    01/02/2020, 2:55 PM
    yeah, should be doable... two secs
  • b

    brave-kangaroo-30399

    01/02/2020, 2:55 PM
    In the CSS it seemed like I had to define a hard start and end
  • b

    bright-gpu-74537

    01/02/2020, 2:55 PM
    i presume you dont want to use css animations?
  • b

    brave-kangaroo-30399

    01/02/2020, 2:55 PM
    I'd rather not
  • b

    bright-gpu-74537

    01/02/2020, 2:55 PM
    right
  • b

    brave-kangaroo-30399

    01/02/2020, 2:55 PM
    Not for this anyway
  • b

    bright-gpu-74537

    01/02/2020, 2:55 PM
    two secs
  • b

    brave-kangaroo-30399

    01/02/2020, 2:55 PM
    It's a little more programmatic
  • b

    bright-gpu-74537

    01/02/2020, 3:00 PM
    something like this?
  • b

    bright-gpu-74537

    01/02/2020, 3:00 PM
    Copy code
    haxe
    var button = main.findComponent("button", Button);
    var test = main.findComponent("test", Button);
    test.onClick = function(e) {
        Actuator.tween(button, {left: button.left + 100}, 0.5, {
            easingFunction: EasingFunction.EASE
        });
    }
  • t

    thousands-house-41767

    01/02/2020, 8:12 PM
    Are tables implemented and are there examples of how to use them (HTML5)?
  • b

    brave-kangaroo-30399

    01/02/2020, 8:19 PM
    Oh what is actuator, I haven't seen that
  • b

    bitter-family-72722

    01/02/2020, 8:34 PM
    my initial thought was "probably a misspelling of `Actuate`" 😄
  • b

    bright-gpu-74537

    01/02/2020, 9:49 PM
    It has its own (fairly simple) tween engine
1...159160161...1687Latest