Classic Shell
http://www.classicshell.net/forum/

Animated Start Button Pixel Colors
http://www.classicshell.net/forum/viewtopic.php?f=7&t=2902
Page 1 of 1

Author:  Tenzen [ Mon Jun 30, 2014 5:19 pm ]
Post subject:  Animated Start Button Pixel Colors

So.. I have some questions

Pixels 0 & 1 are required and dont change

Pixel 2 just says number of frames in animation and how many rows of information you are using.. i'm sure never more than 1

Pixels 3-5 just name the single frame for each button state

then pixels 6+ describe transitions, and are used in pairs of pixels if a transition is defined, with the first pixel being transition info and the second pixel being the range of frames to animate... and if there is no transition defined, then its left as a single blank.. is that right?

so for example. these frames:

6 & 7 Normal to Hot
8 & 9 Hot to Normal
10 & 11 Normal to Pressed
12 & 13 Pressed to Normal
14 & 15 Hot to Pressed
16 & 17 Pressed to Hot

are ok if they are all defined as transitions...

but if we only define one type of transition, then it would be:

6 Normal to Hot (left blank)
7 Hot to Normal (left blank)
8 & 9 Normal to Pressed
10 & 11 Pressed to Normal
12 Hot to Pressed (left blank)
13 Pressed to Hot (left blank)

is that right?

and I also don't understand "Normal to Pressed"

and how is that animation different from going from normal to hot.. can you explain what the mouse is doing at that time, and how the animations are different?

thanks

Author:  Tenzen [ Mon Jun 30, 2014 5:32 pm ]
Post subject:  Re: Animated Start Button Pixel Colors

Also, for the Hot to Pressed and the Pressed to Hot, it only supports one frame of animation between those two states anyway, and so is the Green value even necessary there, and must it also accompany a "Range" defined in the adjacent Pixel, or can simply one pixel be defined?

for example, in the second example above, pixel 12 is hot to pressed, and pixel 13 is pressed to hot.. if we define those, as a single frame, since no more is possible, do we still need the ranges defined in 13 & 15?, moving to Pressed to Hot to the 14th pixel?

and is Normal to Pressed also only 1 frame? and same with Pressed to Normal?

Author:  Ivo [ Mon Jun 30, 2014 10:48 pm ]
Post subject:  Re: Animated Start Button Pixel Colors

No transitions are supported except between Normal and Hot. If the button is already in the Hot state, clicking with the mouse presses the button, but no frames between the two states can be played. Leave the last 4 transitions as single black pixels.

Author:  Tenzen [ Mon Jun 30, 2014 11:01 pm ]
Post subject:  Re: Animated Start Button Pixel Colors

by that you mean:

6 Normal to Hot - Value Data
7 Normal to Hot - Range
8 Hot to Normal - Value Data
9 Hot to normal - Range
10 Normal to Pressed - 0R, 0G, 0B
11 Pressed to Normal - 0R, 0G, 0B
12 Hot to Pressed - 0R, 0G, 0B
13 Pressed to Hot - 0R, 0G, 0B

right?

I see now the redundancy of adding information to the Hot to Pressed and Pressed to Hot, since its already defined in pixels 4 & 5.. negating any animation or need for frames whatsoever

is there any reason the last 4 pixels can't just be left blank?

Author:  Ivo [ Mon Jun 30, 2014 11:07 pm ]
Post subject:  Re: Animated Start Button Pixel Colors  Topic is solved

While it might work to not have the last 4 pixels, they should be there for completeness. Imagine if a future version of Classic Shell (or some other software) decides to support those transitions. Then if you don't set the data to 0, your start button will become incompatible.

Author:  Tenzen [ Mon Jun 30, 2014 11:38 pm ]
Post subject:  Re: Animated Start Button Pixel Colors

ok, cool , i've updated the tutorial to reflect all this.. thanks

Page 1 of 1 All times are UTC - 8 hours [ DST ]
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/