4
« on: December 16, 2014, 12:18:09 pm »
My game has a hidden bonus part that requires the user to type in a code that they have found during the previous scene. I have mashed together one way of doing this, but wanted to see if anyone knew of a more memory efficient way?
My current technique consists of 5 scenes for the 5 letters of the code. Each scene consists of:
First layer with the same dark background that has the instructions to type in the code.
On top of that is a second layer holding an 'actor' of a keyboard, which redirects the user back to the main level screen when clicked on anywhere.
On the third and top layer is another 'actor' of a keyboard button that redirects the user to the next code scene. The button is placed exactly in line with the matching button on the keyboard below, so it blends in with the other buttons.
Assuming the user clicks on all the correct 'actor' buttons to form the code, they are directed by the last button 'actor' to the bonus scene.
Does this sound correct to everyone? I have no idea how any of the code stuff works, but can draw well. So I'm currently just using carefully placed actors, backgrounds and scenes to make things happen! Am I on the right track? It seems to work fine when tested.