User Tools

Site Tools


jill:algo:bees

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
jill:algo:bees [2014/08/31 14:29]
emeric Fix error in picture
jill:algo:bees [2014/09/09 12:28]
emeric [Algorithme to move bees :] update moveY
Line 19: Line 19:
 </​code>​ </​code>​
  
-^ c ^ 0-3 ^ 4-10 ^ 11-14 ^ 15-26 ^ 27-30 ^ 31 ^ +^ c ^ 0-3 ^ 4-10 ^ 11-14 ^ 15-26 ^ 27-30 ^ 31 ^ Comment ​
-| moveY | -3 to 3 | -4 to 4 | -3 to 3 | 0 | -1 to 1 | -2 to +| moveY | random(0-3random(0-4random(0-3| 0 | random(0-1random(0-2) | If player is not on same Y, use sign to go to player. If player is on same Y, use sign inverted last yd. 
-| moveX | 1 | 0 | 1 | random(2-4) | random(2-4) | random(2-4) |+| moveX | 1 | 0 | 1 | random(2-4) | random(2-4) | random(2-4) ​|
  
 Now : Now :
 <​code>​ <​code>​
-//iYD// = random(moveY[c])+//iYD// = moveY[c]
 //iXD// = moveX[c] //iXD// = moveX[c]
 </​code>​ </​code>​
jill/algo/bees.txt · Last modified: 2014/09/09 12:28 by emeric