User Tools

Site Tools


jill:algo:playerdie

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:playerdie [2014/02/17 20:53]
127.0.0.1 external edit
jill:algo:playerdie [2014/06/16 17:04]
emeric Add die1 (water/lava)
Line 1: Line 1:
 ====== How player die ? ====== ====== How player die ? ======
  
-Two background kill player : water (die1) and other SPIKE, STALACBR... (die2).\\+Two background kill player : water, lava (die1) and other SPIKE, STALACBR... (die2).\\
 Ennemy kill also player (die0). Ennemy kill also player (die0).
  
Line 8: Line 8:
 {{:​jill:​algo:​die0.png?​nolink|}} {{:​jill:​algo:​die0.png?​nolink|}}
  
-When ennemy kill player, //iYD// set to -12 and //iInfo1// set to 1.\\+When ennemy kill player, //iState// set to 5, //​iSubState//​ set to 0, //iYD// set to -12 and //iInfo1// set to 1.\\
 At each cycle, //​iStateCount//​ increase to know picture to displayed.\\ At each cycle, //​iStateCount//​ increase to know picture to displayed.\\
 ^iStateCount value^Picture^ ^iStateCount value^Picture^
Line 17: Line 17:
 | 16 ->19 | 8/52 | | 16 ->19 | 8/52 |
 | 20 | //restart game// | | 20 | //restart game// |
 +
 ===== Die1 ===== ===== Die1 =====
  
 +{{:​jill:​algo:​die1.png?​nolink|}}
 +
 +When player hit background, //iState// set to 5, //​iSubState//​ set to 1, //iYD// set to -12.\\
 +At each cycle, //​iStateCount//​ increase to know picture to displayed.\\
 +^iStateCount value^Picture^Comment^
 +| 0     | 8/66 | //If background is laval, Hit fire object (37) is create//|
 +| 1 ->3 | 8/64 ||
 +| 4 ->7 | 8/65 ||
 +| 8 ->11 | 8/66 ||
 +| 12 ->15 | 8/67 ||
 +| 16 ->19 | 8/68 ||
 +| 20 | | //restart game// |
  
 ===== Die2 ===== ===== Die2 =====
Line 24: Line 37:
 {{:​jill:​algo:​die2-1.png?​nolink|}} {{:​jill:​algo:​die2-1.png?​nolink|}}
  
-When player hit background, //iYD// set to -10, //iInfo1// set to 1 and player bottom set to background kill bottom.+When player hit background, //iState// set to 5, //​iSubState//​ set to 2, //iYD// set to -10, //iInfo1// set to 1 and player bottom set to background kill bottom.
  
 {{:​jill:​algo:​die2-2.png?​nolink|}} {{:​jill:​algo:​die2-2.png?​nolink|}}
jill/algo/playerdie.txt ยท Last modified: 2014/06/16 17:04 by emeric