local meteorex={0,0,0,0,0,0,0,0,0,0} local meteorey={0,0,0,0,0,0,0,0,0,0} local starsx={0,0,0,0,0,0,0,0,0,0} local starsy={0,0,0,0,0,0,0,0,0,0} local starsv={0,0,0,0,0,0,0,0,0,0} local shipy=1 local rect=graydraw.rect local line=graydraw.line local pixel=graydraw.pixel fin =0 local function drawship() if key(38) and shipy<59 then shipy=shipy+3 end if key(39) and shipy>1 then shipy=shipy-3 end rect(1,shipy,4,shipy+4,4,4) rect(5,shipy+1,6,shipy+3,4,4) rect(7,shipy+2,9,shipy+2,4,4) end local function avancemeteore() for a=1,11,1 do meteorex[a]=meteorex[a]-3 if meteorex[a]<-5 then meteorex[a]=misc.random(40)+128 meteorey[a]=misc.random(58)+1 end end end local function collision() for a=1,11,1 do if (meteorex[a]<5) and (meteorey[a]+5>shipy) and (meteorey[a]