Re: A89: Pallet Shifting Routine


[Prev][Next][Index][Thread]

Re: A89: Pallet Shifting Routine



 
Here is something that might make my "plane" shifting idea look plosible.
There would be more than 1 plane to represent the 1/3rd time... some of these 1/3rd planes could be used as a 2/3rd plane in another alternating set (to what effect I donno yet)
 
This would be a modification of the 8 gray routine. it would "trill" (music term) between some of it's planes instead of going through all of them in order.  Flickering could potentially be as little as in the 4 gray routine It would take more cputime to move a sprite although clipping and displacement would only have to be calculated once...
 
    |______________(A)_________________
    |                                 |
    |_________(B)_________            |
    |                     |           |
    |--------(C)|         |           | 
2/3         1/3         1/3        1/3
________    _________   _________   _________                    
| x |   |   | x |   |   | x |   |   | x |   |
---------   ---------   ---------   --------- 
| x | x |   |  | x |   | x | x |   | x |   |
---------   ---------   ---------   ---------  
|  |   |   | x |   |   |  |   |   |  |   |
---------   ---------   ---------   ---------  
|  |   |   | x |   |   | x |   |   | x |   |
---------   ---------   ---------   ---------  
|   |   |   |   |   |   |   | x |   | x |   |
---------   ---------   ---------   ---------   
              (2/3)
                 |_____(D?)___|
                 |                      |
                 |_________(E?)__________|
                                       
 
    (A)        (B)         (C)             (D)      
________    _________   _________        _________                    
| B | W |   | B | W |   | B | W |        | B | W |
---------   ---------   ---------       --------- 
| D | B |   | B | B |   | B | D |        | L | B |
---------   ---------   ---------        ---------  
| W |   |   | L |   |   | W |   |        | D | W |
---------   ---------   ---------        ---------  
| L |   |   | L |   |   | L |   |        | B | W |
---------   ---------   ---------        ---------  
| W |   |   | W |   |   | L |   |        | W | L |
---------   ---------   ---------       ---------   
  
 
A game could ask the gray routine to to change the number of trills it does to change how long between "plane pallet" shifts.  The application should also beable to tell the grey routine to change modes... maybe by changing a flag.
 
I would think that this would be an easy change to the grey routine, however I am not familiar with it.  I am thinking that it
 
Anybody willing to try making it?
 
Aaron Peterson
happy_cobbler@bigfoot.com

References: