loading a bitmap:
load bitmap "path\image.bmp",bitmapnumber
or
load image "path\image.bmp",imagenumber `command not restricted to just bitmaps
controlling it (use the load image command):
load image "New Bitmap Image.bmp",1
sprite 1,xpos,ypos,1 `sprite number,left-right position,up-down position
scale sprite 1,100 `sprite number,percent
xpos=screen width()/2-(sprite width(1)/2)`centers the sprite (left-right)
ypos=screen height()/2-(sprite height(1)/2)`centers the sprite (up-down)
do`main loop begin
cls`clear the screen
sprite 1,xpos,ypos,1`draw our sprite, which is basically an instanced image
`efficient keyboard control
ypos=ypos+downkey()-upkey()
xpos=xpos+rightkey()-leftkey()
`you could also do this instead(easier to understand, but more code)
`if upkey() then dec ypos
`if downkey() then inc ypos
`if leftkey() then dec xpos
`if rightkey() then inc xpos
loop
Collision:
load image "New Bitmap Image.bmp",1 `replace this with your bitmap image,mine is 50*50
sprite 1,xpos,ypos,1 `sprite number,left-right position,up-down position
scale sprite 1,100 `sprite number,percent
xpos=screen width()/2-(sprite width(1)/2)`centers the sprite (left-right)
ypos=screen height()/2-(sprite height(1)/2)`centers the sprite (up-down)
do`main loop begin
cls`clear the screen
sprite 1,xpos,ypos,1`draw our sprite, which is basically an instanced image
sprite 2,20,200,1
set cursor 1,1
if sprite collision(1,2)=1 or sprite hit(1,2)=1 then print "its hitting"
`efficient keyboard control
ypos=ypos+downkey()-upkey()
xpos=xpos+rightkey()-leftkey()
`you could also do this instead(easier to understand, but more code)
`if upkey() then dec ypos
`if downkey() then inc ypos
`if leftkey() then dec xpos
`if rightkey() then inc xpos
loop
I'm not quite sure what you mean by platform movement, but get back to me and i'll post the code.