Archived

This topic is now archived and is closed to further replies.

Senses777

silly line question

Recommended Posts

I know this is a stupid question, but I couldn''t find the anser... in DX7 how do you draw a line from one point to another point? is there a function?... in DX8, how do you do this? .sen

Share this post


Link to post
Share on other sites
Using DirectDraw, you need to write your own line-draw function from scratch, preferably using the Bresenham algorithm. There are tons of tutorials on this, even on this site.

Its a bit more complicated for DX8, but there is a tutorial about this on this site aswell (One of the "2D drawing using DX8" tutorials). Look them up yourself, i''m too lazy to find the urls

Share this post


Link to post
Share on other sites