Gamedevs, how do you create your (pixel perfect) chain lightning?
Here is an example where I create the texture during runtime, placing all the pixels according to some calculations and parameters (flicker, jaggedness, etc.).
#ScreenshotSaturday #IndieDevs
Gamedevs, how do you create your (pixel perfect) chain lightning? Here is an example where I create the texture during runtime, placing all the pixels according to some calculations and parameters (flicker, jaggedness, etc.). #ScreenshotSaturday #IndieDevs
0 views
Published on 14/11/2026 08:35
0:07
Gamedevs, how do you create your (pixel perfect) chain lightning?
Here is an example where I create the texture during runtime, placing all the pixels according to some calculations and parameters (flicker, jaggedness, etc.).
#ScreenshotSaturday #IndieDevs
2 comments
?
Generating the effect at runtime is an interesting approach. You get the flexibility to vary each strike while keeping control over the pixel structure. That's a tricky balance with pixel art.
One option to test: jitter a few intermediate points between targets, then draw the connecting segments onto your pixel grid: xlinux.nist.gov/dads/HTML/br.... Does your current method build a path first, or calculate the pixels directly?