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

#1 2012-10-07 02:47:05

Shadowed1
Scratcher
Registered: 2010-01-19
Posts: 100+

Glitch with sprite ordering

I made a project recently, where you have to 'run' with CPUs in a race.
I made standings to appear after the race so that you could see the results of the race and I noticed that the sprites of CPU's that were near the end of the sprite list mostly come in the bottom 3 places and the sprites of the CPU's that were near the top of the sprite list mostly came near the top.

C+P from description:

"One thing I noticed with the standings is that Blue, Purple and Pink are 10x more likely to get in the bottom 3 places and Red, Blue and Green are 10x more likely to get in the top 4 places, regardless of where they actually finish.

This is because of the order in which I put the sprites in the main box. Scratch checks each sprite down the list, left to right. That is why Pink (the last sprite on the list) will always come last unless it beats the others by a considerable amount. There is no way to fix this, sorry. They should fix that in 2.0, but that's my wishful thinking  big_smile "

Project if you want to verify this: http://scratch.mit.edu/projects/Shadowed1/2820607


*Insert some witty, funny or sarcastic comment here*

Offline

 

#2 2012-10-07 07:48:11

chongyian
Scratcher
Registered: 2012-05-08
Posts: 1000+

Re: Glitch with sprite ordering

eh... screenshot pls?

Offline

 

#3 2012-10-07 10:02:11

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

Re: Glitch with sprite ordering

Shadowed1 wrote:

Scratch checks each sprite down the list, left to right. That is why Pink (the last sprite on the list) will always come last unless it beats the others by a considerable amount. There is no way to fix this, sorry. They should fix that in 2.0, but that's my wishful thinking  big_smile "

No it doesn't. Sprites are ordered by most recently dragged.


"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