I followed the tutorials but still more two copies of images are shown when clicked on the cards.
And it is not working also... I mean no cards are displayed when index.html is opened.
And it is not working also... I mean no cards are displayed when index.html is opened.
A few separate problems there.
1. You are missing a line - after line 15 in cards.js you want
cards[choice].type = original;
2. You have added two scripts to the scene assets, one named cards and one named cards.js. There is no file named just cards, you want to remove that script from the scene
3. You cannot just click index.html to open the project - most browsers will block the execution of scripts on your local hard drive for security reasons. You need to host your file somewhere, e.g. a local (or remote) server. Please see this quick guide.
yes i agree with gio...you are missing the same..
thank you....
Hello
We'll be scrutinising what each of these error messages really means, examining all the possible reasons.
_____________________________