Keep guards after they fall offscreen

Open-source port of PoP that runs natively on Windows, Linux, etc.
David
The Prince of Persia
The Prince of Persia
Posts: 2846
Joined: December 11th, 2008, 9:48 pm
Location: Hungary

Re: Keep guards after they fall offscreen

Post by David »

dmitry_s wrote: May 22nd, 2022, 4:25 am Prince of Persia 2 does has a few more tricks. [...] And once you have over 2 guards in a room stabbed guards start to randomly fall out of the screen so they do not have to be tracked while falling.
Hmm, I didn't know this depends on the number of guards in the room!
dmitry_s
Developer
Developer
Posts: 148
Joined: July 27th, 2021, 7:22 am

Re: Keep guards after they fall offscreen

Post by dmitry_s »

Here is what Jordan Mechner wrote about it in the PoP2 document.

"When you kill a guard, the program makes a determination as to whether the guard should fall dead or fall off the edge. The first guard on the screen will almost always drop dead... Subsequent guards will have about 50% of dropping dead. When there are two dead guards on screen, the chance of dropping dead will drop to 25%; when there are three dead guards, to zero."

I am not sure the actual implementation follows those rules exactly as stated (you can have more than 3 dead guards) but it definitely is affected by the number of dead guards.
Post Reply