So I finished the pin ball game, and it kept score and had levels, but when the game was over, it just started a new game. I figured it would be neat to create an add-in that extended the pin ball game and kept track of high scores.
I followed the same procedure as before to create an entirely separate project called SoapBox.Demo.HighScores. I created a new Pad called HighScores that inherits from SoapBox.Core.AbstractPad. It takes care of loading, displaying, and saving the high scores. Then, I had to write an IExecutableCommand extension that hooked into the GameOverCommands extensibility point on the pin ball game:

No comments:
Post a Comment