Ask coding questions

← Back to all posts
can someone help me make the prices go up and add a song to play while u play the game
objectme12 (45)

i need help adding a song to play and how to make the prices go up

Answered by badst (655) [earned 5 cycles]
View Answer
Comments
hotnewtop
badst (655)
var audio = new Audio("/path/to/file");
audio.play();

To make 'prices' go up simply make a variable and increase the required int value.

objectme12 (45)

@pepelaugh if i invite you to the thing can u show me how so i dont mess it all up lol

Bellfire (1)

My record for clicks per sec is 46960000 and my other record is 1500000000000