Making homing lazers with faiding tails
BlitzMax Forums/BlitzMax Beginners Area/Making homing lazers with faiding tails
| ||
I'm at a loss, I would likke to make homing lazers with fading tails like the game Rayhound. I don't want to use particles. Has anyone gotten a good system for having fading trails on shots? http://www.the2bears.com/?p=587 |
| ||
Contains bullet trail example |
| ||
That's not the solution I need. These lazers are drawn to some buffer I think probably primatives and then they are progressevly faded into the background. It could easly be done with Game Maker's surfaces if anyone is familiar with those.... I just don't know how to do it in Blitzmax because it doesn't seem to offer any fast way of storing dynamic images. If it had another buffer you would simply make the buffer transparent and draw the trail segment each time and then draw a whole semi transparent rectangle over the ectra buffer so it fades over time. |
| ||
Not sure why you can't start with that code but never mind. You might check IndiePath's RTT code or Diablo's HighGFX. |
| ||
Here is some simple code I have put together : The magic word in this case might be 'LIGHTBLEND'. |
| ||
Thanks for your time, I got something similar working. :) |