http://m-spot.info/dibfxtut.txt
I just wrote a little tutorial on request about some basic demo effects. thought I might as well post it here
http://m-spot.info/dibfxtut.txt
I just wrote a little tutorial on request about some basic demo effects. thought I might as well post it here
My Trade List (Not up-to-date)
I'm a math teacher, so let's plus the bed, minus the clothes, divide the legs and multiply the joy
Pretty good tutorial. I'm especially thankful of the sine stuff as I'm pretty bad with trigonomitry and stuff. I'll be sure to check it out more in-depth later.
I just have a small suggestion.
This -> if (x>=0&&x<ScreenWidth&&y>=0&&y<ScreenHeight) looks way to cluttered...
It should look like
this -> ((x >= 0) && (x < ScreenWidth) && (y >= 0) && (y < ScreenHeight))
Not only is it much easier for you to read, but also for the compiler, in some cases.
Last edited by crusher; 4th-May-2005 at 10:42.
thx for the suggestion, i just fixed that in the tut
My Trade List (Not up-to-date)
I'm a math teacher, so let's plus the bed, minus the clothes, divide the legs and multiply the joy
i'm just too lazy
yeah but readability is important when you work in teams and sharing source codes...
actually i was trying to read some asm code i wrote 2 years ago and i was like how the fuck did i do that lol
My Trade List (Not up-to-date)
I'm a math teacher, so let's plus the bed, minus the clothes, divide the legs and multiply the joy