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
Last revision Both sides next revision
jill:algo:playerdie [2014/02/17 20:53]
127.0.0.1 external edit
jill:algo:playerdie [2014/06/14 15:43]
emeric Add state and substate value
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 19: Line 19:
 ===== Die1 ===== ===== Die1 =====
  
 +When player hit background, //iState// set to 5, //​iSubState//​ set to 1, //iYD// set to -12.
  
 ===== Die2 ===== ===== Die2 =====
Line 24: Line 25:
 {{:​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