// Cloned by CA400_tst1 on 6 May 2019 from World "Trampoline World" by Alex Murphy
// Please leave this clone trail here.
fullwidth = ABWorld.fullwidth();
fullheight = ABWorld.fullheight();
// Change these images and the sound
let sImage = 'uploads/ca400tst1/snoopy.png';
let pImage = 'uploads/ca400tst1/scooby.png';
let noise = 'uploads/ca400tst1/bounce.wav';
// Tweakers Box - Play with code
////
Samount = 5; ////
sWidth = fullwidth/2; ////
sHeight = fullheight/6; ////
speed = 10; ////
////
////////////////////////////////
/////// IGNORE BELOW ///////////
function preload()
{
spidey = loadImage(sImage);
pokemon = loadImage(pImage);
sound = loadSound(noise);
}
function setup() {
createCanvas(710, 400);
$.getScript ( "uploads/alexmurphy1996/trampoline.js", function() {
if (sound.isLoaded()){
setup();
}
});
}