is it possible to popup a mini game during quest?

siuyuyesiuyuye Member Posts: 19
edited November -1 in Working with GS (Mac)
hi,i am making a puzzle adventure game,
is it possible to popup a simple minigame during solving a quest or event?
and of coz, when suceed in that mini game can triggle something ...

pls help,thanks you!

Comments

  • Player_EPlayer_E Member, PRO Posts: 604
    I'm sure it is possible. I would create a new scene and make that my mini game. and in your main game have a transition into the scene that you made your mini game on. Then when you complete the mini game have it switch back to the scene with your main game.
  • siuyuyesiuyuye Member Posts: 19
    how abt if i want it appear in the main game without switching?
    like the main game become a bottom layer,and than the mini game is in the popup window which is on top of the main game layer?

    thanks for helping!
  • Player_EPlayer_E Member, PRO Posts: 604
    you could do that as well. I would imagine that your mini game could be on the same scene, but have all of the alpha colors changed to 0. then when you enter the mini game the alpha colors would be changed to 1.

    I did this for a pause menu in one of my games, but it ended up taking a lot of memory due to all the actors on the screen. I can only guess that a functional game would take up even more.
  • RHRH Member Posts: 1,079
    You can't change layer order during the game (not that I'm aware of anyway). The way to do it would have either the mini game setup to the side of the game in a part of the scene that can't be seen and then change the X and Y locations or, as Player_E says, have it set up in position and change the alpha.
  • siuyuyesiuyuye Member Posts: 19
    thanks Player E and RH,
    that's what i imagine too,
    seems that GS is not support "layer" in this moment,i would compare two method,less memory side would be my choice to do this.

    thank you for both of u again!
Sign In or Register to comment.