Hello,
I've just shared my Scratch project but something is wrong. the project implements the famous Space Invaders game and contains eight sprites that move around the screen. When the project is loaded in the web page only two of the sprites are shown while the rest are barely visible somewhere in the middle of the screen. This spoils the whole game, of course.
This only happens in the online version of the project. When downloaded, the project works fine (locally).
Any explanation?
Is this some kind of the website's policy?
Thank you very much in advance,
Dimitris
Offline
Offline
The online player isn't that great, especially with large projects with lots of Sprites...
The best solution would probably be to leave a note somewhere like the project notes letting other users know that it works better if you download it
.
Offline
06dknibbs wrote:
The online player isn't that great, especially with large projects with lots of Sprites...
The best solution would probably be to leave a note somewhere like the project notes letting other users know that it works better if you download it.
I've already done that.
I will give it a try with some wait blocks during initialization and see...
Meanwhile, if anyone else has any other idea, please let me know.
Offline
dpant wrote:
06dknibbs wrote:
The online player isn't that great, especially with large projects with lots of Sprites...
The best solution would probably be to leave a note somewhere like the project notes letting other users know that it works better if you download it.
I've already done that.
I will give it a try with some wait blocks during initialization and see...
Meanwhile, if anyone else has any other idea, please let me know.
I looked at the code behind your project - try using seperate variables instead of lists for changing X/Y position. I think it's happening because the online player is trying to get too many bits of info out of the same list at the same time, so it gets confused
Offline
Wolfie1996 wrote:
dpant wrote:
06dknibbs wrote:
The online player isn't that great, especially with large projects with lots of Sprites...
The best solution would probably be to leave a note somewhere like the project notes letting other users know that it works better if you download it.
I've already done that.
I will give it a try with some wait blocks during initialization and see...
Meanwhile, if anyone else has any other idea, please let me know.I looked at the code behind your project - try using seperate variables instead of lists for changing X/Y position. I think it's happening because the online player is trying to get too many bits of info out of the same list at the same time, so it gets confused
![]()
Thank you very much, I'll give it a try.
Offline
The online player has a lot of glitches that make it differ from the offline player. You might want to check out Paddle2See's post on the differences between online mode and offline mode and make sure everything is okay with your project.
Also, if you're using lists, trying to access items outside of the list (for example, item 15 of a 10-item list) can cause an error and stop the project.
Aside from that, I don't have any other ideas on how to help you, sorry
Offline
Thank you very much for your replies. The problem was with the lists and the variables initialization, in general.
I've fixed everything and now the game is ready to play online: http://scratch.mit.edu/projects/dpant/1105250
Thanks.
Offline