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

#1 2012-08-13 23:02:14

ImagineIt
Scratcher
Registered: 2011-02-28
Posts: 1000+

Wrong Costume?

On my new project Eternal Orbs(Not finished) I have a weird glitch that I don't get. In flash, and presentation mode, it shows the wrong costume. I'm not sure about java, but in editing mode, it flashes between the two. It does this in the sign sprite once you get to background number six. Can someone please help fix this?
http://scratch.mit.edu/projects/ImagineIt/2728284

Offline

 

#2 2012-08-13 23:45:48

CheeseMunchy
Scratcher
Registered: 2008-10-13
Posts: 1000+

Re: Wrong Costume?

In the sign sprite:

if < (touching sign?) = [1] >
switch to costume [costume1 v]
set [ghost v] effect to [50]
show
else
hide
end
The problem is:
switch to costume [costume1 v]


6418,

Offline

 

#3 2012-08-14 10:08:35

ImagineIt
Scratcher
Registered: 2011-02-28
Posts: 1000+

Re: Wrong Costume?

I thought I put a variable in there. Weird. I'll go look at it.

Offline

 

#4 2012-08-14 10:09:41

ImagineIt
Scratcher
Registered: 2011-02-28
Posts: 1000+

Re: Wrong Costume?

Argh! I go to the first, it says the second ones message. I change it to say it's own message, MANUALLY, then go to the second sign and it says the right one. Then,  I head back, and the sign says the second one's text. Why isn't this working?

Last edited by ImagineIt (2012-08-14 10:11:27)

Offline

 

#5 2012-08-14 10:20:06

CheeseMunchy
Scratcher
Registered: 2008-10-13
Posts: 1000+

Re: Wrong Costume?

ImagineIt wrote:

I thought I put a variable in there. Weird. I'll go look at it.

Did you delete the "switch the costume [costume1 v]" block? That's the only problem I found. Just delete it and it should work fine.


6418,

Offline

 

#6 2012-08-14 10:21:23

ImagineIt
Scratcher
Registered: 2011-02-28
Posts: 1000+

Re: Wrong Costume?

I did.

Offline

 

#7 2012-08-14 10:45:58

CheeseMunchy
Scratcher
Registered: 2008-10-13
Posts: 1000+

Re: Wrong Costume?

Ok, so you have to make the "switch to costume (SignText#)" above the if else into:

switch to costume <([costume] join []) + (SignText#)>
Because for some odd reason just putting a [costume] join (SignText#) won't work.
Hopefully that'll do it.

Last edited by CheeseMunchy (2012-08-14 10:46:33)


6418,

Offline

 

#8 2012-08-14 10:52:00

ImagineIt
Scratcher
Registered: 2011-02-28
Posts: 1000+

Re: Wrong Costume?

What is up with scratch?

Offline

 

#9 2012-08-14 10:58:40

ImagineIt
Scratcher
Registered: 2011-02-28
Posts: 1000+

Re: Wrong Costume?

I even tried adding this instead of just "switch to costume"

if < (SignText#) = [1] >
 switch to costume [costume1 v]
else
 if < (SignText# )= [2] >
  switch to costume [costume2 v]
 end
end

Last edited by ImagineIt (2012-08-14 10:59:24)

Offline

 

#10 2012-08-14 11:19:38

ImagineIt
Scratcher
Registered: 2011-02-28
Posts: 1000+

Re: Wrong Costume?

This works online, but I guess I'll just tell everyone to use it online. I was going to anyways.  tongue

Offline

 

#11 2012-08-14 15:24:54

CheeseMunchy
Scratcher
Registered: 2008-10-13
Posts: 1000+

Re: Wrong Costume?

ImagineIt wrote:

This works online, but I guess I'll just tell everyone to use it online. I was going to anyways.  tongue

It's working offline for me...


6418,

Offline

 

Board footer