I have been trying to write a game where a child types a phrase into a speech bubble, and then presses a button and the speech bubble vanishes and the text they typed appears at the bottom of the page enclosed by speech marks. Anyway I am having a nightmare trying to get the text part to work, all I get is the name of the variable displayed.
Help would be appreciated.
- Code: Select all
strcpy(WinnieQuote,"\" & said Winnie.");
strcpy(OpenQuote,"\"");
strcpy(WinnieSaid, "&OpenQuote &WinnieInput.text &WinnieQuote");
CreateActor("WinnieText", "icon", "(none)", "(none)", -600, 0, false);
strcpy(WinnieText.text, "&WinnieSaid");
DestroyActor("WinnieInput");
DestroyActor("WinnieSpeech");
What I want is this for example:
Child types :- Hello
Output under is :- "Hello" said Winnie.
This must be possible.