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

    faint-toothbrush-51643

    02/16/2023, 10:35 PM
    Copy code
    hx
    [
        nowBaseX, nowBaseY,
        nowTipX, nowTipY,
        lastTipX, lastTipY,
        lastBaseX, lastBaseY,
    ]
  • f

    faint-toothbrush-51643

    02/16/2023, 10:35 PM
    that's what i use for my weapon trails
  • g

    gifted-whale-78169

    02/16/2023, 10:35 PM
    ah ok thanks
  • g

    gifted-whale-78169

    02/16/2023, 10:36 PM
    let me see if i can get the right shape now, it looks like the coords are inverted
  • g

    gifted-whale-78169

    02/16/2023, 10:38 PM
    nah just wonky to me
  • g

    gifted-whale-78169

    02/16/2023, 11:36 PM
    bam
  • g

    gifted-whale-78169

    02/16/2023, 11:36 PM
    took a bit
  • g

    gifted-whale-78169

    02/16/2023, 11:36 PM
    i think the spacing is equal all the way around though
  • f

    faint-toothbrush-51643

    02/16/2023, 11:37 PM
    gonna need to break out the trigonometry for the line between the red and the green
  • g

    gifted-whale-78169

    02/16/2023, 11:37 PM
    yea lol im not ready for that this is just a prototype
  • g

    gifted-whale-78169

    02/16/2023, 11:38 PM
    im just using some subtraction for now
  • g

    gifted-whale-78169

    02/16/2023, 11:53 PM
    this is what i started with too lol
  • g

    gifted-whale-78169

    02/16/2023, 11:56 PM
    my starting idea for this game is a turn-based fighter where you draw cards each turn but instead of using magic or anything you just throw the cards at your opponent
  • g

    gifted-whale-78169

    02/16/2023, 11:56 PM
    and theres different types of damage like paper cuts etc.
  • g

    gifted-whale-78169

    02/16/2023, 11:56 PM
    pretty goofy
  • f

    faint-toothbrush-51643

    02/17/2023, 1:24 AM
    meta
  • f

    faint-toothbrush-51643

    02/17/2023, 1:24 AM
    do the cards have different properties?
  • g

    gifted-whale-78169

    02/17/2023, 1:34 AM
    Haven't thought it out completely but maybe
  • g

    gifted-whale-78169

    02/17/2023, 1:34 AM
    Different effects
  • g

    gifted-whale-78169

    02/17/2023, 2:28 AM
    maybe one drowns you
  • g

    gifted-whale-78169

    02/17/2023, 3:08 AM
    how can i make a border for a
    shape
    , and how can i make the hitbox for it for mouseOver and mouseOut be more accurate?
  • g

    gifted-whale-78169

    02/17/2023, 3:17 AM
    also idk what i did but now the shapes and the background color just isnt showing up 💀
  • g

    gifted-whale-78169

    02/17/2023, 3:17 AM
    ill look at it tomorrow
  • b

    billowy-waiter-28954

    02/17/2023, 10:18 AM
    For the hitbox that follows your shape, set
    complexHit = true
  • b

    billowy-waiter-28954

    02/17/2023, 10:18 AM
    For the border, use a
    Line
    visual on top of your shape
  • g

    gifted-whale-78169

    02/17/2023, 12:21 PM
    Oh ok thanks
  • g

    gifted-whale-78169

    02/17/2023, 12:22 PM
    I was thinking that because points is just vertices with contentDirty on I could just set the vertices of a border to the points of the shape
  • g

    gifted-whale-78169

    02/17/2023, 10:14 PM
    what do i do if i want the line to close itself?
  • g

    gifted-whale-78169

    02/17/2023, 10:23 PM
    just pushing a value to the end of the list that equals the first value doesnt work
  • g

    gifted-whale-78169

    02/17/2023, 10:23 PM
    gets all janky
1...697071...124Latest