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 / Weird - Varibles

Author
Message
AlexI
19
Years of Service
User Offline
Joined: 31st Dec 2004
Location: UK
Posted: 16th Sep 2008 23:05 Edited at: 16th Sep 2008 23:10
Hi,
Im working on a game at the moment and now its just started acting up. When ever I define a varible between void DarkGDK ( void ) - while ( LoopGDK ( ) ) the camera gets positioned somewhere werid . It doesnt matter what the varible name is it just messes up, but as soon as i remove the varible code it comes back

Varible code


Really weird problem Any help?
Thanks,
Alex

Mahoney
16
Years of Service
User Offline
Joined: 14th Apr 2008
Location: The Interwebs
Posted: 17th Sep 2008 00:21
Post all of the code, as it's likely due to something before or after that, or in the GDK definitions themselves.

Windows Vista Home Premium Intel Pentium Dual-Core 1.6 Ghz 1GB DDR2 RAM GeForce 8600GT Twin Turbo
AlexI
19
Years of Service
User Offline
Joined: 31st Dec 2004
Location: UK
Posted: 17th Sep 2008 00:46
Fixed it, really weird problem, in the GDK loop I had defined a different variable so every time it loops it would redefine that variable. Even though I was trying to define a different variable out of the GDK loop, the redefintion messed up all varibles

Login to post a reply

Server time is: 2024-09-30 05:31:37
Your offset time is: 2024-09-30 05:31:37