News for hackers. Stuff that matters.
Re:Show HN: I finished my site for daily dogbunny puzzles, a... by smegsicle on Thursday November 17, 2022 @12:57PM (#33642871)
animations are cute, but the hitboxes are a bit large for when you've got two characters on one square and want to select who's behind
Re:Show HN: I finished my site for daily dogbunny puzzles, a... by 83457 on Thursday November 17, 2022 @01:09PM (#33643062)
I can't get to site but the pof had slow return animation. You can move an item to uncover one behind then move that one before first return.
Re:Show HN: I finished my site for daily dogbunny puzzles, a... by drcode on Thursday November 17, 2022 @01:01PM (#33642937)
Yes, this is tricky to fix because javascript doesn't check alpha channels on mouse events for images. I have a partial fix planned to improve this, should be improved in the next few weeks.
Re:Show HN: I finished my site for daily dogbunny puzzles, a... by cmcconomy on Thursday November 17, 2022 @01:08PM (#33643058)
maybe single-click to shuffle the top item to the bottom of the pile.
Re:Show HN: I finished my site for daily dogbunny puzzles, a... by Null-Set on Thursday November 17, 2022 @04:13PM (#33645801)
I believe you can apply an svg clip-path to the element with css to change the region you get events from. https://css-tricks.com/the-many-ways-to-link-up-shapes-and-i...