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

    gifted-whale-78169

    02/18/2023, 1:13 AM
    yea i have no clue 😅
  • a

    ambitious-knife-25690

    02/18/2023, 1:13 AM
    like an online leaderboard/achievement base?
  • g

    gifted-whale-78169

    02/18/2023, 1:13 AM
    nah just something basic like steam or newgrounds achievements where you get an achievement when you reach milestones and you can check your progress
  • g

    gifted-whale-78169

    02/18/2023, 1:14 AM
    achievements can also be used to add some more gameplay (like kindergarten 2)
  • g

    gifted-whale-78169

    02/18/2023, 1:16 AM
    oh hell yes
  • g

    gifted-whale-78169

    02/18/2023, 1:16 AM
    changing
    cap
    of the line fixes the thickness issues
  • g

    gifted-whale-78169

    02/18/2023, 1:16 AM
    but the edge is still rigid
  • f

    faint-toothbrush-51643

    02/18/2023, 1:16 AM
    like this
  • g

    gifted-whale-78169

    02/18/2023, 1:17 AM
    oh what bevel and miter
  • g

    gifted-whale-78169

    02/18/2023, 1:17 AM
    i can try miter
  • g

    gifted-whale-78169

    02/18/2023, 1:22 AM
    makes it worse
  • g

    gifted-whale-78169

    02/18/2023, 1:22 AM
    i might be misunderstanding though
  • g

    gifted-whale-78169

    02/18/2023, 1:24 AM
    the thickness is still all messed up if i use it
  • f

    faint-toothbrush-51643

    02/18/2023, 1:27 AM
    what is the current look and the desired look
  • f

    faint-toothbrush-51643

    02/18/2023, 1:27 AM
    and can you test with larger sizes and more distinct colors
  • g

    gifted-whale-78169

    02/18/2023, 1:28 AM
    i suppose
  • g

    gifted-whale-78169

    02/18/2023, 1:28 AM
    the desired look is the thickness being equal on all sides
  • g

    gifted-whale-78169

    02/18/2023, 1:29 AM
    and the end angle being beveled
  • g

    gifted-whale-78169

    02/18/2023, 1:34 AM
    the top left is thinner
  • f

    faint-toothbrush-51643

    02/18/2023, 1:47 AM
    can you do this with another example that is visible without zooming in
  • g

    gifted-whale-78169

    02/18/2023, 1:55 AM
    let me try
  • g

    gifted-whale-78169

    02/18/2023, 1:56 AM
    btw this is my code:
    Copy code
    hx
    for (v in [battleBtn, optionBtn, customBtn]) {
                v.complexHit = true; // make the hitboxes accurate
    
                var tb = new Line();
                tb.thickness = 2;
                tb.color = 0x000000;
                tb.points = v.points.concat([v.points[0], v.points[1]]);
                tb.loop = true;
                tb.depth = 1;
                tb.id = "passiveTb";
                v.add(tb);
    
                v.onPointerOver(this, (info) -> {
                    v.childWithId("passiveTb").destroy();
                    var tb = new Line();
                    tb.thickness = 5;
                    tb.color = 0xEEFF00;
                    tb.points = v.points.concat([v.points[0], v.points[1]]);
                    tb.loop = true;
                    tb.depth = 1;
                    tb.id = "activeTb";
                    v.add(tb);
                });
                v.onPointerOut(this, (info) -> {
                    v.childWithId("activeTb").destroy();
                    var tb = new Line();
                    tb.thickness = 2;
                    tb.color = 0x000000;
                    tb.points = v.points.concat([v.points[0], v.points[1]]);
                    tb.loop = true;
                    tb.depth = 1;
                    tb.id = "passiveTb";
                    v.add(tb);
                });
            }
  • g

    gifted-whale-78169

    02/18/2023, 1:57 AM
    here it is with higher thickness
  • f

    faint-toothbrush-51643

    02/18/2023, 2:06 AM
    that is... bizarre
  • g

    gifted-whale-78169

    02/18/2023, 2:06 AM
    yes indeed
  • g

    gifted-whale-78169

    02/18/2023, 2:07 AM
    (btw this is the
    activeTb
    but the
    passiveTb
    does the same thing)
  • f

    faint-toothbrush-51643

    02/18/2023, 2:08 AM
    not directly related to your problem, but i would make the buttons a class that extends
    Visual
    or something, i think it would make it much easier to handle overall
  • g

    gifted-whale-78169

    02/18/2023, 2:08 AM
    yea true
  • g

    gifted-whale-78169

    02/18/2023, 2:08 AM
    i was thinking about it but the varying
    points
    kept me from doing it
  • g

    gifted-whale-78169

    02/18/2023, 2:08 AM
    although now that i think about it, the points could just be a constructor parameter
1...717273...124Latest