By default your app is running in 640x480 (In DB classic).
You use the command:
sprite 1,30,500,1
The syntax is:
Sprite Sprite_number,X,Y,Image_number
Since the screen is only 480 pix in height and your sprite
is placed 500 pix down it will be out of screen.
Use this instead to center the sprite at the screen:
Sync on
load bitmap "static1.bmp",1
X=Screen Width()/2
Y=Screen Width()/2
do
cls
sprite 1,X,Y,1
if rightkey()=1 then inc X
if leftkey()=1 then dec X
if upkey()=1 then dec Y
if downkey()=1 then inc Y
sync
loop
Width this code you will also be able to move the sprite in
all directions.
"It's good to be bad..."
Dungeon Keeper