Code viewer for World: Trampoline World (clone by...

// Cloned by ca400test 1 on 19 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/ca400test1/werewolf.png ';
let pImage = 'uploads/ca400test1/scared.png';
let noise = 'uploads/ca400test1/scary.mp3';

// Tweakers Box - Play with code
                            ////
Samount = 20;                ////
sWidth = fullwidth/4;       ////
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();
            }
        });
}