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

#1 2008-02-11 18:36:12

weirdalrules
Scratcher
Registered: 2008-02-01
Posts: 39

Center

There should be a center button for the paint a new sprite or edit thing. Then if you moved the sprite you could recenter it every time you clicked the button.

Offline

 

#2 2008-02-11 23:56:31

Jens
Scratcher
Registered: 2007-06-04
Posts: 1000+

Re: Center

you can just code

[blocks]
<when[ sprite ]clicked>
<go to x sad  0 )y sad  0 [/blocks]

That will move the sprite to the center of the stage whenever you click on it.


Jens Mönig

Offline

 

#3 2008-02-12 01:32:11

Mayhem
Scratcher
Registered: 2007-05-26
Posts: 1000+

Re: Center

I'm guessing he actually means something to move the sprite costume currently being worked on to the centre of the editing screen.

Though I think saving it and reloading it after you have moved the centre of rotation might do that anyway.


Web-spinning Spider:  http://scratch.mit.edu/projects/Mayhem/18456
3D Dungeon Adventure:  http://scratch.mit.edu/projects/Mayhem/23570
Starfighter X: http://scratch.mit.edu/projects/Mayhem/21825
Wandering Knight: http://scratch.mit.edu/projects/Mayhem/28484

Offline

 

#4 2008-02-12 01:50:26

Jens
Scratcher
Registered: 2007-06-04
Posts: 1000+

Re: Center

Oh, ok!

Mayhem wrote:

Though I think saving it and reloading it after you have moved the centre of rotation might do that anyway.

Yes, I think that would be the most effective way to center an image in the editor.


Jens Mönig

Offline

 

#5 2008-02-22 14:05:52

weirdalrules
Scratcher
Registered: 2008-02-01
Posts: 39

Re: Center

Actually I meant the rotation center.

Offline

 

Board footer