Hi again,
I'm trying to make a cell phone that can be used in game to call other characters. So I basically have a "cell phone" scene, with an image of the cell phone, and I have region entities for each button, and various background images for the different menus and phone screens. I think changing the screen images is no problem, for example, clicking on the "contacts" button changes the screen to the contacts screen.
But, I'm having trouble understanding how to have the numbers displayed. I want the player to click the number keys and then for the number to come up on the screen like a cell phone would. So if they click 0, then a 0 is displayed, then they click 7, and the 7 is displayed but at the same time, the 0 is moved to the left to make room for the 7, and so on and so on.
Any tips how i can do this? Any idea where I can start? Should I use some kind of window for the whole phone screen? I'm thinking when they press 0, the game will display the 0 as text, and then when they press 7, the game will display "this" + "this", which will show 07, etc etc, but I don't know where to start with that. And then I need some way to recognise the number that's been entered so that when they press the green button on the phone, the game knows which conversation script to run.
Thanks.