Hi all,
I am relatively new.
I’ve decided to try my hand at building a point and click mystery adventure game.
My girls love playing these by other developers, one of whome I have spoken with and said he built his apps using Corona engine.
So…
My question…
I want to ask the player for their name. To then personalise the story naration.
I’ve successfully coded the ability to receive in the players name, store it to memory, and retreive it.
What I am struglling with…
-
If I try to skip or save without entering a name. A runtime error occurs. I can not find how to manage this. Not all players will want to enter their name. At which point I will use a defult “friend”.
-
Similar to above, but if theplayer clicks on the input field, but then still does not enter a name, again it causes a runtime error. I’ve tried everything but as I am knew I am probably missing a trick somewhere.
How do you handle input fields, when the field is no accessed and even if it is, but no data inputted.
Thanks
Angela