Search found 27 matches

by Ninjavision
March 7th, 2014, 8:39 pm
Forum: Everything
Topic: Lesson I-16 Error
Replies: 16
Views: 5625

Re: Lesson I-16 Error

Thanks. I found the problem! Stupid simple error... KeyedSurface( unsigned int width, unsigned int height, D3DCOLOR key, D3DCOLOR* surf ) : Surface( width, height, surface ), // Bad!!! key( key ) {} instead of: KeyedSurface( unsigned int width, unsigned int height, D3DCOLOR key, D3DCOLOR* surf ) : S...
by Ninjavision
February 26th, 2014, 5:11 am
Forum: Everything
Topic: Lesson I-16 Error
Replies: 16
Views: 5625

Lesson I-16 Error

Just started lesson I-16. Working on the bug fixes and after I add the destructor I get the follow error when the game is closed.
error.png
error.png (19.88 KiB) Viewed 3241 times
by Ninjavision
September 29th, 2013, 2:30 am
Forum: Everything
Topic: Help with D3DX_MATH!
Replies: 3
Views: 1884

Re: Help with D3DX_MATH!

I must not understand what that does... I added the flag and it turned the .png into a black box and wont display the .jpg.
by Ninjavision
September 29th, 2013, 1:52 am
Forum: Everything
Topic: Help with D3DX_MATH!
Replies: 3
Views: 1884

Help with D3DX_MATH!

I am using D3DXMATRIX to display an image as a sprite. For some reason if the image is a .png it displays offset by 1 pixel in some areas. I am not sure which part is messing up. The D3DXCreateTextureFromFileEx or the D3DXMatrixMultiply. // // Create a Sprite and Loads an Image // bool Sprite :: loa...
by Ninjavision
September 28th, 2013, 9:39 pm
Forum: Everything
Topic: Tron... online!
Replies: 30
Views: 27797

Re: Tron... online!

Asimov: I haven't even begun to work with 3D yet. I am still learning through the beginner series. Hahaha. I might be able to figure something out though. Thanks for the tip. As for rendering images and text, turns out directx handles all that for me. Had to switch from d3d9 to d3dx9. Going to fiddl...
by Ninjavision
September 28th, 2013, 6:47 pm
Forum: Everything
Topic: Tron... online!
Replies: 30
Views: 27797

Re: Tron... online!

I have been running this through my head for the last few days and want to run it by you. I have a few ideas for how the game gets set up. I am working on the updates I said for the main menu. Hard part is trying to get images loaded without requiring any external libs. I believe Lux mentioned Direc...
by Ninjavision
September 26th, 2013, 5:51 pm
Forum: Everything
Topic: Tron... online!
Replies: 30
Views: 27797

Re: Tron... online!

It might take me a while. Still on the beginner series of the tuts. I finished the last episode, I just don't feel I have learned everything fully yet. Going back over to review. I do more design than anything. So I can make the ideas, I just haven't caught up on making the ideas a reality. I am cur...
by Ninjavision
September 26th, 2013, 4:26 pm
Forum: Everything
Topic: Tron... online!
Replies: 30
Views: 27797

Re: Tron... online!

I am working on making the tron logo in blender so I can have the glow/shine race through it. Also finding a track from the tron movie to play whilst in the menus. Finally, I had a thought about making the bike/guy move slowly left and right like the loading screens of GTA. As for the font: I was th...
by Ninjavision
September 26th, 2013, 7:16 am
Forum: Everything
Topic: Tron... online!
Replies: 30
Views: 27797

Re: Tron... online!

This breaks a bunch of copyrights, but it would be cool to end up with something like this!!!!

I want to learn how to do the fonts like this in C++:
by Ninjavision
September 24th, 2013, 5:10 pm
Forum: Everything
Topic: Tron... online!
Replies: 30
Views: 27797

Re: Tron... online!

Thanks a million for this man! Always nice to have some source code to learn and inspire from. I grabbed this as kind of a side project to try and finish. In respects to all your work: I will attach the following the the top of each page. I urge others to do the same or similar. //******************...