"of undefined" always means that the engine referenced a data object that does not exist.
usually that is not something that has anything to do with the deployment, but is an internal error of a developer mistake.
The only way I can think of how a deployment gets this when the project itself is OK would be if either you're using file- or foldernames that break networking conventions (like no space anywhere in any file- or foldername), or if the webhoster tried to manage the files in a strange way and placed those files wrong.
Many thanks for your interest! Unfortunately being a beginner I don't know what it could be. is it possible to take a screenshot of the console to understand the error? or a screen of the folders? Thanks again
yes, if it is played in a browser the developer console is a regular tool available through the browser menu. where exactly the command is placed depends on the browser, often under something called developer tools or so.
screenshots of the folders are less likely to help, please give the console screenshot first.
and make sure to get the console, in several browsers the developer tools open on the elements tab first, with the console being the second tab.
Actually the sprites I used were the default ones from the demo, I never changed anything. I don't know exactly what the mistake is because checking the names is all correct.
I already mentioned one possibility being an upload error, and that seems more likely with your last post.