This is my game...
Please can someone help.
When you enter a name and play the game, the background doesnt change and i dont know why?
Offline
What project? Could you upload your progress, please? I'll take a look at what's wrong.
Offline
remember to use the
switch to background [thisisabackground v]in the STAGE ONLY
Offline
http://scratch.mit.edu/projects/gamesman12/2421546
sorry i thought that i posted the link but it seems i didnt...
Well thanks for the help. I think i have fixed it now (I Hope).
I had the background as a sprite instead of the actual background so i changed it all over and i think it works now....i think?
Not sure if i should make a new topic about this but i am not going to.
If you look at my project there should be 2 variables always showing that show the score and the current level. The problem is when you got to enter a new player or go to the level selct screen the variables are set to hide. This is fine but when you go back onto the main game the variables show but dont stay in the same place as before they hid, also the change back to a normal variable instead of what i set them to????
sorry if this is confusing???
Offline
gamesman12 wrote:
If you look at my project there should be 2 variables always showing that show the score and the current level. The problem is when you got to enter a new player or go to the level selct screen the variables are set to hide. This is fine but when you go back onto the main game the variables show but dont stay in the same place as before they hid, also the change back to a normal variable instead of what i set them to????
I don`t think there is a solution to this (correct me if I`m wrong, I haven`t been on scratch for a while) apart from uploading the project again, with the variables showing (you can then set them to hide again when the flag is clicked).
Offline
I am not sure what you mean by that?
Offline
Same here. I some times have to same problem.
Offline
The problem with the variables is due to where they are when the project is saved. If you save/upload your project when the variables are hidden, they will resort to they're preset style and position. You must save the project while they are in the form you want with them showing...it doesn't matter if they're not supposed to be showing at the beginning, hide them with scripts then, not manually.
Offline
Thankyou.
I managed to get the score variable to show. But If you look at my game you will notice that for some reason the level variable doesnt show aswell??? I am not sure why as the score variable works fine?
Offline
does anybody know how i can make the ''level'' variable to show up?
Offline
gamesman12 wrote:
does anybody know how i can make the ''level'' variable to show up?
Offline
Is it in the wrong place? Try moving the other variables to see if it's there.
Offline
gamesman12 wrote:
does anybody know how i can make the ''level'' variable to show up?
If you have a sprite that might go in front of the variable, use:
wait (0) secs //change the 0 if it is still not working show variable [level v]When a variable is shown, it automatically goes to the front layer, so it is on top of all other variables and sprites, but if there is a sprite that uses "go to front" that will end up in front of the variable. If this happens, just hide then show the variable.
Offline
Well the variable shows up in edit mode and presentation mode but when I uploaded the project it didn't show up. I would try your suggestion but if I upload the project again to test if it has been fixed that will mean uploading the unfinished level 4 aswell and I dont want to do that because to be honest level 4 is not very good at the moment XD.
I will try your idea later thanks.
Offline
gamesman12 wrote:
Well the variable shows up in edit mode and presentation mode but when I uploaded the project it didn't show up. I would try your suggestion but if I upload the project again to test if it has been fixed that will mean uploading the unfinished level 4 aswell and I dont want to do that because to be honest level 4 is not very good at the moment XD.
I will try your idea later thanks.
The reason why it only broke online was probably because of the speeds of the players, flash player is about 2500* faster than offline, and java is roughly 0.75* faster.
Offline
WOW is that why bugs that have never appeared when i test it offline appeared when I upload it then? I always wondered why that happened thanks.
Offline