Commit 5be5083d authored by Michael Weber's avatar Michael Weber
Browse files

Add some images and sounds

parent 95b6d21e
const images = [];
images.push(new ImageSound("left.png", "left.mp3", 15, 5));
images.push(new ImageSound("right.png", "right.mp3", 15, 25));
images.push(new ImageSound("stop.jpg", "stop.mp3", 5, 15));
images.push(new ImageSound("jump.png", "look around.mp3", 25, 15));
images.push(new ImageSound("lookaround.png", "t-rex-roar.mp3", 50, 20, 10, 20));
images.push(new ImageSound("forward.png", "forward.mp3", 5, 15));
images.push(new ImageSound("backwards.png", "backwards.mp3", 25, 15));
images.push(new ImageSound("stop.jpg", "stop.mp3", 5, 40));
images.push(new ImageSound("jump.png", "jump.mp3", 15, 40));
images.push(new ImageSound("lookaround.png", "look around.mp3", 25, 40, 5, 10));
const touchScreen = document.getElementById("touchScreen");
images.forEach(image => {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment