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 / Weirdest Freaking Problem

Author
Message
Zuka
16
Years of Service
User Offline
Joined: 21st Apr 2008
Location: They locked me in the insane asylum.
Posted: 13th Oct 2008 05:18


What the heck? Ok. It doesn't paste stars.jpg when it should... it won't change input_focus on fighter when it should.

It NEVER pastes stars.jpg even if I put it directly under the loop. What the heck is going on?
Gasilli
16
Years of Service
User Offline
Joined: 20th Sep 2008
Location: Having a party in your garage
Posted: 13th Oct 2008 05:30 Edited at: 13th Oct 2008 05:31
Is the filename exactly that? Thats all I can think of.

Edited: Fixed a typo
Zuka
16
Years of Service
User Offline
Joined: 21st Apr 2008
Location: They locked me in the insane asylum.
Posted: 13th Oct 2008 05:55
Yes, the filename is correct.
sydbod
16
Years of Service
User Offline
Joined: 14th Jun 2008
Location: Just look at the picture
Posted: 13th Oct 2008 06:09 Edited at: 13th Oct 2008 06:10
Quote: "
//Ship fighter(0, 0, 0, "", false, 0.0f, 5.0f, 0.0f, 25.0f);
int mode = M_MENU;

//KeyMonitor q_mon(16);
while (LoopGDK())
{
dbCLS(0);
if (mode == M_MENU)
{
dbPasteImage(1, 0,0, dbScreenWidth(),dbScreenHeight());
}
else if (mode == M_GAME)
{
dbHideSprite(1);
fighter.input_focus = q_mon.Check();
}
//fighter.Update();

dbSync();
}
"


Comment out the 3 areas as above and start from there.

Uncomment one at a time until you find the problem area.

None of us have enough of your code to be able to give you a proper answer.

Login to post a reply

Server time is: 2024-11-25 06:28:52
Your offset time is: 2024-11-25 06:28:52