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

#1 2012-05-01 18:53:52

Firedrake969
Scratcher
Registered: 2011-11-24
Posts: 1000+

Costume center

Does the costume center determine where the sprite is?  I'm asking because i have this script:

forever
   if <(costume #) of plane = (7)>
      go to (plane)
         if <key (space) pressed?>
         end
   end
end


Click the sign.
https://s3.amazonaws.com/eterna/eterna2/logo2.png

Offline

 

#2 2012-05-01 18:57:06

Mokat
Scratcher
Registered: 2011-12-08
Posts: 1000+

Re: Costume center

Not at all. The only real difference is with the pen (and the pen mark comes out of the costume's center.)


http://www.eggcave.com/egg/977371.pnghttp://www.eggcave.com/egg/977376.pnghttp://www.eggcave.com/egg/1005291.pnghttp://www.eggcave.com/egg/996745.png

Offline

 

#3 2012-05-01 19:12:49

jji7skyline
Scratcher
Registered: 2010-03-08
Posts: 1000+

Re: Costume center

Actually, the costume's position is determined by the costume centre, and so it the costumes rotate point.  smile


I don't know why you say goodbye, I say hello!  big_smile

Offline

 

#4 2012-05-01 20:04:26

Harakou
Community Moderator
Registered: 2009-10-11
Posts: 1000+

Re: Costume center

jji7skyline wrote:

Actually, the costume's position is determined by the costume centre, and so it the costumes rotate point.  smile

Yep. When you use a block that moves the sprite to a specific position, such as

go to x:( ) y:( )
it means that the part of that costume defined as its center will be moved to that position.


http://www.blocks.scratchr.org/API.php?action=random&amp;return=image&amp;link1=http://i.imgur.com/OZn2RD3.png&amp;link2=http://i.imgur.com/duzaGTB.png&amp;link3=http://i.imgur.com/CrDGvvZ.png&amp;link4=http://i.imgur.com/POEpQyZ.png&amp;link5=http://i.imgur.com/ZKJF8ac.png

Offline

 

#5 2012-05-01 20:07:39

jji7skyline
Scratcher
Registered: 2010-03-08
Posts: 1000+

Re: Costume center

Harakou wrote:

jji7skyline wrote:

Actually, the costume's position is determined by the costume centre, and so it the costumes rotate point.  smile

Yep. When you use a block that moves the sprite to a specific position, such as

go to x:( ) y:( )
it means that the part of that costume defined as its center will be moved to that position.

Exactly, and when the costume rotates, the costume will rotate around the costume centre.

Anyway, why are you saying center instead of centre when you're british Hara?


I don't know why you say goodbye, I say hello!  big_smile

Offline

 

#6 2012-05-01 21:00:01

Harakou
Community Moderator
Registered: 2009-10-11
Posts: 1000+

Re: Costume center

jji7skyline wrote:

Harakou wrote:

jji7skyline wrote:

Actually, the costume's position is determined by the costume centre, and so it the costumes rotate point.  smile

Yep. When you use a block that moves the sprite to a specific position, such as

go to x:( ) y:( )
it means that the part of that costume defined as its center will be moved to that position.

Exactly, and when the costume rotates, the costume will rotate around the costume centre.

Anyway, why are you saying center instead of centre when you're british Hara?

TIL that I'm British.


http://www.blocks.scratchr.org/API.php?action=random&amp;return=image&amp;link1=http://i.imgur.com/OZn2RD3.png&amp;link2=http://i.imgur.com/duzaGTB.png&amp;link3=http://i.imgur.com/CrDGvvZ.png&amp;link4=http://i.imgur.com/POEpQyZ.png&amp;link5=http://i.imgur.com/ZKJF8ac.png

Offline

 

#7 2012-05-01 21:08:36

jji7skyline
Scratcher
Registered: 2010-03-08
Posts: 1000+

Re: Costume center

Harakou wrote:

jji7skyline wrote:

Harakou wrote:

Yep. When you use a block that moves the sprite to a specific position, such as

go to x:( ) y:( )
it means that the part of that costume defined as its center will be moved to that position.

Exactly, and when the costume rotates, the costume will rotate around the costume centre.

Anyway, why are you saying center instead of centre when you're british Hara?

TIL that I'm British.

Huh? What?

EDIT: Oh, wait, you're American? How come I always thought you were British? xD

Last edited by jji7skyline (2012-05-01 21:09:24)


I don't know why you say goodbye, I say hello!  big_smile

Offline

 

#8 2012-05-01 21:19:10

Harakou
Community Moderator
Registered: 2009-10-11
Posts: 1000+

Re: Costume center

jji7skyline wrote:

Harakou wrote:

jji7skyline wrote:

Exactly, and when the costume rotates, the costume will rotate around the costume centre.

Anyway, why are you saying center instead of centre when you're british Hara?

TIL that I'm British.

Huh? What?

EDIT: Oh, wait, you're American? How come I always thought you were British? xD

I have no idea.  lol


http://www.blocks.scratchr.org/API.php?action=random&amp;return=image&amp;link1=http://i.imgur.com/OZn2RD3.png&amp;link2=http://i.imgur.com/duzaGTB.png&amp;link3=http://i.imgur.com/CrDGvvZ.png&amp;link4=http://i.imgur.com/POEpQyZ.png&amp;link5=http://i.imgur.com/ZKJF8ac.png

Offline

 

#9 2012-05-01 21:22:48

stevetheipad
Scratcher
Registered: 2011-08-06
Posts: 1000+

Re: Costume center

Harakou wrote:

jji7skyline wrote:

Harakou wrote:


TIL that I'm British.

Huh? What?

EDIT: Oh, wait, you're American? How come I always thought you were British? xD

I have no idea.  lol

I have this image of what I think all the mods and Scratch Team look like.  tongue


http://i.imgur.com/0x8ia.jpg
gone

Offline

 

#10 2012-05-01 21:28:55

jji7skyline
Scratcher
Registered: 2010-03-08
Posts: 1000+

Re: Costume center

stevetheipad wrote:

Harakou wrote:

jji7skyline wrote:


Huh? What?

EDIT: Oh, wait, you're American? How come I always thought you were British? xD

I have no idea.  lol

I have this image of what I think all the mods and Scratch Team look like.  tongue

I think it's a natural thing to do. I do it too, and with other Scratchers too xD


I don't know why you say goodbye, I say hello!  big_smile

Offline

 

#11 2012-05-02 06:28:33

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

Re: Costume center

Wow, this drifted pretty far offtopic.

Offline

 

#12 2012-05-02 18:17:35

jji7skyline
Scratcher
Registered: 2010-03-08
Posts: 1000+

Re: Costume center

scimonster wrote:

Wow, this drifted pretty far offtopic.

Sorry!  tongue


I don't know why you say goodbye, I say hello!  big_smile

Offline

 

#13 2012-05-02 18:29:12

Firedrake969
Scratcher
Registered: 2011-11-24
Posts: 1000+

Re: Costume center

Thanks, scimonster.

Anyways, if a sprite does to another sprite, will their centers line up?  That's what I need to know.


Click the sign.
https://s3.amazonaws.com/eterna/eterna2/logo2.png

Offline

 

#14 2012-05-02 19:26:03

ManaUser
Scratcher
Registered: 2009-03-11
Posts: 100+

Re: Costume center

Firedrake969 wrote:

Thanks, scimonster.

Anyways, if a sprite does to another sprite, will their centers line up?  That's what I need to know.

Yes. (Just tested.)


http://i.imgur.com/SPYSM.gif http://i.imgur.com/t9k1Z.gif http://i.imgur.com/OwYVa.gif http://i.imgur.com/0qlZq.gif

Offline

 

#15 2012-05-02 19:32:39

Firedrake969
Scratcher
Registered: 2011-11-24
Posts: 1000+

Re: Costume center

ManaUser wrote:

Firedrake969 wrote:

Thanks, scimonster.

Anyways, if a sprite does to another sprite, will their centers line up?  That's what I need to know.

Yes. (Just tested.)

Thanks.  So did I... quite coincidental.  Anyways, I know what i needed to!


Click the sign.
https://s3.amazonaws.com/eterna/eterna2/logo2.png

Offline

 

Board footer