View Single Post
  #9  
Old 12-04-2005, 04:11 AM
Polo Polo is offline
Classic Systems Admin
Join Date: Sep 2002
Location: Vancouver, Canada
Posts: 735
Polo is on a distinguished road
Send a message via AIM to Polo
Quote:
Originally Posted by Lance
isn't quite doing what you think it will.
Either your post is unclear (to me), or you see an alternate interpretation of this statement. To me I only see one interpretation, and a quick check in the editor confirms this behaviour (ie: counting in half steps up to 10, then reseting). The multiplication with 'i' to give it its indexes leads to some nice patternal behaviour (1,3,6,10,15 etc..) on the first loop, and an alternate series of integers on the second loop through.

On the 3rd and 4th loops however, half the values have a .5 offset (and shouldn't be valid image indexes), is this what you are referring to Lance?

Asside:
Note that the above '.5' issue can be fixed by changing the case to <=, as this then ensures that the lengths of both 'counted loops' are both even, and the value will (in this case), always be even. Or change it to < 9.5, and then not only are they both even, but they are also both mulitples of eachother, which has other interesting properties.
__________________
Be good little players, or Master Storm will ban you!



Proof that the staff are crazy..
*Ghost Pirate: I'm a little teacup short and stubbe here is my raygun here is my butt
DragonX: Jumping jack rabbits Batman! Our eggo waffles have been stolen! To the batmobile Robin!
X-Mann (RC): I have a head ache

Last edited by Polo; 12-04-2005 at 04:31 AM..
Reply With Quote