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

#1 2012-09-10 16:50:10

Molybdenum
Scratcher
Registered: 2012-06-17
Posts: 1000+

Array based color sensing.

Convert the screen into a 480*360 array, and let color sensing be on that instead of bitmaps or whatever we have now. Then all color-sensing problems will be fixed, like my games. PPTracks is even more horrible online now.

Last edited by Molybdenum (2012-09-10 18:24:41)


"The Enrichment Center is required to remind you that you will be baked, and then there will be cake."
(|Balls and Platforms: Stay on!|) (|NaOS-H: An operating system... Or is it?|)

Offline

 

#2 2012-09-11 11:58:08

zammer990
Scratcher
Registered: 2012-01-22
Posts: 500+

Re: Array based color sensing.

Generally colour sensing in general is slow or inaccurate, and using it I'd consider bad practice. Using an actual array for sensing, while taking some time, is far more useful. For example I know your game uses a grid snapping system, so you don't need a 480x360 grid, only 480/grid size


http://i45.tinypic.com/2ynq7nn.jpg Play now!

Offline

 

#3 2012-09-11 12:45:29

BirdByte
Scratcher
Registered: 2012-07-07
Posts: 1000+

Re: Array based color sensing.

zammer990 wrote:

Generally colour sensing in general is slow or inaccurate, and using it I'd consider bad practice. Using an actual array for sensing, while taking some time, is far more useful. For example I know your game uses a grid snapping system, so you don't need a 480x360 grid, only 480/grid size

general color sensing
is general


http://i50.tinypic.com/312u714.jpg

Offline

 

#4 2012-09-11 16:28:57

Molybdenum
Scratcher
Registered: 2012-06-17
Posts: 1000+

Re: Array based color sensing.

BirdByte wrote:

zammer990 wrote:

Generally colour sensing in general is slow or inaccurate, and using it I'd consider bad practice. Using an actual array for sensing, while taking some time, is far more useful. For example I know your game uses a grid snapping system, so you don't need a 480x360 grid, only 480/grid size

general color sensing
is general

Is that a meme? Anyway, the reason I want the screen in general to be fixed, it that some 2 pixels are cut off sometimes on PPTracks.


"The Enrichment Center is required to remind you that you will be baked, and then there will be cake."
(|Balls and Platforms: Stay on!|) (|NaOS-H: An operating system... Or is it?|)

Offline

 

#5 2012-09-11 17:02:11

zammer990
Scratcher
Registered: 2012-01-22
Posts: 500+

Re: Array based color sensing.

BirdByte wrote:

zammer990 wrote:

Generally colour sensing in general is slow or inaccurate, and using it I'd consider bad practice. Using an actual array for sensing, while taking some time, is far more useful. For example I know your game uses a grid snapping system, so you don't need a 480x360 grid, only 480/grid size

general color sensing
is general

XD My bad.


http://i45.tinypic.com/2ynq7nn.jpg Play now!

Offline

 

#6 2012-09-11 19:25:35

Molybdenum
Scratcher
Registered: 2012-06-17
Posts: 1000+

Re: Array based color sensing.

zammer990 wrote:

Generally colour sensing in general is slow or inaccurate, and using it I'd consider bad practice. Using an actual array for sensing, while taking some time, is far more useful. For example I know your game uses a grid snapping system, so you don't need a 480x360 grid, only 480/grid size

Also, I actually program in VB every few months when I have an idea that it too awesome for scratch, so I actually know some things about arrays.


"The Enrichment Center is required to remind you that you will be baked, and then there will be cake."
(|Balls and Platforms: Stay on!|) (|NaOS-H: An operating system... Or is it?|)

Offline

 

Board footer