DarkGDK image printing.

Hello, people. I've just installed Dark GDK on C++. I tried to learn programing on it and had one problem: then i start my program i want to print image on screen, but instead of that, it just prints blue color. I did everyting by the tutorial, so I don't understand what to do. Hope someone could help me. Here's the code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#include "DarkGDK.h"

void DarkGDK (void) {
	dbSync();
	dbSyncRate(60);
	dbDisableEscapeKey();
	dbSetImageColorKey(255,0,255);
	dbLoadImage("player.bmp",1);

	dbSprite(1,100,50,1);

	while (LoopGDK()) {
		if (dbEscapeKey() == 1)
			break;
		dbSync();
	}

	dbDeleteImage(1);
	dbDeleteSprite(1);

	return;
}
Topic archived. No new replies allowed.