Search Forums
-
Make sure you have the latest video drivers for the Windows 7 machine. The problem really sounds like a driver compatibility issue.
Also, you need to throw away VC++ 6. That thing is awful (and unsupported). Get VC++ 2008 Express Edition (or VS 2008 if you have the money) and the latest version of the DirectX SDK.
Beyond that, I can't really ...
-
What version of the DirectX SDK are you using to create the program? If you are using VC++ 6, it would have to be a pretty old version. The latest SDK requires at least VS 2005.
I suspect that the SDK version you are using has bugs or incompatibilities with Windows 7.
-
It appears that when you access your png file via the DNS name, your web server is adding HTML to wrap the image in a frame. When you go directly via the IP address, the wrapping doesn't occur. So, your code is failing because the stream doesn't just contain a png file. It is actually an HTML file.
-
You'll need to post your texture loading code before we can help you.
-
-
There is a second IntersectPixels overload that accepts transformation matrices for the two sprites. The matrices are used to transform positions back into the untransformed color data space before doing the comparisons.
-
KeyTimer is a struct, so the kt values you get from the foreach are copies of what's in the list and assigning to that copy would serve no purpose. If you change KeyTimer to a class, then what you are trying to do will work.
-
[quote user="Loopy Max"]This is true, but the detection code that he refers to simply extracts the colour data from the 2 textures that are bieng drawn and compares the colour values.
So one of the sets of colour data will need to be scaled accordingly.[/quote]Actually, the code he refers to takes scale into account in the color ...
-
[quote user="Jim Perry"][quote user="David Hunt"]You have no control over the time limit built-in time limit and it's going to tick off players if you give them less time than the built-in time limit, so go with the second option.[/quote]
Fixed that for you. ;)[/quote]Thanks. That's actually what I meant to say anyway. ...
-
You have no control over the time limit, so go with the second option.