ShareShortcuts

Cube Dash V2

V2 the picture attached to this is the icon download it and use it as the app icon

vie_gamdev
Fork “Cube Dash V2”

Built something new on top of this Shortcut? Share it as a fork: it becomes a Shortcut of your own, which you manage, and both pages link to each other so vie_gamdev gets credit.

  1. 1Get the Shortcut and change it in the Shortcuts app. Give it a name of its own.
  2. 2Share it from the Shortcuts app and copy the iCloud link.
  3. 3Come back here, paste the link and describe what is different, e.g. “Added a step that uses Apple Intelligence to personalise the text.”
Downloads
3K
Saved
1
Actions
12
Category
API
Version
1.0
Language
EN

Preview

V2 the picture attached to this is the icon download it and use it as the app icon

What's New

Version 1.0

First release

Version History
1.0 Jul 20, 2026

First release

What it does

12 actions
  1. Comment
    Built with ShortcutStudio. Download: https://apps.apple.com/us/app/shortcutstudio-ai-shortcuts/id6760745118 Website: https://shortcutstudio.app © ShortcutStudio. All rights reserved.
  2. Comment
    This shortcut is public. View it at https://shortcutstudio.app/marketplace-item.html?id=96604E87-2762-4922-B81F-350064C3D0A8
  3. Comment
    Geometry Dash-style jumping game. Opens a web page in Safari. Tap to jump over triangles. 7 levels.
  4. Text
  5. Base64 Encode
  6. Text
  7. If
  8. Comment
    If (then) has no actions
  9. If
  10. Comment
    If (else) has no actions
  11. Text
  12. Open URLs

View as code
Beta

Every action of this Shortcut written out as Cherri, a programming language for Shortcuts. Great for learning how it works.

#include 'actions/web'
#include 'actions/crypto'
#define glyph play

/*
Built with ShortcutStudio.
Download: https://apps.apple.com/us/app/shortcutstudio-ai-shortcuts/id6760745118
Website: https://shortcutstudio.app
© ShortcutStudio. All rights reserved.
*/
// This shortcut is public. View it at https://shortcutstudio.app/marketplace-item.html?id=96604E87-2762-4922-B81F-350064C3D0A8

// Geometry Dash-style jumping game. Opens a web page in Safari. Tap to jump over triangles. 7 levels.

const HtmlCode = "<!DOCTYPE html><html><head><meta charset=\\"UTF-8\\"><meta name=\\"viewport\\" content=\\"width=device-width,initial-scale=1.0,user-scalable=no\\"><title>Geometry Dash</title><style>body{margin:0;overflow:hidden;background:#1a1a2e}canvas{display:block}</style></head><body><canvas id=\\"game\\"></canvas><script>const c=document.getElementById('game'),ctx=c.getContext('2d');c.width=innerWidth;c.height=innerHeight;const W=c.width,H=c.height,gY=H*0.75,cs=40,cx=100;let cy=gY-cs,vy=0,g=0.6,jf=-12,grounded=true,obs=[],score=0,level=1,speed=5,maxL=7,over=false,complete=false,intv=100,fc=0,next=100,passed=0,perL=10;const ls=[{s:5,i:120},{s:6,i:110},{s:7,i:100},{s:8,i:90},{s:9,i:80},{s:10,i:70},{s:12,i:60}];function reset(){obs=[];passed=0;cy=gY-cs;vy=0;grounded=true;over=false;complete=false;fc=0;next=100;const l=ls[level-1];speed=l.s;intv=l.i}function jump(){if(grounded&&!over&&!complete){vy=jf;grounded=false}}c.addEventListener('touchstart',e=>{e.preventDefault();jump()});c.addEventListener('click',jump);document.addEventListener('keydown',e=>{if(e.code==='Space'||e.code==='ArrowUp'){e.preventDefault();jump()}});function update(){if(over||complete)return;fc++;vy+=g;cy+=vy;if(cy>=gY-cs){cy=gY-cs;vy=0;grounded=true}else grounded=false;if(fc>=next){let th=30,tw=30;obs.push({x:W,y:gY-th,w:tw,h:th});next=fc+intv}for(let i=obs.length-1;i>=0;i--){obs[i].x-=speed;if(obs[i].x+obs[i].w<0){obs.splice(i,1);passed++;if(passed>=perL){complete=true;if(level<maxL){level++;reset()}else{over=true}}}}for(let o of obs){if(cx+cs>o.x&&cx<o.x+o.w&&cy+cs>o.y&&cy<o.y+o.h){over=true;break}}}function draw(){ctx.clearRect(0,0,W,H);ctx.fillStyle='#2d2d5e';ctx.fillRect(0,gY,W,H-gY);ctx.fillStyle='#00d2ff';ctx.fillRect(cx,cy,cs,cs);ctx.fillStyle='#ff4757';for(let o of obs){ctx.beginPath();ctx.moveTo(o.x,o.y+o.h);ctx.lineTo(o.x+o.w/2,o.y);ctx.lineTo(o.x+o.w,o.y+o.h);ctx.closePath();ctx.fill()}ctx.fillStyle='white';ctx.font='20px Arial';ctx.fillText('Level: '+level+'/'+maxL,10,30);ctx.fillText('Score: '+passed,10,60);if(over){ctx.fillStyle='red';ctx.font='40px Arial';ctx.fillText('Game Over',W/2-100,H/2);ctx.font='20px Arial';ctx.fillText('Tap to restart',W/2-70,H/2+40)}else if(complete&&level>maxL){ctx.fillStyle='green';ctx.font='40px Arial';ctx.fillText('You Win!',W/2-80,H/2)}}reset();(function loop(){update();draw();requestAnimationFrame(loop)})();c.addEventListener('touchstart',e=>{if(over){level=1;reset()}});</script></body></html>"
const EncodedHtml = base64Encode(HtmlCode)
const DataUri = "data:text/html;base64,{EncodedHtml}"

if EncodedHtml == "" {
	// If (then) has no actions

} else {
	// If (else) has no actions

}
const Text = "{}"
const OpenGame = openURL(Text)
Open in Cherri Playground Decompiled with cherri 2.3.0 (GPL-2.0). May need small fixes before it compiles.

Ratings & Reviews

Write a Review
–
out of 5
★★★★★
★★★★
★★★
★★
★
0 ratings

No reviews yet. Be the first to share what you think!

Advertisement

More by vie_gamdev

See All

You Might Also Like

See All
Advertisement