TarVK / pixi-shadows

Adds dynamic shadows to PixiJS
https://tarvk.github.io/pixi-shadows/dist/
MIT License
52 stars 13 forks source link

Spotlight feature #4

Open Ewan-Roberts opened 5 years ago

Ewan-Roberts commented 5 years ago

Hey there,

Firstly I love your library, so thanks for sharing it

I saw in your TODO's you want to add a spotlight feature, I was wondering if thats a feature that will be implemented? I looked at your branches but couldn't find it.

TarVK commented 5 years ago

I am very sorry, but I am currently quite busy with other projects. I might add it in the future, but that will probably be this summer at its earliest. In general I don't think it should be very difficult to add, but I am not using this project myself currently, and there is little time left between work, university and the projects I am working on.

For now you should be able to fake it by just making a sprite that moves with the light/shadow and just blocks in a certain direction. But if you want to look into the code and add it yourself, you are more than welcome to, any contributions are definitely appreciated. If you try and have questions you can always ask me.