+ 1
Please look at my 60s code!
I cannot get the code to work on a mobile. Itâs got something to do with sound and images not being found. https://code.sololearn.com/W54u7o812TBp/?ref=app
10 Respostas
+ 2
or i must have misunderstood your codename from which i thought it should be written in 60 seconds but the game is called 60s
+ 2
cyk sorryđ forgot about it, deleted my post edit*because of that and because of i understand now how the name is really ment* and hope im not gonna forget it anymore
+ 1
yes, itâs called 60s
+ 1
ThThinka yeah and the image problem is because you used files saved on your pc, so its searching for a folder named images, which i do have, but than you picked a image name which i dont have so my pc wont see it, so its better to use online images or upload your images to a cloud
+ 1
and there is no <audio> or <video> so there is no way there is sound in your code
+ 1
yeah, dropbox should work
and for the audio
https://www.sololearn.com/learn/HTML/2193/
or did i just misunderstood your question again
+ 1
wait how do you want the audio to play
0
I know it is a local file thatâs what iâm asking for. the best way to link to an outside file? dropbox? and, how should i incorporate the <audio>?
0
okay, that is for html, but does it work on javascript
0
when the ball hits something, when the user presses start, and when the user presses a directional button. this code works perfectly on my PC (granted i change the urls for images and audio to local file names). i cant get it to work on a phone or over the web. so it has to be the files. i tried linking to my dropbox but i feel im doing something in the process wrong.