
Some code for you to try after unlocking the voodoo file in your game.
Bouncing Ball
I would recommend waiting to try this after unlocking the Voodoo file on your game.
reg = 22; // pick between 2 / 23
int = 3; // pick between 2 / 12
jump to: Downright;
// pick between:
// "Upright"
// "Upleft"
// "Downright"
// "Downleft"
Downright: // move ball down - right
//print "reg: " +reg +"| int: " +int;
check reg > 23; // incase it is in a corner
jump if true: Downleft;
output = reg, int;
draw;
output = reg, int;
draw;
int++;
reg++;
check int > 12;
jump if true: Upright;
check reg > 23;
jump if true: Downleft;
jump if false: Downright;
// ====================================
Downleft: // move ball down - left
// print "reg: " +reg +"| int: " +int;
output = reg, int;
draw;
output = reg, int;
draw;
int++;
reg--;
check int > 12;
jump if true: Upleft;
check reg < 2;
jump if true: Downright;
jump if false: Downleft;
// ====================================
Upright: // move ball up - right
// print "reg: " +reg +"| int: " +int;
check reg > 23; // incase in a corner
jump if true: Upleft;
output = reg, int;
draw;
output = reg, int;
draw;
int--;
reg++;
check int < 2;
jump if true: Downright;
check reg > 23;
jump if true: Upleft;
jump if false: Upright;
// ======================================
Upleft: // move ball up - left
// print "reg: " +reg +"| int: " +int;
output = reg, int;
draw;
output = reg, int;
draw;
int--;
reg--;
check int < 2;
jump if true: Downleft;
check reg < 2;
jump if true: Upright;
jump if false: Upleft;
Be the first to comment