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

    bright-gpu-74537

    09/22/2022, 7:57 AM
    what game is this?
  • f

    future-iron-61487

    09/22/2022, 7:57 AM
    source code for the engine is not available
  • f

    future-iron-61487

    09/22/2022, 7:58 AM
    can't say much beyond a commercial visual novel
  • b

    bright-gpu-74537

    09/22/2022, 7:58 AM
    gotcha... top secret
  • f

    future-iron-61487

    09/22/2022, 7:58 AM
    yeah I don't own the project unfortunately
  • o

    orange-van-60470

    09/22/2022, 8:31 AM
    with autoSize turning on off and height and the scroll stuff you can hack textfields to get most char position you need, you may even need a render he basic idea is to get the textfield to render to get text heights etc.. I have had to hack textfield layouts since flash4. Alternative is two use two triangles per character and place them based off font metric, with starling this may not be too bad. Cairo is mostly for the c# engine so not needed on c++?
  • o

    orange-van-60470

    09/22/2022, 8:32 AM
    Even had to use trace in flash to force height resolution to be calculated
  • o

    orange-van-60470

    09/22/2022, 8:33 AM
    but there are hacks. kha effectively used the two triangle method, ceramic has sfg? stuff.
  • o

    orange-van-60470

    09/22/2022, 8:35 AM
    signed distance fields
  • o

    orange-van-60470

    09/22/2022, 8:36 AM
    so speed flash/openfl up you can render you textfields to bitmap and draw with starling quad
  • o

    orange-van-60470

    09/22/2022, 8:38 AM
    unless your using swf I am not sure openfl/flixel are as ideal as say heaps, but may depend on heaps text support which not looked at properly
  • b

    bulky-exabyte-6537

    09/22/2022, 8:58 AM
    i wish there were a c# engine... that would mean that c# would actually be a well supported target
  • t

    tall-teacher-57409

    09/22/2022, 11:50 AM
    if I decide to use openfl with haxeui, am I going to spent lots of time with vanilla openfl code?
  • a

    ambitious-knife-25690

    09/22/2022, 12:21 PM
    that depends on what you're making
  • b

    bright-gpu-74537

    09/22/2022, 12:33 PM
    also depends what you mean by "vanilla" openfl...
  • b

    bright-gpu-74537

    09/22/2022, 12:33 PM
    technically you could write a UI in openfl (using haxeui) without touching or even really "knowing" you are using openfl
  • b

    bright-gpu-74537

    09/22/2022, 12:34 PM
    thats a so called "universal haxeui app" that, if you dont use any openfl framework specific features, can be built using multiple backends
  • t

    tall-teacher-57409

    09/22/2022, 12:35 PM
    uh well I think I meant, am I going to need lots of openfl knowledge if Im using haxeui?
  • b

    bright-gpu-74537

    09/22/2022, 12:37 PM
    i wouldnt have thought so, in an empty dir, open a command prompt:
    Copy code
    haxelib run haxeui-core create openfl
    lime test html5
    and thats it, universal haxeui app using openfl as a backend 🙂
  • t

    tall-teacher-57409

    09/22/2022, 12:38 PM
    alright then, just wanna make life easier for me lol But thanks 👍
  • w

    witty-island-52596

    09/22/2022, 1:41 PM
    @bright-gpu-74537 not sure what I was smoking i can't get it to look right on mac, now
  • w

    witty-island-52596

    09/22/2022, 1:43 PM
    is it possible that this is a macro issue when compiling on a mac?
  • b

    bright-gpu-74537

    09/22/2022, 1:54 PM
    i mean... maybe, but its a weird one of it is
  • b

    bright-gpu-74537

    09/22/2022, 1:54 PM
    i compiled a haxeui-hxwidgets app the other day on osx, and it was fine
  • w

    witty-island-52596

    09/22/2022, 1:56 PM
    trying to step through the code to look for clues
  • b

    bright-gpu-74537

    09/22/2022, 2:03 PM
    but just to confirm, this is all fine in windows?
  • w

    witty-island-52596

    09/22/2022, 2:03 PM
    I should double check, but yes it was yesterday
  • w

    witty-island-52596

    09/22/2022, 2:04 PM
    i thought it worked for mac yesterday, and that was wrong
  • b

    bright-gpu-74537

    09/22/2022, 2:04 PM
    hmmm, ill try to build on my mac with openfl / flixel (never done that on my mac before)
  • w

    witty-island-52596

    09/22/2022, 2:04 PM
    also
1...127012711272...1687Latest