Need help drawing a image from one point to another
-
- Posts: 15
- Joined: December 10th, 2012, 11:10 am
Need help drawing a image from one point to another
i am trying to draw this laser from the green circle to a random position but my problem is i have no idea how to do that. and i am using the draw alpha sprite function. any help or pointers would be very helpful
Re: Need help drawing a image from one point to another
Using the function we have used so far will make it a bit tricky. You would need to rotate each pixel individually which is slow and looks crappy.
There's no tutorial here, but you could learn how to use d3dsprites, but for now maybe you could rethink and just draw multiple lines from the green point where the middle line is brighter then the ones on the edge and get the same effect.
There's no tutorial here, but you could learn how to use d3dsprites, but for now maybe you could rethink and just draw multiple lines from the green point where the middle line is brighter then the ones on the edge and get the same effect.
ʕ •ᴥ•ʔ
-
- Posts: 15
- Joined: December 10th, 2012, 11:10 am
Re: Need help drawing a image from one point to another
ok then time to do some rethinking. thanks for the help