
-----------------------------------
Krocker
Mon Nov 08, 2010 4:10 pm

Can someone help me. Its a beginner program. so ya
-----------------------------------
What is it you are trying to achieve?
Trying to make stars flash at different places at random times


What is the problem you are having?
I got the stars to flash at different areas, but it also apears  on my buildings and grassy areas.


Describe what you have tried to solve this problem
i treid to place it above the rest of tthe codings, but because it was a loop, it did not show te rest of the images


Post any relevant code (You may choose to attach the file instead of posting the code if it is too long)
var x1,x2,y1,y2:int



% opens splash screen

View.Set ("nobuttonbar,  position:center;center")

colour (3)
locate (12, 28)
put "IMAGE BY KARANVEER BHARAJ"
locate (10, 28)
colour (red)
put "PREPARED TO BE AMAZED!!!!!"
delay (1000)
cls




% Landscape design
setscreen ("graphics:max;max,nobuttonbar")

% Creates the sky
drawfillbox (0, 0, 1010, 700, black)


% Draws the Grass
drawfillbox (0, 0, 1010, 180, green)


% Draws the moon
drawfilloval (200, 550, 60, 60, white)
drawfilloval (235, 570, 60, 60, black)     % 