What is Stellix Hop?
Stellix Hop is a free, one-finger jumping game. Your little red character bounces by itself. All you do is steer left and right and land on the platforms that appear above you. Each platform you pass takes you higher, and your score grows with every step upward. If you miss and fall off the bottom of the screen, the run is over.
It is easy to learn in ten seconds, and hard to put down.
How to play
- Phone: drag your finger left or right anywhere on the game.
- Computer: move the mouse, or use the arrow keys or A and D.
- Start or retry: press the Play button, or press Space or Enter.
- Your character wraps around the screen, so if you leave on the left side you come back on the right.
The three kinds of tiles
- Green tiles are safe and give a normal bounce.
- Blue tiles slide from side to side. They appear after you have climbed a while.
- Pale cracked tiles break the moment you land on them, and you will not bounce. Avoid them.
There is also an orange spring that sometimes sits on a green tile. Land on it for a huge launch upward.
Features
- Smooth 60 frames per second animation on HTML5 canvas
- Difficulty that rises slowly: gaps get wider and tricky tiles appear later
- Springs, moving tiles and breakable tiles
- Your best score is saved on your device
- Touch, mouse and keyboard controls
- Sharp graphics on any screen size
- No download, no sign-up, free
Tips for a high score
- Do not rush to the side. Small, early moves are better than big late ones.
- Look ahead. Choose the next tile while you are still going up.
- Use springs when you see one. They can skip several tiles.
- When two tiles are close, prefer the green one over the blue one that moves.
- Stay calm when the tiles get farther apart. The jump is always high enough to reach.
How it was made
Stellix Hop is written in plain JavaScript and drawn on a canvas. Gravity pulls the character down a little every frame. When the character falls onto a tile from above, the game gives it an upward speed. When the character climbs above the middle of the screen, the game moves all the tiles down instead of moving the character up, which creates the endless climbing feeling.
Frequently asked questions
Is Stellix Hop free? Yes, it is free with no sign-up.
Does it work on phones? Yes. Drag your finger to steer.
Does it save my score? Your best score is saved on your device when your browser allows it.
Is there an end? No. The game goes on until you fall.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
<title>Stellix Hop – Free Endless Jumping Game | Coding Stellix</title>
<meta name="description" content="Stellix Hop is a free endless jumping game by Coding Stellix. Bounce up the platforms, use springs, avoid breaking tiles and beat your best score on phone or desktop.">
<style>
:root{--ink:#1d2340;--mute:#5c6488;box-sizing:border-box;padding-top:env(safe-area-inset-top,0px);padding-bottom:env(safe-area-inset-bottom,0px)}
*{box-sizing:border-box}
html,body{margin:0;min-height:100%}
body{background:linear-gradient(160deg,#dcecff 0%,#f4eaff 55%,#ffeef0 100%);background-attachment:fixed;color:var(--ink);font-family:"Segoe UI","Trebuchet MS",Arial,sans-serif;line-height:1.4;display:flex;flex-direction:column;align-items:center;padding:20px 14px 28px}
.pill{font-size:13px;font-weight:700;color:#ff6b6b;background:#fff;padding:5px 14px;border-radius:99px;box-shadow:0 4px 14px -6px rgba(60,60,120,.35)}
h1{margin:10px 0 2px;font-size:clamp(30px,6vw,44px);letter-spacing:-1px;line-height:1.1}
.sub{margin:0 0 14px;color:var(--mute);font-size:15px;text-align:center}
.stage{position:relative;width:min(100%,calc(72vh*.6),400px);border-radius:26px;overflow:hidden;box-shadow:0 30px 60px -24px rgba(50,50,110,.5),0 0 0 6px #fff;touch-action:none;user-select:none;-webkit-user-select:none}
canvas{display:block;width:100%;height:auto}
.ov{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,.35);backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px)}
.ov[hidden]{display:none}
.box{background:#fff;border-radius:22px;padding:24px 26px;text-align:center;width:80%;box-shadow:0 20px 40px -18px rgba(40,40,100,.5)}
.box h2{margin:0 0 6px;font-size:28px;letter-spacing:-.5px}
.box p{margin:0 0 6px;color:var(--mute);font-size:14px}
.big{font-size:46px;font-weight:800;color:#ff6b6b;line-height:1.1}
.btn{margin-top:14px;font:inherit;font-weight:800;font-size:17px;color:#fff;border:0;border-radius:14px;padding:12px 30px;cursor:pointer;background:linear-gradient(135deg,#ff6b6b,#ff9f43);box-shadow:0 8px 18px -8px #ff6b6b}
.btn:active{transform:scale(.97)}
.btn:focus-visible{outline:3px solid #6b73ff;outline-offset:3px}
.hint{margin-top:12px;font-size:13px;color:var(--mute)}
</style>
</head>
<body>
<!-- Stellix Hop by Coding Stellix -->
<span class="pill">Coding Stellix</span>
<h1>Stellix Hop</h1>
<p class="sub">Bounce as high as you can. Do not fall.</p>
<div class="stage" id="st">
<canvas id="cv" width="720" height="1200" aria-label="Stellix Hop game"></canvas>
<div class="ov" id="menu"><div class="box"><h2>Ready to hop?</h2><p>Green tiles are safe.<br>Orange springs launch you high.<br>Pale tiles break, so don't land on them.</p><button class="btn" id="go">Play</button></div></div>
<div class="ov" id="over" hidden><div class="box"><p>Your score</p><div class="big" id="fs">0</div><p id="fb"></p><button class="btn" id="again">Play again</button></div></div>
</div>
<p class="hint">Phone: drag your finger left or right. Computer: move the mouse or use arrow keys.</p>
<script>
var W=360,H=600,cv=document.getElementById("cv"),cx=cv.getContext("2d"),K=cv.width/W;
var S="menu",p,plats,climbed,score,best=0,dir=0,ptr=null,last=0,lastT=0,clouds=[],t0=0;
try{best=+localStorage.getItem("stxhop")||0}catch(e){}
for(var i=0;i<5;i++)clouds.push({x:Math.random()*W,y:Math.random()*H,s:.6+Math.random()*.8});
function add(y,type){var w=type==3?52:68;plats.push({x:Math.random()*(W-w),y:y,w:w,t:type,d:Math.random()<.5?-1:1,sq:0})}
function fill(){var top=Math.min.apply(null,plats.map(function(q){return q.y}));
while(top>-60){var gap=Math.min(122,52+climbed/300+Math.random()*26);top-=gap;var r=Math.random(),sc=climbed/10,ty=0;
if(sc>120&&r<.22)ty=1;else if(sc>250&&r<.38&&last!=2)ty=2;else if(r<.08)ty=3;
last=ty;add(top,ty)}}
function reset(){p={x:W/2-17,y:H-120,vx:0,vy:-11.5,f:1};plats=[{x:W/2-70,y:H-60,w:140,t:0,d:1,sq:0}];climbed=0;score=0;last=0;fill()}
function rr(x,y,w,h,r){cx.beginPath();cx.moveTo(x+r,y);cx.arcTo(x+w,y,x+w,y+h,r);cx.arcTo(x+w,y+h,x,y+h,r);cx.arcTo(x,y+h,x,y,r);cx.arcTo(x,y,x+w,y,r);cx.closePath()}
function step(k){
if(ptr!==null)p.vx=Math.max(-6,Math.min(6,(ptr-(p.x+17))*.18));else p.vx=dir*5;
p.x+=p.vx*k;if(p.x<-17)p.x=W-17;if(p.x>W-17)p.x=-17;
if(p.vx>.5)p.f=1;else if(p.vx<-.5)p.f=-1;
var pb=p.y+34;p.vy+=.38*k;p.y+=p.vy*k;
plats.forEach(function(q){
if(q.t==1){q.x+=q.d*1.5*k;if(q.x<0||q.x+q.w>W)q.d*=-1}
if(q.gone){q.y+=7*k;return}
if(q.sq>0)q.sq-=.08*k;
if(p.vy>0&&pb<=q.y+5&&p.y+34>=q.y&&p.x+30>q.x&&p.x+4<q.x+q.w){if(q.t==2)q.gone=true;else{p.vy=q.t==3?-17.5:-11.5;q.sq=1}}});
if(p.y<H*.4){var d=H*.4-p.y;p.y+=d;climbed+=d;plats.forEach(function(q){q.y+=d});plats=plats.filter(function(q){return q.y<H+30});fill()}
score=Math.floor(climbed/10);
if(p.y>H+10)over()}
function over(){S="over";var nb=score>best;if(nb){best=score;try{localStorage.setItem("stxhop",best)}catch(e){}}
document.getElementById("fs").textContent=score;document.getElementById("fb").textContent=nb&&score>0?"New best score!":"Best: "+best;document.getElementById("over").hidden=false}
function begin(){reset();S="play";document.getElementById("menu").hidden=true;document.getElementById("over").hidden=true}
function draw(){
cx.setTransform(K,0,0,K,0,0);
var g=cx.createLinearGradient(0,0,0,H);g.addColorStop(0,"#7cc0ff");g.addColorStop(1,"#eaf5ff");cx.fillStyle=g;cx.fillRect(0,0,W,H);
cx.fillStyle="rgba(255,255,255,.75)";
clouds.forEach(function(c){var y=((c.y+(climbed||0)*.12*c.s)%(H+120))-60;cx.beginPath();cx.arc(c.x,y,22*c.s,0,7);cx.arc(c.x+24*c.s,y+5,18*c.s,0,7);cx.arc(c.x-22*c.s,y+6,16*c.s,0,7);cx.fill()});
if(!plats)return;
plats.forEach(function(q){var sq=q.sq>0?q.sq*3:0;
if(q.t==2){cx.globalAlpha=q.gone?.5:1;cx.fillStyle="#f3efe8";rr(q.x,q.y,q.w,13,6);cx.fill();cx.strokeStyle="#c9c0b0";cx.lineWidth=2;cx.beginPath();cx.moveTo(q.x+q.w*.4,q.y);cx.lineTo(q.x+q.w*.5,q.y+13);cx.moveTo(q.x+q.w*.7,q.y);cx.lineTo(q.x+q.w*.62,q.y+13);cx.stroke();cx.globalAlpha=1;return}
cx.fillStyle=q.t==1?"#4f8cff":q.t==3?"#2fbf71":"#2fbf71";rr(q.x,q.y+sq,q.w,13,6);cx.fill();
cx.fillStyle="rgba(255,255,255,.35)";rr(q.x+4,q.y+sq+2,q.w-8,3,2);cx.fill();
if(q.t==3){var sh=q.sq>0?4:12;cx.fillStyle="#ff9f43";rr(q.x+q.w/2-10,q.y-sh,20,sh+1,4);cx.fill();cx.fillStyle="#ff6b6b";rr(q.x+q.w/2-13,q.y-sh-5,26,7,3);cx.fill()}});
if(p&&S!="menu"){cx.save();cx.translate(p.x+17,p.y+17);cx.rotate(p.vx*.025);var st=p.vy<0?1.08:.95;cx.scale(2-st,st);
cx.fillStyle="#ff6b6b";rr(-17,-17,34,34,11);cx.fill();cx.fillStyle="rgba(255,255,255,.3)";rr(-12,-14,24,6,3);cx.fill();
cx.fillStyle="#fff";cx.beginPath();cx.arc(-6+p.f*2,-3,6,0,7);cx.arc(6+p.f*2,-3,6,0,7);cx.fill();
cx.fillStyle="#1d2340";cx.beginPath();cx.arc(-5+p.f*4,-3,2.6,0,7);cx.arc(7+p.f*4,-3,2.6,0,7);cx.fill();
cx.fillStyle="#d9485a";rr(-5,6,10,4,2);cx.fill();cx.restore()}
cx.fillStyle="#1d2340";cx.font="800 30px 'Segoe UI',Arial";cx.textAlign="left";cx.fillText(score||0,16,42);
cx.font="600 13px 'Segoe UI',Arial";cx.textAlign="right";cx.fillStyle="rgba(29,35,64,.6)";cx.fillText("Best "+best,W-16,36)}
function loop(ts){var k=Math.min(2,(ts-lastT)/16.67||1);lastT=ts;if(S=="play")step(k);draw();requestAnimationFrame(loop)}
document.getElementById("go").onclick=begin;document.getElementById("again").onclick=begin;
document.addEventListener("keydown",function(e){var c=e.code;if(c=="ArrowLeft"||c=="KeyA")dir=-1;else if(c=="ArrowRight"||c=="KeyD")dir=1;else if((c=="Space"||c=="Enter")&&S!="play"&&!/BUTTON/.test(e.target.tagName)){begin()}});
document.addEventListener("keyup",function(e){var c=e.code;if((c=="ArrowLeft"||c=="KeyA")&&dir<0)dir=0;if((c=="ArrowRight"||c=="KeyD")&&dir>0)dir=0});
var st=document.getElementById("st");
function px(e){var r=st.getBoundingClientRect();return(e.clientX-r.left)/r.width*W}
st.addEventListener("pointerdown",function(e){if(e.pointerType!="mouse")ptr=px(e)});
st.addEventListener("pointermove",function(e){if(e.pointerType=="mouse"||ptr!==null)ptr=px(e)});
["pointerup","pointercancel","pointerleave"].forEach(function(n){st.addEventListener(n,function(){ptr=null})});
requestAnimationFrame(loop);
</script>
</body>
</html>