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.

Bug Reports / dbCircle and dbEllipse not drawing in DGDK

Author
Message
Shoulin
13
Years of Service
User Offline
Joined: 9th Jul 2010
Location:
Posted: 9th Jul 2010 22:35
Hi, I am currently in a Coding for Game Design course in college which requires us to use DarkGDK. We recently got an easy assignment of a basic Duck Hunt game which required us to shoot a cannon that was in the lower left corner of the screen. The cannon was shot after the player inputted the desired angle and power of where the bullet would go.

I had recently put DarkGDK on my laptop (Vista+GeForce 8600 mobile) and my desktop (Win7+GeForce 260 GTX Maxcore) and everything worked fine until I had to draw the circle (or ellipse) for the shot. The Virtual Machines at school would draw everything out correctly with it running Windows XP. The basic graphics would not show in any of the 3 variations of equations I had tried. I reinstalled Visual 2008, DGDK, and DX SDK 3 times and nothing has changed. Is there a workaround to getting the circle to draw or is this a known bug with Vista and Win7? Please help.

Mireben
15
Years of Service
User Offline
Joined: 5th Aug 2008
Location:
Posted: 13th Jul 2010 12:23 Edited at: 13th Jul 2010 12:25
It is a known bug for a long time. I don't know if it's Dark GDK, DirectX or NVidia driver problem, either of these can be the cause.

http://forum.thegamecreators.com/?m=forum_view&t=158209&b=15

You can use these workaround functions, which draw circles/ellipses out of line segments:

http://forum.thegamecreators.com/?m=forum_view&t=158250&b=22&p=0

Login to post a reply

Server time is: 2024-04-25 15:31:40
Your offset time is: 2024-04-25 15:31:40