In game with multiple endings How to calculate what ending to show? This question its really tricky In a game with two endings (one good and one bad) its easy, but in a game with more than two... I came up with a solution (using excel), I dont know if this is the easiest way to do it or not but here it is: This is based in a game with 4 diferent endings where the player has 4 diferent path (saint, good, evil and total evil) and 4 elections during the game. How I did it: First gave each path a value (from 1 to 4)

Then I gave each ending a value: ending 1:from 1 to 4 (1*4=4) ending 2:from 5 to 8 (2*4=8) ending 3:from 9 to 12 (3*4=12) ending 4:from 13 to 16 (4*4=16) Then I fill the cells with the value of the elections made during the game:

Then I applied the following formula on the result cell: =IF(SUM(B5:E5)<=4;" ending 1";IF(SUM(B5:E5)<=8;" ending 2";IF(SUM(B5:E5)<=12;" ending 3";" ending 4"))) B5:E5=the cells filled with the player´s choosings during the game. and this is the result

You can change this formula to work with more than 4 endings by adding more nested IFs. This may become handy during testings. Kind regards Rayco Santana. Note:You can do it without excel by simply sum the values but with excel you can recalculate the ending any time you need it.
[Edited by - Rayco on May 6, 2010 5:13:48 PM]
We need concept artists for a metrid style 2D side-scroller, If you are interested please contact me at Everebirth@gmail.comThanks!