|
|
Code Examples I've written some code examples for SLUDGE.
This code will make message boxes like from most Sierra games. You use it pretty much like the say function. I wrote this code initially but then it had an odd bug so Tim rewrote it. So it's not really mine anymore, but I did include my buggy version for nostalgic reasons.
This script shows an example of a click and hold pop up. This could be good for verb coins and what have you. When you click for a short time, but when you hold the button down, Paddy will pop up and greet you with a hearty "Dia Dhuit!" There used to be a bug in this script that would allow Paddy to pop up too often. I found out that it was because the timer number (4) was much to low. I changed it to 15 and now Paddy only pops up when he's supposed to. |