
Here - roll a sheep around! ![]() Sheep Roll - from an original modernist poetic composition by ravenworks. Tumble the fat sheep around and eat the flowers by planting him face down on them. As usual, I'm not really sure what the greater point of this game is yet, but perhaps one will come to me. I can say that I thought that sketching this out would be easy - but once I'd got going, the finer points of sheep-rolling mathematics proved to be a major obstacle! I first had to work out how many different frames of animation I needed, and then spent the evening writing up all the permutations of angles, frames and directions that were needed to allow full movement (I was hoping that a pattern would emerge, but none did). If anyone else wants to do a game involving a dice-like movement like this, perhaps my lookup list would be useful (if I hadn't chosen such a rubbish format for it): Direction of input = (0, 8, 16, 24) for (right, up, left, down) Angle of rotation = Degrees... (0, 90, 180, 270) for (down, right, up, left), due to terrible initial mistake Animation number: 0 = Leaning on right side, 4 = Face towards sky, 8 = Upside down with legs in air, 12 = Face towards ground, 16 = Leaning on left side, 24 = Standing with legs on ground [0,0,0]:000,024 [0,0,4]:090,016 [0,0,8]:000,000 [0,0,12]:270,000 [0,0,16]:000,008 [0,0,24]:000,016 [0,90,0]:180,012 [0,90,4]:090,024 [0,90,8]:090,012 [0,90,16]:000,012 [0,90,12]:270,024 [0,90,24]:270,012 [0,180,0]:180,008 [0,180,4]:090,000 [0,180,8]:180,016 [0,180,12]:270,016 [0,180,16]:180,024 [0,180,24]:180,000 [0,270,0]:000,004 [0,270,4]:090,008 [0,270,8]:090,004 [0,270,12]:270,008 [0,270,16]:180,004 [0,270,24]:270,004 [16,0,0]:000,008 [16,0,4]:270,000 [16,0,8]:000,016 [16,0,12]:090,016 [16,0,16]:000,024 [16,0,24]:000,000 [16,90,0]:180,004 [16,90,4]:270,008 [16,90,8]:270,004 [16,90,12]:090,008 [16,90,16]:000,004 [16,90,24]:090,004 [16,180,0]:180,024 [16,180,4]:270,016 [16,180,8]:180,000 [16,180,12]:090,000 [16,180,16]:180,008 [16,180,24]:180,016 [16,270,0]:000,012 [16,270,4]:270,024 [16,270,8]:270,012 [16,270,12]:090,024 [16,270,16]:180,012 [16,270,24]:090,012 [24,0,0]:090,012 [24,0,4]:000,024 [24,0,8]:000,012 [24,0,12]:180,024 [24,0,16]:270,012 [24,0,24]:180,012 [24,180,0]:270,004 [24,180,4]:000,008 [24,180,8]:000,004 [24,180,16]:090,004 [24,180,12]:180,008 [24,180,24]:180,004 [24,270,0]:270,024 [24,270,4]:000,016 [24,270,8]:270,000 [24,270,12]:180,000 [24,270,16]:270,008 [24,270,24]:270,016 [24,90,0]:090,008 [24,90,4]:000,000 [24,90,8]:090,016 [24,90,12]:180,016 [24,90,16]:090,024 [24,90,24]:090,000 [8,0,0]:090,004 [8,0,4]:180,008 [8,0,8]:180,004 [8,0,16]:270,004 [8,0,12]:000,008 [8,0,24]:000,004 [8,180,0]:270,012 [8,180,4]:180,024 [8,180,8]:180,012 [8,180,12]:000,024 [8,180,16]:090,012 [8,180,24]:000,012 [8,270,0]:270,008 [8,270,4]:180,000 [8,270,8]:270,016 [8,270,12]:000,016 [8,270,16]:270,024 [8,270,24]:270,000 [8,90,0]:090,024 [8,90,4]:180,016 [8,90,8]:090,000 [8,90,12]:000,000 [8,90,16]:090,008 [8,90,24]:090,016 2012-05-31 22:38:00 29 comments |