tink
tink copied to clipboard
A set of sprite interactivity tools for Pixi
Before, when the canvas was put within more than one relatively positioned element, it would only account for the positioning of the canvas itself. Now it accounts for all the...
I use tink with scaleToWindow together. However if the window is resized, the sprite shows bad with wrong anti-alias way after it's dragged. I changed line 129 and 132 and...
Am I right to assume that Tink does not support custom defined sprite hitAreas (i.e. using a PIXI Polygon...)? It seems that when I define a sprite hitArea, and do...
My project has a centered DIV which occupies approximately two thirds of the web page. Pixi is 'inside' a CANVAS element in this DIV Tink's button method works except that...
Found that interactive objects are still interacting (and causing bugs as they do so) when removed from stage. Tried with `makeInteractive` and `makeDraggable` Additionally `makeUndraggable` seems to prevent the sprite...
it might be me, but it looks like Tink doesn't adjust for buttons in nested containers with different scales/positions/pivots. I have a play button within a scaled container that is...
I have multiple sprites that I need to make interactive. ```javascript let t = new Tink(PIXI, renderer.view, scale); let setup = () => { ... t.makeInteractive(spriteOne); t.makeInteractive(spriteTwo); t.makeInteractive(spriteThree); t.makeInteractive(spriteFour); pointer...
When I run the command to create a button I keep getting the following error: `/LiveDevelopment/Agents/ConsoleAgent.js:55 ConsoleAgent: Uncaught TypeError: Cannot read property 'press' of undefined (url: http://127.0.0.1:53356/pixi.js/bin/pixi.js)` It stops everything...