0,]']±>Sï}WÿÍu§ðp8·d%qy)6o;]ÉA¦ösï÷ôôô”°ÂVl†3105 then hero.y=105 hero.vy=0 hero.jump=false end hero.y=hero.y+hero.vy --check collision begin local left = hero.x local right= left + hero.w local top = hero.y local bottom = top+hero.h if right>x and left 105 and top < 125 then gameover=true end --check collision end cls(0) t=t+1 if t%10==0 then hero.frame=259 end if t%20==0 then hero.frame=262 end if looping==true and gameover==false then x=x-3 end if x<=-20 and looping==true then score=score+1 sfx(1,60,5) x=240 end poke(0x03FF8,2) spr(0,x,105,0,1,0,0,3,3) spr(hero.frame,hero.x,hero.y,0,1,0,gameover and 2 or 0,3,3) print("SCORE "..score,10,10,12) if looping==false then print("press up to jump",50,30) print("press z to start",50,40) end if gameover then looping=false font("defghijkl",38,60,0,10,0,false,2) end end