sinister
02-01-2003, 11:10 PM
is it possible to do lightning effects in ddraw? i think i've seen it in razor1911 demos if i'm not mistaken,but it could've been d3d? anyways please look @ the following example first to allow me 2 explain...
http://www.scene.co.za/scene_cracktro_beta2.zip
there is a fireball moving in a horizontal 8 to the top left,now this sprite,must now throw a lightning effect to each side,of a specific color(perhaps alpha blending?).also,if u can also tell me how 2 colorize a sprite,and rotate/scale it in delphiX,it would be most appreciated.
also,say we have a window like the following,with 2 blocks inside
----------------------
| |
| --------- |
| | x | |
| --------- |
|---------------------
ok,say we are gonna do a star effect in the outer block,but we dont want to do anything in the inner X block,how can that be accomplished? can it work like lets say a layer effect?
and now,the bottom text part is a little korny,what i've done,is i've created a bmp of 10000x60 pixels,wif the text inside,which comes to about 1.5mb of junk.is'nt there a easier way of doing this? perhaps a 300x300px image wif fonts inside that can be used?
thanx in forward for which info can be given
//admin@scene.co.za
http://www.scene.co.za/scene_cracktro_beta2.zip
there is a fireball moving in a horizontal 8 to the top left,now this sprite,must now throw a lightning effect to each side,of a specific color(perhaps alpha blending?).also,if u can also tell me how 2 colorize a sprite,and rotate/scale it in delphiX,it would be most appreciated.
also,say we have a window like the following,with 2 blocks inside
----------------------
| |
| --------- |
| | x | |
| --------- |
|---------------------
ok,say we are gonna do a star effect in the outer block,but we dont want to do anything in the inner X block,how can that be accomplished? can it work like lets say a layer effect?
and now,the bottom text part is a little korny,what i've done,is i've created a bmp of 10000x60 pixels,wif the text inside,which comes to about 1.5mb of junk.is'nt there a easier way of doing this? perhaps a 300x300px image wif fonts inside that can be used?
thanx in forward for which info can be given
//admin@scene.co.za