Description
* This is a "Pen" project. This means the cubes are all drawn using Pen. There are no cube costumes. The cube rolls down the steps. This project uses code that rotates points around the X axis (or Z axis when the cube rolls along the steps). Before rotating the cube, we shift the edge of it has to rotate around to the X or Z axis. We rotate the cube then shift it back so that the edge being rotated around is back in its original position. Rather than letting the cube roll off the stage, we make it roll in the centre while the board moves. After a 180 degree roll, the cube would have shifted a distance equal to the length of one side in two directions. So we move the board the length of one side against each of these directions while the cube rolls 180 degrees. Finally, if the X axis was straight across the screen, the Y axis straight up the screen and the Z axis straight out from the screen then we would only see one face of the cube. The rotation was done with the cubes aligned with the X,Y and Z axes to keep the math "simple", but we then rotate the cube and board before drawing them so that we can see the 3D clearly. 3D Tutorial Studio: https://scratch.mit.edu/studios/5040029/ Polyhedron Studio: https://scratch.mit.edu/studios/5085215/ Pink Panther Theme Tune by Henry Mancini. Huge thanks to @TheLogFather for his Fast Triangle Fill custom block. Animation Tutorial Pen GIF
Instructions
Just watch or press a key to determine the direction for the cube to roll next. Arrow keys - <left>, <right>, <down>, <up> Key <c> - square combo
Project Details
- Visibility
- Visible
- Comments
- Enabled
More Cool Projects
-

Multiverses Combine (40)
by ArrunsTheSpartan
-

II Maker!
by funkopopsarecool
-

Karmatic Time Trio Phase 1 No Longer a Bunch of Slackers Fight
by Reisen_8538
-

Paper Minecraft v11.7 (Minecraft 2D)
by hfewj-jkfd
-

Underfell: Papyrus fight (press i for hp regen)
by noobskin129
-

Windows 9 OLD VERSION
by ItsFrezeyy
-

MsM "Engine" - Proof of Concept (My Singing Monsters)
by _Weegee
-

I Got 10 Fonts! 21 Fonts!
by mathewgeorge231
-

[YearBlocks band 2026-2050] Future
by nikinik2023
-

Pokemon GO! v0.5
by JH-Games
-

Angry birds King Fork Tongue Vector
by Danny-remakes
-

Brink of War
by dnew0275
-

Seiko
by Moonpie2018
-

Talking Tom A Legen, Evil Talking Ben, Talking Duke 2, and Lalaloopsies gets grounded assets
by alekbearminion
-

Animal Hospital Shorts 1 - The mistake
by davi09leo
-

beat up epic face
by legoman3223
-

countdown - numbers game
by ZooZach
-

talking ginger 2
by ninjazwu
-

Genesis Sonic 2 Engine (@griffpatch Platforming Tutorial)
by TTTEfanSQB
-

Abstract 11 test remix remix
by Dejvid2115
-

【爽快パズル】Destroy Bricks
by scp2222
-

【モバイル・キーボード操作対応】東方風弾幕【最強⑨】
by gigirugarudo
-

Lego angry birds level creator
by Danny-remakes
-

FMUJC - Inf+1.1B- Inf+1.9D Jumpscares remix copy
by NewFeo123