Nyrion Posted October 26, 2019 Author Share Posted October 26, 2019 (edited) Maybe i'm not understanding you clearly but your saying for each Sprite on the stage have a duplicate Sprite (dark version) added into the "ambient" container? The thing is that every light on the stage can change position/scale/texture/layer and also intersect with other lights on the stage. There is also the tilemap (pixi-tilemap) to consider (tiles are generally on layer 0,1,2,3 only) which would be counterproductive to create sprites from. Each light should be visible through the ambient lighting (of course). Is there perhaps a different way to go about ambient lighting? Edited October 26, 2019 by Nyrion Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted October 26, 2019 Share Posted October 26, 2019 If you want to "sort" lights with trees, then yes, you need "dark" version of trees in ambient. Or maintain several ambient levels. Quote Link to comment Share on other sites More sharing options...
Nyrion Posted November 26, 2019 Author Share Posted November 26, 2019 Hey ivan (thanks for your help) I thought i'd throw an update to this. I've sorted out a majority of the issues just some polish left. I've linked to a video to see the result of what i've been working on. Any thoughts? Suggestions? If anyone else has run into this issue, reply to this topic and i'll setup code examples. https://nyrion.ca/Cyndar.mp4 ivan.popelyshev and jonforum 2 Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted November 27, 2019 Share Posted November 27, 2019 I've sent invite to pixijs slack on your email. You can show it in show-and-tell channel Nyrion 1 Quote Link to comment Share on other sites More sharing options...
jonforum Posted November 27, 2019 Share Posted November 27, 2019 14 hours ago, Nyrion said: https://nyrion.ca/Cyndar.mp4 nice editor dude ! very nice ! Nyrion and ivan.popelyshev 2 Quote Link to comment Share on other sites More sharing options...
tywang2006 Posted November 28, 2019 Share Posted November 28, 2019 Impressive, I love it. Nyrion 1 Quote Link to comment Share on other sites More sharing options...
Nyrion Posted November 28, 2019 Author Share Posted November 28, 2019 Hey ivan, got your invite & will join in soon. Thank you! Thanks jonforum & tywang2006! I've been working on this for a while. The video shows a very small portion of the capabilities. I'll post more soon! I'm always open to suggestions as well. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.