This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2012-04-11 10:21:08

gamesman12
Scratcher
Registered: 2012-03-13
Posts: 67

serious problem with backgrounds.

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

 

#2 2012-04-11 10:30:18

scimonster
Community Moderator
Registered: 2010-06-13
Posts: 1000+

Re: serious problem with backgrounds.

What project? Could you upload your progress, please? I'll take a look at what's wrong.

Offline

 

#3 2012-04-11 10:35:03

joefarebrother
Scratcher
Registered: 2011-04-08
Posts: 1000+

Re: serious problem with backgrounds.

remember to use the

 switch to background [thisisabackground v] 
in the STAGE ONLY


My latest project is called http://tinyurl.com/d2m8hne! It has http://tinyurl.com/d395ygk views, http://tinyurl.com/cnasmt7 love-its, and http://tinyurl.com/bwjy8xs comments.
http://tinyurl.com/756anbk   http://tinyurl.com/iplaychess

Offline

 

#4 2012-04-11 11:05:44

gamesman12
Scratcher
Registered: 2012-03-13
Posts: 67

Re: serious problem with backgrounds.

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

 

#5 2012-04-11 11:12:22

GurkinC
Scratcher
Registered: 2009-11-30
Posts: 100+

Re: serious problem with backgrounds.

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).


Try my latest game, Rolling 2, a 10-level platform game based around the gravity marble.

Offline

 

#6 2012-04-11 16:40:27

gamesman12
Scratcher
Registered: 2012-03-13
Posts: 67

Re: serious problem with backgrounds.

I am not sure what you mean by that?

Offline

 

#7 2012-04-11 19:08:31

sonicfan12p
Scratcher
Registered: 2011-11-16
Posts: 1000+

Re: serious problem with backgrounds.

Same here. I some times have to same problem.


Why are the secret organizations getting all the attention?  mad

Offline

 

#8 2012-04-11 19:23:23

AtomicBawm3
Scratcher
Registered: 2009-06-27
Posts: 1000+

Re: serious problem with backgrounds.

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.


http://i50.tinypic.com/j0yw0p.jpg

Offline

 

#9 2012-04-12 09:31:34

gamesman12
Scratcher
Registered: 2012-03-13
Posts: 67

Re: serious problem with backgrounds.

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

 

#10 2012-04-13 14:07:04

gamesman12
Scratcher
Registered: 2012-03-13
Posts: 67

Re: serious problem with backgrounds.

does anybody know how i can make the ''level'' variable to show up?

Offline

 

#11 2012-04-16 11:42:43

gamesman12
Scratcher
Registered: 2012-03-13
Posts: 67

Re: serious problem with backgrounds.

gamesman12 wrote:

does anybody know how i can make the ''level'' variable to show up?

Offline

 

#12 2012-04-16 11:58:55

scimonster
Community Moderator
Registered: 2010-06-13
Posts: 1000+

Re: serious problem with backgrounds.

Is it in the wrong place? Try moving the other variables to see if it's there.

Offline

 

#13 2012-04-16 12:03:59

Splodgey
Scratcher
Registered: 2011-04-26
Posts: 500+

Re: serious problem with backgrounds.

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

 

#14 2012-04-16 13:04:06

gamesman12
Scratcher
Registered: 2012-03-13
Posts: 67

Re: serious problem with backgrounds.

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

 

#15 2012-04-16 13:09:44

Splodgey
Scratcher
Registered: 2011-04-26
Posts: 500+

Re: serious problem with backgrounds.

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

 

#16 2012-04-16 13:12:13

gamesman12
Scratcher
Registered: 2012-03-13
Posts: 67

Re: serious problem with backgrounds.

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

 

Board footer