Lol thats ok.
Here is some sample source for you.:
02
03
dbLoadObject("player.x", 2);
04
05
dbLoadImage("skin.png", 1);
06
07
08
09
10
11
dbPositionObject(2, 20, 20, 40);
12
13
14
dbMakeObjectPlayer(3, 100.0);
15
16
dbPositionObject(3, -50, -50, -10);
17
18
dbColorObject(3, dbRgb(46, 139, 87) );
19
20
21
22
23
24
25
while (LoopGDK()){
26
27
dbText ( 0, 0, "Zombie Fall" );
28
29
30
if (dbUpKey()){
31
dbPitchCameraUp(1.5);
32
}
33
34
35
if (dbDownKey()){
36
dbPitchCameraDown(1.5);
37
}
38
39
40
if (dbLeftKey()){
41
dbRollCameraLeft(1.5);
42
}
43
44
45
if (dbRightKey()){
46
dbRollCameraRight(1.5);
47
}
48
49
50
51
if (dbKeyState(17) == 1){
52
53
dbMoveCamera(1);
54
}
55
if (dbKeyState(30) == 1){
56
57
dbTurnCameraLeft(1.5);
58
}
59
if (dbKeyState(31) == 1){
60
61
dbMoveCamera(-1);
62
}
63
if (dbKeyState(32) == 1){
64
65
dbTurnCameraRight(1.5);
66
}
67
68
69
dbRotateObject(0, dbObjectAngleX(3) + 0.1, dbObjectAngleY(2) + 0.2, dbObjectAngleZ(1) + 0.3);
70
71
// here we make a call to update the contents of the screen
72
dbSync();
73
}
74
75
// before quitting delete our objects
76
dbDeleteObject(1);
77
dbDeleteObject(2);
78
dbDeleteObject(3);
79
80
81
// and now everything is ready to return back to Windows
82
return;
83
}
TK-Games
Zombie Fall Online official site - http://www.zombiefall.tk