Some Code


Some of the scripting that went into the game:




This bit is essentially about figuring out how to respond to a player's mousepress. Check if the player has pressed on anything valid, note the type of item that was pressed on, respond accordingly.



When pressing a key, the script increases the number of keys the player has, records the specific door that key opens, activates some spooky wall text, plays a collection sound, and finally removes the key from play.

In general, this wasn't a terribly script-heavy project, but it didn't need to be. We knew fairly early on what the game would play like and what mechanics it would contain. The current form of it contains every function we planned on including at the beginning. The primary focuses of this prototype were the design, atmosphere, and narrative.

Get Attack of the Murder Monster

Download NowName your own price

Leave a comment

Log in with itch.io to leave a comment.