(if anyone makes fun of this then get a life)
well first things first you should be using sprites instead of images, their easier to handle and they allow transparency and collision.
Secondly images dont move as such, they reposition (like a teleport) i'll break it down a bit better.
What you need to do is have a position for the object stored into 2 variables. so its x(across) axis could be stored in a variable called batx# and the y(up and down) could be stored in baty#, notice the hash which indicates a real number.
In games we use whats called a main program loop, which is what we refer to as the engine because it drives the game.
So the engine which is a repeating piece of code will start with a do command and end with a symnc followed by a loop usually.
Now what you do is you start with 2 two coordinates that will place the bat somewhere centrally at bottom. so x=300 and y=370. now every time the program loops you want the sprite to be repeatedly placed using the variable coordinates x and y.
The next part is the movement part. basically every time the the left key is pressed you want to decrement x by about 2 depending on the speed you want the bat to move. Then when the right key is pressed you want to increase by the same ammount, thus repositioning your object.
Hope this is a help it might help you understand the tutorial by the. To load a sprite in darkbasic i think the command is load sprite "filename", (sprite number ie 1)
Then you can place it and replace ot anywhere on screen using sprite x,y,image numbe) eg sprite batx#,baty#, 1
eg:
sync rate 30
load sprite "batt.bmp",1
batx#=300
baty#=380
do
sprite batx#,baty#,1
if leftkey()=1 then batx#=bat#-2
if upkey()()=1 then baty#=baty#+2
sync
loop
remember that's just an example, you will obviously need to change the file name and you may want to modify this slighty, to change the speeds and add variables to stop the bat from dissappearing ie
if leftkey()=1
if x>0
x=x-2
endif
endif
it seems complicated but after a while you'll be treaching this to your pets as a new trick so dont be discouraged
C.Watson