Hello,
I've recently started modding again, and I'm having an issue: I need to create a custom particle with a texture that I can specify via the constructor.
So far, I've achieved some different results:
I had particles working with floating etc. however only textures with one color were displayed correctly. A texure with a gradient (black to red) was displayed as half-transparent dark gray and a texture with transparency did not display at all.
I then looked at how the footstep particle worked and adjusted my code, and voila, all particles were displayed; however only the one with only a single color was displayed without transparency. The one with transpaHello,
I've recently started modding again, and I'm having an issue: I need to create a custom particle with a texture that I can specify via the constructor.
So far, I've achieved some different results: I had particles working with floating etc. however only textures with one color were displayed correctly. A texure with a gradient (black to red) was displayed as half-transparent dark gray and a texture with transparency did not display at all.
I then looked at how the footstep particle worked and adjusted my code, and voila, all particles were displayed; however only the one with only a single color was displayed without transparency. The one with transparency was displayed, but it also was half-transparent (it is not in the original texture). Additionally, the particles displayed like the footstep particle and were flat (they didn't face the player), which was probably a result of modelling my particle after the footstep one.
I also have made some research, but most tutorials are outdated (<1.5) or only help with creating a particle with the shape of an existing one.
I'd appreciate any help.
Regards
-Quicksteverency was displayed, but it also was half-transparent (it is not in the original texture). Additionally, the particles displayed like the footstep particle and were flat (they didn't face the player), which was probably a result of modelling my particle after the footstep one.
I also have made some research, but the tutorials I found were outdated (<1.5) or only helped with creating a particle with the shape of an existing one (by setting the RGB values).
I'd appreciate any help.
Regards
-Quicksteve