Making homing lazers with faiding tails

BlitzMax Forums/BlitzMax Beginners Area/Making homing lazers with faiding tails

Ryan Burnside(Posted 2006) [#1]
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


tonyg(Posted 2006) [#2]
Contains bullet trail example


Ryan Burnside(Posted 2006) [#3]
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.


tonyg(Posted 2006) [#4]
Not sure why you can't start with that code but never mind. You might check IndiePath's RTT code or Diablo's HighGFX.


klepto2(Posted 2006) [#5]
Here is some simple code I have put together :



The magic word in this case might be 'LIGHTBLEND'.


Ryan Burnside(Posted 2006) [#6]
Thanks for your time, I got something similar working. :)