1 decade ago by neogope
Hi all,
I wanted to share my FadingEntity with you, as I couldn't find anything similar on my research. At the moment I am sitting at coding a game, in which I need to spawn new entities on a click. As simply spawning them doesn't look that nice I searched for a way to let them fade in. Finally I found out how to do it (and even had a chance to learn something about the timers) and realized that I had to totally rewrite my entities, as I worked with plane images and not animation sheets, which (I didn't find a way) doesn't give me the ability to change the alpha channel.
Maybe it is a pretty noobish implementation, but hey, I am totally new to Impact and Game Dev (yeah, and mostly normal Development as well). :)
As I do not want to post a big wall of text, here is the link to the public repo:
https://bitbucket.org/neogope/simple-fading-entity/
Any Feedback is pretty much appreciated!
I wanted to share my FadingEntity with you, as I couldn't find anything similar on my research. At the moment I am sitting at coding a game, in which I need to spawn new entities on a click. As simply spawning them doesn't look that nice I searched for a way to let them fade in. Finally I found out how to do it (and even had a chance to learn something about the timers) and realized that I had to totally rewrite my entities, as I worked with plane images and not animation sheets, which (I didn't find a way) doesn't give me the ability to change the alpha channel.
Maybe it is a pretty noobish implementation, but hey, I am totally new to Impact and Game Dev (yeah, and mostly normal Development as well). :)
As I do not want to post a big wall of text, here is the link to the public repo:
https://bitbucket.org/neogope/simple-fading-entity/
Any Feedback is pretty much appreciated!