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

#1 2011-08-30 16:51:35

melikecheese
Scratcher
Registered: 2010-06-09
Posts: 500+

Costume help

I created a costume that was just text and put it at the bottom of the screen like this:
http://i54.tinypic.com/59v71y.png

Then when I pressed OK and played the project, I noticed it was in the wrong place. When I went back to the costume and pressed edit, it looked like this:
http://i53.tinypic.com/zmrh1.png

Every time I try to edit it, it moves back to that position. I've tried moving it to another sprite but it still does that. I've tried closing and opening the project, even re-installing scratch, nothing works :\  If I add something other than text, it stays where it is until the text is moved, then it moves up too.


http://i51.tinypic.com/987rb5.jpg
I am Dave! Yognaught.

Offline

 

#2 2011-08-31 22:29:16

maximanz
Scratcher
Registered: 2011-02-22
Posts: 22

Re: Costume help

Maybe you have a script that makes it go bakc to its original positon or maybe you should make a script thatll make it go to the position you want. If you want it at the center make it  [go to x(0)y(0)] thatll make it go in the middle.


Hi dere

Offline

 

#3 2011-08-31 23:46:39

hmnwilson
Scratcher
Registered: 2007-07-04
Posts: 1000+

Re: Costume help

Well, first of all, notice how there's a scroll bar on the bottom even though it's only at 1x. This means a fairly common glitch happened, causing the sprite to be bigger than the stage. The text tool does that to me a lot. As for why it's moving out of place like that, I'm fairly certain it has to do with the same glitch.

I usually work around this glitch by manually entering newlines, rather than letting the editor do it for me. Try that, and see if it helps.


I'm taking a break from Scratch until 2.0 comes out. Any messages sent between then and now probably won't be read - sorry.
(Oct. 20, 2011)

Offline

 

#4 2011-09-01 04:03:36

melikecheese
Scratcher
Registered: 2010-06-09
Posts: 500+

Re: Costume help

hmnwilson wrote:

Well, first of all, notice how there's a scroll bar on the bottom even though it's only at 1x. This means a fairly common glitch happened, causing the sprite to be bigger than the stage. The text tool does that to me a lot. As for why it's moving out of place like that, I'm fairly certain it has to do with the same glitch.

I usually work around this glitch by manually entering newlines, rather than letting the editor do it for me. Try that, and see if it helps.

It's still doing it :\


maximanz wrote:

Maybe you have a script that makes it go bakc to its original positon or maybe you should make a script thatll make it go to the position you want. If you want it at the center make it  [go to x(0)y(0)] thatll make it go in the middle.

It won't go where I tell it to, it just goes to the same y position (150) every time and I can't see any scripts that tell it to do that.


http://i51.tinypic.com/987rb5.jpg
I am Dave! Yognaught.

Offline

 

#5 2011-09-01 06:38:13

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

Re: Costume help

Try moving the sprite's center up.

Offline

 

#6 2011-09-01 06:39:13

melikecheese
Scratcher
Registered: 2010-06-09
Posts: 500+

Re: Costume help

scimonster wrote:

Try moving the sprite's center up.

Tried it.

Okay, I tried it again and it now goes to the right place when I double click on [go to x(0) y(0)] but if I play the whole script the y position goes to 150. None of the go to blocks have 150 on them.

Last edited by melikecheese (2011-09-01 06:53:50)


http://i51.tinypic.com/987rb5.jpg
I am Dave! Yognaught.

Offline

 

#7 2011-09-01 07:42:35

ricarose
Scratch Team
Registered: 2008-02-12
Posts: 100+

Re: Costume help

melikecheese wrote:

scimonster wrote:

Try moving the sprite's center up.

Tried it.

Okay, I tried it again and it now goes to the right place when I double click on [go to x(0) y(0)] but if I play the whole script the y position goes to 150. None of the go to blocks have 150 on them.

That's strange. Would you mind sharing a link to your project so we can see the code and the sprite?


http://oi48.tinypic.com/2v1q0e9.jpgmg]http://oi44.tinypic.com/a4n4n.jpg[/img]

Offline

 

#8 2011-09-01 08:28:23

melikecheese
Scratcher
Registered: 2010-06-09
Posts: 500+

Re: Costume help


http://i51.tinypic.com/987rb5.jpg
I am Dave! Yognaught.

Offline

 

#9 2011-09-01 08:58:18

ricarose
Scratch Team
Registered: 2008-02-12
Posts: 100+

Re: Costume help

Hi melikecheese -- when does the bug occur in the program? I've played it up to the point where I meet the magician and play the follow me game. The "top left" sprite seems to be staying in the bottom. Or is it another sprite?


http://oi48.tinypic.com/2v1q0e9.jpgmg]http://oi44.tinypic.com/a4n4n.jpg[/img]

Offline

 

#10 2011-09-01 09:06:36

melikecheese
Scratcher
Registered: 2010-06-09
Posts: 500+

Re: Costume help

ricarose wrote:

Hi melikecheese -- when does the bug occur in the program? I've played it up to the point where I meet the magician and play the follow me game. The "top left" sprite seems to be staying in the bottom. Or is it another sprite?

It changes to another sprite (bottom) because I was trying to see if that made a difference, and it happens after the follow me game, on the 6th and 7th text costume that appears. So at the end of the whole project.


http://i51.tinypic.com/987rb5.jpg
I am Dave! Yognaught.

Offline

 

#11 2011-09-01 09:36:04

ricarose
Scratch Team
Registered: 2008-02-12
Posts: 100+

Re: Costume help

melikecheese wrote:

ricarose wrote:

Hi melikecheese -- when does the bug occur in the program? I've played it up to the point where I meet the magician and play the follow me game. The "top left" sprite seems to be staying in the bottom. Or is it another sprite?

It changes to another sprite (bottom) because I was trying to see if that made a difference, and it happens after the follow me game, on the 6th and 7th text costume that appears. So at the end of the whole project.

So strange! I'm seeing what you mean. When the script gets to costume 9, the sprite goes to (0, 150) even though there is a go to xy(0,0) right before it. I'm not sure why it's doing that... In the meantime, I went around it by copying the costume of one of the "working" texts such as costume 8 and and replacing its text with costume9's text and then setting the x,y of the sprite to (-1. 179), which is the location that the sprite goes to on costume 8 -- did that make sense? Does that work?


http://oi48.tinypic.com/2v1q0e9.jpgmg]http://oi44.tinypic.com/a4n4n.jpg[/img]

Offline

 

#12 2011-09-01 09:57:14

melikecheese
Scratcher
Registered: 2010-06-09
Posts: 500+

Re: Costume help

ricarose wrote:

melikecheese wrote:

ricarose wrote:


Hi melikecheese -- when does the bug occur in the program? I've played it up to the point where I meet the magician and play the follow me game. The "top left" sprite seems to be staying in the bottom. Or is it another sprite?

It changes to another sprite (bottom) because I was trying to see if that made a difference, and it happens after the follow me game, on the 6th and 7th text costume that appears. So at the end of the whole project.

So strange! I'm seeing what you mean. When the script gets to costume 9, the sprite goes to (0, 150) even though there is a go to xy(0,0) right before it. I'm not sure why it's doing that... In the meantime, I went around it by copying the costume of one of the "working" texts such as costume 8 and and replacing its text with costume9's text and then setting the x,y of the sprite to (-1. 179), which is the location that the sprite goes to on costume 8 -- did that make sense? Does that work?

Thank you, that seems to be working  big_smile


http://i51.tinypic.com/987rb5.jpg
I am Dave! Yognaught.

Offline

 

#13 2011-09-01 10:27:43

ricarose
Scratch Team
Registered: 2008-02-12
Posts: 100+

Re: Costume help

melikecheese wrote:

ricarose wrote:

melikecheese wrote:


It changes to another sprite (bottom) because I was trying to see if that made a difference, and it happens after the follow me game, on the 6th and 7th text costume that appears. So at the end of the whole project.

So strange! I'm seeing what you mean. When the script gets to costume 9, the sprite goes to (0, 150) even though there is a go to xy(0,0) right before it. I'm not sure why it's doing that... In the meantime, I went around it by copying the costume of one of the "working" texts such as costume 8 and and replacing its text with costume9's text and then setting the x,y of the sprite to (-1. 179), which is the location that the sprite goes to on costume 8 -- did that make sense? Does that work?

Thank you, that seems to be working  big_smile

Awesome! I'm going to ask around here to see if it's a weird quirk in Scratch. I hope you'll be able to submit your final project today. If you need a little more time, just let us know. We understand that a strange bug like this can really take up tons of time!


http://oi48.tinypic.com/2v1q0e9.jpgmg]http://oi44.tinypic.com/a4n4n.jpg[/img]

Offline

 

#14 2011-09-01 17:44:09

melikecheese
Scratcher
Registered: 2010-06-09
Posts: 500+

Re: Costume help

ricarose wrote:

melikecheese wrote:

ricarose wrote:


So strange! I'm seeing what you mean. When the script gets to costume 9, the sprite goes to (0, 150) even though there is a go to xy(0,0) right before it. I'm not sure why it's doing that... In the meantime, I went around it by copying the costume of one of the "working" texts such as costume 8 and and replacing its text with costume9's text and then setting the x,y of the sprite to (-1. 179), which is the location that the sprite goes to on costume 8 -- did that make sense? Does that work?

Thank you, that seems to be working  big_smile

Awesome! I'm going to ask around here to see if it's a weird quirk in Scratch. I hope you'll be able to submit your final project today. If you need a little more time, just let us know. We understand that a strange bug like this can really take up tons of time!

Could we possibly have an extra day? There are a few things we still need to add.


http://i51.tinypic.com/987rb5.jpg
I am Dave! Yognaught.

Offline

 

#15 2011-09-01 19:16:35

rodrigocalix
Scratcher
Registered: 2010-04-05
Posts: 30

Re: Costume help

melikecheese wrote:

I created a costume that was just text and put it at the bottom of the screen like this:
http://i54.tinypic.com/59v71y.png

Then when I pressed OK and played the project, I noticed it was in the wrong place. When I went back to the costume and pressed edit, it looked like this:
http://i53.tinypic.com/zmrh1.png

Every time I try to edit it, it moves back to that position. I've tried moving it to another sprite but it still does that. I've tried closing and opening the project, even re-installing scratch, nothing works :\  If I add something other than text, it stays where it is until the text is moved, then it moves up too.

that usually happen if you draw a dot anywhere and then look at the dot again it is going to be in the center  smile


http://i1124.photobucket.com/albums/l580/rodrigocalix/RCZ4.png

Offline

 

#16 2011-09-01 22:43:50

ricarose
Scratch Team
Registered: 2008-02-12
Posts: 100+

Re: Costume help

melikecheese wrote:

ricarose wrote:

melikecheese wrote:


Thank you, that seems to be working  big_smile

Awesome! I'm going to ask around here to see if it's a weird quirk in Scratch. I hope you'll be able to submit your final project today. If you need a little more time, just let us know. We understand that a strange bug like this can really take up tons of time!

Could we possibly have an extra day? There are a few things we still need to add.

Sure -- please post a link to your project in the Collab Camp gallery when its ready.


http://oi48.tinypic.com/2v1q0e9.jpgmg]http://oi44.tinypic.com/a4n4n.jpg[/img]

Offline

 

#17 2012-06-30 10:30:17

DanTheMan58462
Scratcher
Registered: 2011-12-10
Posts: 5

Re: Costume help

How do you get a costume to stay for say 3 secs, then to change to another. When i use WAIT 3SECS it just doesn't do the action for the 3 secs and changes costume more or less instantly.

Offline

 

#18 2012-11-01 19:43:12

JONATHAN1320
Scratcher
Registered: 2012-05-14
Posts: 30

Re: Costume help

Move The Sprite Middle [Edit Mode]
And Move The Sprite Bottom [At Normal]

Offline

 

Board footer