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

    quick-king-64105

    07/01/2019, 4:03 PM
    That won't work if update isn't called.
  • q

    quick-king-64105

    07/01/2019, 4:04 PM
    I think I give up on today.
  • b

    brave-kangaroo-30399

    07/01/2019, 6:19 PM
    Lol yeah that was also my first thought
  • b

    brave-kangaroo-30399

    07/01/2019, 6:19 PM
    The render loop will still get called
  • b

    brave-kangaroo-30399

    07/01/2019, 6:19 PM
    I think?
  • b

    brave-kangaroo-30399

    07/01/2019, 6:20 PM
    Wait crap you could set both persistent draw and update to false
  • b

    brave-kangaroo-30399

    07/01/2019, 6:20 PM
    Uhhh there’s some state signal I could tap into I think
  • b

    brave-kangaroo-30399

    07/01/2019, 11:29 PM
    So, even ignoring substates, mouse events will happen if you switch states without de-registering the objects
  • b

    brave-kangaroo-30399

    07/01/2019, 11:30 PM
    They'll still happen if you create an object and never add it to the stage
  • b

    brave-kangaroo-30399

    07/01/2019, 11:32 PM
    So I do think
    wasUpdatedLastFrame
    is the most flixel-compatible way to deal with this, since flixel itself doesn't deal with this
  • b

    brave-kangaroo-30399

    07/01/2019, 11:35 PM
    The key will be to register a
    postUpdate
    signal callback, which always happens after the state attempts to update
  • b

    brave-kangaroo-30399

    07/01/2019, 11:37 PM
    And then, maybe with timestamps but hopefully without, all HaxeUI components can be updated outside of flixel
  • b

    brave-kangaroo-30399

    07/01/2019, 11:37 PM
    I still have to think about that part
  • b

    brave-kangaroo-30399

    07/01/2019, 11:38 PM
    Timestamps wouldn't be too bad actually, I would just copy
    FlxG.ticks
    or whatever, not calling
    Timer.stamp()
  • b

    brave-kangaroo-30399

    07/01/2019, 11:52 PM
    Actually yeah that's the best idea
  • b

    brave-kangaroo-30399

    07/02/2019, 12:00 AM
    There might be some awkward transition frame or edge case, but that can be masssaged out later
  • b

    bulky-insurance-39338

    07/02/2019, 12:01 AM
    for what do you use haxeui ?
  • b

    brave-kangaroo-30399

    07/02/2019, 12:01 AM
    Right now I'm doing a dialogue editor and visual novel engine
  • b

    brave-kangaroo-30399

    07/02/2019, 12:01 AM
    My latest project
  • b

    bulky-insurance-39338

    07/02/2019, 12:04 AM
    oh.. novels .. thats good stuff
  • q

    quick-king-64105

    07/02/2019, 12:05 AM
    Text adventure game over here, but was hoping to generalize it to being the goto menu UI. "If only because you asked."
  • b

    bulky-insurance-39338

    07/02/2019, 12:05 AM
    like old mud ?
  • q

    quick-king-64105

    07/02/2019, 12:05 AM
    I mean, not really, but also yes. Before that. Frotz/ZMachine.
  • b

    bulky-insurance-39338

    07/02/2019, 12:06 AM
    hey .. lets meet ->
    telnet mud.tubmud.de 7680
  • q

    quick-king-64105

    07/02/2019, 12:06 AM
    MUD were sort of an extension of text adventure games.
  • q

    quick-king-64105

    07/02/2019, 12:06 AM
    And no thank you. Not since HellMoo. You can thank HellMoo for me hating MUDs forever.
  • b

    bulky-insurance-39338

    07/02/2019, 12:07 AM
    i only know one of them (one of the oldest)
  • b

    bulky-insurance-39338

    07/02/2019, 12:07 AM
    (and sometimes i am playing there [much to explore even ;;])
  • b

    bulky-insurance-39338

    07/02/2019, 12:08 AM
    come in ;)
  • b

    bulky-insurance-39338

    07/02/2019, 12:09 AM
    ( on windows there is good telnet-app called "putty" )
1...767778...1687Latest