Splash Screen Questions
Posted: Sat Aug 22, 2009 2:36 am
I'm trying to create a splash screen for my game. I set the view to a splash screen actor with background image. On the screen I have placed a start button actor that when clicked sets the view +480 to the right which places the view on the first part of the level. I also have some code in the draw event of the player actor (view.x=x-240;) to center the view on the character. This works but when the character moves to the left you can see the splash screen and button. I want the character to stop - or at least the centering to stop when the character moves to the left. My questions are:
1) Is it better to place logic in the draw actor script to check to see if the charcter is near the left hand boundary and stop the centering code?
2) Are there better ways to handle this? Something built into to the designer that I don't know yet?
As you can tell I'm really getting into this. Every night I try to tackle another aspect of the game. Any help is appreciated! Thanks
1) Is it better to place logic in the draw actor script to check to see if the charcter is near the left hand boundary and stop the centering code?
2) Are there better ways to handle this? Something built into to the designer that I don't know yet?
As you can tell I'm really getting into this. Every night I try to tackle another aspect of the game. Any help is appreciated! Thanks