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 / Help Getting Started Tutorial !! Black Screen ! =/

Author
Message
Roiw
15
Years of Service
User Offline
Joined: 30th Jan 2009
Location:
Posted: 1st Feb 2009 03:35
Hello guys,

Im with this problem with the first tutorial the "Hello world" one
i already post something similar in another topic but i got no answers so im trying to create my own.

Here is my code im sorry i dunno how to put in that way that makes it smaller...

#include "DarkGDK.h"

void DarkGDK ( void )
{
// turn on sync rate and set maximum rate to 60 fps
dbSyncOn ( );
dbSyncRate ( 60 );

dbLoadImage("animatedsprite.png",1);
dbSprite (1,10,300,1);

// our main loop
while ( LoopGDK ( ) )
{
// update the screen
dbSync ( );
}

// return back to windows
return;
}

And im getting Black screen like it was in the begining of the tutorial =/ cant go further, help plz!

And by the way the "animatedsprite.png" is in the projects folder like the tutorials says to go.

Thanks anyway!! =D

There is no knowledge that is not power!
Quadrazar
15
Years of Service
User Offline
Joined: 7th Jan 2009
Location: onboard the Kobayashi Maru
Posted: 1st Feb 2009 06:08
this sould give you a blue screen;
dbSyncRate ( 60 );
dbBackdropOn();
dbLoadImage("animatedsprite.png",1);


PS make shure you didn't misspell "animatedsprite.png";

Amiga 500 - 68000 processor / 7 Mhz, 512 Kb RAM, 4-channel PCM synthesizer (stereo)
Benjamin
22
Years of Service
User Offline
Joined: 24th Nov 2002
Location: France
Posted: 1st Feb 2009 09:05
Well the first thing you want to do is avoid posting the same thread 3 times. Once you've clicked the 'post message' button, don't try modifying it and clicking it again as the request will have already been sent.

Login to post a reply

Server time is: 2024-11-25 13:22:17
Your offset time is: 2024-11-25 13:22:17