Hi guys, I added a "random fact" area in one of my games just for some humorous stuff between levels to keep the player amused.
The way I did it was thus:
GlobalVariable: RandomFact = 0
SpriteFont: RandomFact = "" (blank)
On start of layout: Set RandomFact to choose(1,2,3,4,5,6,7,8,9)
RandomFact = 1, set SpriteFont: RandomFact = "That fly looks pretty mad. I better not get in his way."
RandomFact = 2, set SpriteFont: RandomFact = "Why is nobody else talking about the flying fish?"
etc. etc.
Every extra fact I want to add to the game I need an extra event to handle it. Pretty painful as on the free version I only have 100 events to work with.
Any clever stuff involving arrays I could be using instead?