Quote: "I've had troubles using .png files in DBP, though I forgot what exactly they were... I just remember something obvious screwing up and it turns out it was because of the .png filetype, so now I use bmp."
You really should revisit using .pngs for your programs. Games look so much better with the alpha transparency ability in .pngs. .bmps can't do transparencies at all.
` Screen setup
set display mode 800,600,32
` Make random number picking more random
randomize timer()
` Load the bubble
load image "Bubble.png",1,1
` Make the background
for t=1 to 1000
ink rgb(rnd(255),rnd(255),rnd(255)),0
if t=1 then box 0,0,800,600
line rnd(800),rnd(600),rnd(800),rnd(600)
next t
get image 2,0,0,800,600,1
hide mouse
sprite 1,mousex(),mousey(),1
` Offset the sprite so the mouse is in it's center
offset sprite 1,sprite width(1)/2,sprite height(1)/2
do
` Show Background
paste image 2,0,0
` Show bubble
sprite 1,mousex(),mousey(),1
loop