StefanWeck Posted May 20, 2015 Share Posted May 20, 2015 Hey everyone, I've recently upgraded my game to v3. But now i'm running into an issue.I have a lightmap in a two dimensional array, which holds tiles that have a black sprite. I change the alpha of these sprites to create the idea of lightning. I used a SpriteBatch in v2, and with the recent update it seemed to make sense to update this to the ParticleContainer.But now it seems that you can't change the Alpha of items in the ParticleContainer after they are created. In the initial initialization functions you can still change the alpha. In the 2nd gameloop and so on, it's not possbile to change the alpha of these tile sprites in the ParticleContainer. So I can't update my lightning. I can solve this to just use the Container instead of the ParticleContainer. But I want to know if this is intentional and if it is, why! Thanks in advance and keep up the good work. Stefan Quote Link to comment Share on other sites More sharing options...
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.