FloodGames
FloodGames
This whole package needs some love? Can't even get past. "npm run build" after "npm install" ``` npm ERR! code 1 npm ERR! path C:\GIT\filters\node_modules\canvas npm ERR! command failed ```...
I'm trying https://github.com/pixijs/filters/pull/389
I think this page shows code + demo to answer your question: https://pixijs.io/examples/#/events/custom-hitarea.js depending if you're using the latest pixi version... then the documentation is a bit lacking. Use: ```...
I have pixi-spine but it does not have the IAnimation interface on ITrackEntry? export declare interface ITrackEntry { animation: IAnimation .,.. }
These functions work, but typescript says it's not ok _**Property 'animation' does not exist on type 'ITrackEntry'**_ ``` export const getCurrentAnimationString = (spineObject: SpineExtended): string => spineObject.state.tracks[0].animation.name export function getCurrentAnimationString2(spine:...
Maybe similar problem, I have a suffix to the atlas name. ``` assets: [ { name: "Beaver_Guard_Warrior", srcs: "./assets/animation/units/Beaver_Guard_Warrior.json", loaderOptions: { metadata: { spineAtlasSuffix: "@sd.atlas" } }, }, ], ```...
Doesn't seem complete anyway...  animation should exist on TrackEntry?
Is this related? Perhaps someone can fix it for you. ➤ YN0002: │ pixi-spine@npm:3.0.13 doesn't provide @pixi/app (pd0e0f), requested by @pixi-spine/loader-base ➤ YN0002: │ pixi-spine@npm:3.0.13 doesn't provide @pixi/constants (pa45c0), requested...
Will this also fix the skeleton.setSkin method? _(used in combining skins)_ 
These two things should work: ``` tentSpine.skeleton.findSlot("TintStripTINT1").color.setFromString("ffff00") tentSpine.skeleton.findSlot("TintStripTINT1").color.set(1, 0, 1, 1) //alternative code ``` ``` export declare interface ISlot { getAttachment(): IAttachment; data: ISlotData; color: Color; darkColor: Color; blendMode: number;...