need help loading textures with directX

[b][red]This message was edited by GigaSlave at 2004-11-18 21:48:44[/red][/b][hr]
hllo everybody!!!
i made a fullscreen program that uses only particles to create a lightning effect (it makes explosions at the bottom too when and where the lightning strikes the bottom of the screen). i built it like a screen saver, so its fullscreen and closes when you move the mouse more than 5 pixels in one frame.
problem is, if i make it a .scr and put it and the texture file into my system32 folder, when i select it as my screensaver, it wont grab the texture and it only renders the colored polygons (it loads the texture and works fine otherwise).
i use visual c++ 6.0 and directX 8 on windows xp pro.
can anyone tell me how i can get it to load the texture??? like, maybe make the texture a resource file and load it internally instead of grabbing a seperate file or sumthing, and if so, maybe some sample source??? thanx a lot.

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!