Here's a very simple example of a sky sphere. It's got a planet and a starry background. Use the arrow keys to move the camera around.
set display mode 800,600,32
autocam off
ink rgb(0,0,255),0
box 0,0,128,128
for x = 1 to 2000
ink rgb(200,100,0),0
circle rnd(128),rnd(128),1
ink rgb(200,200,220+rnd(35)),0
circle rnd(128),rnd(128),1
next x
get image 2,0,0,128,128
cls
ink rgb(255,255,255),0
for x = 1 to 100
circle rnd(800),rnd(600),1
dot rnd(800),rnd(600)
next x
get image 1,0,0,800,600
make object sphere 1,-100
texture object 1,1
scale object texture 1,4,2
set object ambient 1,0
make object sphere 2,2
texture object 2,2
scale object texture 2,1,3
position object 2,-5,0,10
do
control camera using arrowkeys 0,.001,.005
loop