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

#1 2012-07-04 15:45:19

coolhogs
Scratcher
Registered: 2011-07-26
Posts: 1000+

How big is x-y positions in pixels?

How big?


Get ready for domination of:  tongue

Offline

 

#2 2012-07-04 16:00:35

SciTecCf
Scratcher
Registered: 2011-11-23
Posts: 1000+

Re: How big is x-y positions in pixels?

x=480 y=360  wink


http://bit.ly/LCZEJRhttp://bit.ly/LSONcOhttp://bit.ly/LF3vIc
http://trinary.site40.net/images/scratchrank.php?username=SciTecCf&display=small

Offline

 

#3 2012-07-04 16:08:58

berberberber
Scratcher
Registered: 2012-03-08
Posts: 1000+

Re: How big is x-y positions in pixels?

1 pixel.


http://i47.tinypic.com/2iaa73k.png

Offline

 

#4 2012-07-04 16:15:32

coolhogs
Scratcher
Registered: 2011-07-26
Posts: 1000+

Re: How big is x-y positions in pixels?

SciTecCf wrote:

x=480 y=360  wink

No, if I were to draw a square 2 x, and 2 y, what's the number of pixels in that square?


Get ready for domination of:  tongue

Offline

 

#5 2012-07-04 16:23:42

Wes64
Scratcher
Registered: 2011-08-19
Posts: 1000+

Re: How big is x-y positions in pixels?

If you drew a 2x2 pixel square, the area is 4 pixels.


Experienced 2.0 Tester: Ask me questions!
Using Firefox 13.0, Flash plugin version 11.4.402.287, and Windows XP Professional.

Offline

 

#6 2012-07-04 16:31:25

SciTecCf
Scratcher
Registered: 2011-11-23
Posts: 1000+

Re: How big is x-y positions in pixels?

Just multiply the height and the width. It's like, 2nd grade stuff.


http://bit.ly/LCZEJRhttp://bit.ly/LSONcOhttp://bit.ly/LF3vIc
http://trinary.site40.net/images/scratchrank.php?username=SciTecCf&display=small

Offline

 

#7 2012-07-04 18:41:07

Chrischb
Scratcher
Registered: 2008-07-24
Posts: 1000+

Re: How big is x-y positions in pixels?

SciTecCf wrote:

Just multiply the height and the width. It's like, 2nd grade stuff.

I think he wanted to know pixels per x/y position and was just giving an example there. xP
.................................
Each pixel covers 1 x/y plot, so if you told a sprite to change x by say, 50, it would move 50 pixels.

Last edited by Chrischb (2012-07-04 18:41:50)


I fall: It's a tragedy. You fall: It's comedy.
Hmph enjoy your fall - I get a lovely spring... without pans of new leaves.

Offline

 

#8 2012-07-04 19:53:13

coolhogs
Scratcher
Registered: 2011-07-26
Posts: 1000+

Re: How big is x-y positions in pixels?

Chrischb wrote:

SciTecCf wrote:

Just multiply the height and the width. It's like, 2nd grade stuff.

I think he wanted to know pixels per x/y position and was just giving an example there. xP
.................................
Each pixel covers 1 x/y plot, so if you told a sprite to change x by say, 50, it would move 50 pixels.

Yes, that's what I was saying...


Get ready for domination of:  tongue

Offline

 

#9 2012-07-05 03:58:54

LS97
Scratcher
Registered: 2009-06-14
Posts: 1000+

Re: How big is x-y positions in pixels?

Beware of fullscreen and online flash player though  wink

Offline presentation mode multiplies X and Y by 2 in pixels, and flash player fullscreen is variable.

Offline

 

Board footer