// 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/alexmurphy1996/spiderman.png';
let pImage = 'uploads/alexmurphy1996/charmander.png';
let noise = 'uploads/alexmurphy1996/trampoline.mp3';
// Tweakers Box - Play with code
////
Samount = 1; ////
sWidth = fullwidth/8; ////
sHeight = fullheight/3.5; ////
speed = 8; ////
////
////////////////////////////////
/////// 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();
}
});
}