Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / Sample Dark invaders graphic prob

Author
Message
theplake
16
Years of Service
User Offline
Joined: 30th Nov 2007
Location:
Posted: 30th Nov 2007 19:27
Hi

I have all installed and all works fine! only the "dark invadersĀ“"
Sample had graphic problems.The Invadertext is okay but all another graphics shows not correct.

Can anybody help me.

p.s. sry for my english
Mike Johnson
TGC Developer
22
Years of Service
User Offline
Joined: 13th Sep 2002
Location: United Kingdom
Posted: 30th Nov 2007 20:11
Check the working directory in the debug settings. It may be pointing to the wrong location.
theplake
16
Years of Service
User Offline
Joined: 30th Nov 2007
Location:
Posted: 1st Dec 2007 17:08
no the path are correct.Here i have a screenshot.

Attachments

Login to view attachments
theplake
16
Years of Service
User Offline
Joined: 30th Nov 2007
Location:
Posted: 2nd Dec 2007 17:01
Anyone a idea???
Mike Johnson
TGC Developer
22
Years of Service
User Offline
Joined: 13th Sep 2002
Location: United Kingdom
Posted: 3rd Dec 2007 17:42
What graphics card are you using? Have you tried updating your drivers? Do the other samples work correctly?
Ravey
Retired TGC Developer
22
Years of Service
User Offline
Joined: 2nd Nov 2002
Location: Southern TGC Nerve Centre
Posted: 3rd Dec 2007 17:48 Edited at: 3rd Dec 2007 17:51
Maybe your graphics card doesn't support textures that are not to the power of 2? All recent graphics cards support odd sized textures (for example the background images in the tutorial are 1024x768). Laptops of a few years back had trouble with odd sized textures and would show displays similar to the screenshot you posted.

You could try rescaling the images to be a power of 2, for example change the 1024x768 to 1024x1024 and see if the graphics are displayed correctly (although they will be the wrong size of course). You can then adjust the size of the sprites to take into account the new texture size.

If you need any help getting it up and running with the new sizes of textures give me a shout - ravey@thegamecreators.com

Regards,
Dave Milton
ravey@thegamecreators.com
theplake
16
Years of Service
User Offline
Joined: 30th Nov 2007
Location:
Posted: 3rd Dec 2007 20:02
mike: i have a geforce go 7200 notebook.1280 x 800.
Yes the another sample work absolut correctly.

Ravey: no the size is correct , i have test more sizes 800 x 800, 1024 x 800. All this graphic problem.

BUT

on my windows xp home pc it work Perfectly!
theplake
16
Years of Service
User Offline
Joined: 30th Nov 2007
Location:
Posted: 6th Dec 2007 12:43
i have only problems with png.

possible vista have problems with png?
theplake
16
Years of Service
User Offline
Joined: 30th Nov 2007
Location:
Posted: 9th Dec 2007 13:23
Also, png with visual express 2008 dont work! It works only on xp.

Login to post a reply

Server time is: 2024-11-16 22:04:13
Your offset time is: 2024-11-16 22:04:13