go to scene by attribute
ey there
i am creating a game with 3 worlds,
and i am trying the render the " stars " into the menu system
so can i go to a scene any other way than go to next scene ?
from the level menu i can link by go to scene name directly... but the way i got it set up is the win/lose screen appear above the level
so i cant custume the next level button for each scene
so can i say like got to currentscene + 1 ? ( ofcourse having added the appropriated attributes in the next level scene )
i am creating a game with 3 worlds,
and i am trying the render the " stars " into the menu system
so can i go to a scene any other way than go to next scene ?
from the level menu i can link by go to scene name directly... but the way i got it set up is the win/lose screen appear above the level
so i cant custume the next level button for each scene
so can i say like got to currentscene + 1 ? ( ofcourse having added the appropriated attributes in the next level scene )
Comments
the way i got it setted up that the win/lose screen is a scene by it self
that comes up in a layer front of the current screen
so if i made change to scene it will use that every time...
and that doesnt selve how can i read the scre the assign stars to the level select system
1. Next Scene
2. Change Scene
So, in your case you will:
- need to customize the next level button for each scene
- track what level you are on and wrap that button in a complicated rule like if currentLevel = 1, change scene to level 2
- redesign how your level end logic works
Send and Receive Data using your own Server Tutorial! | Vote for A Long Way Home on Steam Greenlight! | Ten Years Left
and what about the stars thingy
i want if the player achive X in the game
in the level selection with the complete level sign it should show like golden or silver or bronze stars
how can i read the attribute of the specific scene ?
Just have x number of global attributes, one for each scene, and also track what level you are on in another global attribute.
So you could have
Game.currentLevel
Game.level1Stars
Game.Level2stars
Game.level3stars
.....
Then can track the rating there and depending on what level they are on, show the current value.
Send and Receive Data using your own Server Tutorial! | Vote for A Long Way Home on Steam Greenlight! | Ten Years Left
isnt that too much global attributs..
Send and Receive Data using your own Server Tutorial! | Vote for A Long Way Home on Steam Greenlight! | Ten Years Left
sorry for so many questions but this is my first game with GS
the pasue game behavior requires me to call a scene
so when i call that scene with next level and everything else i cant customize the button because it will be from the original scene
i tryed spawning it in the level after calling the new scene bt the button appears under the new scene and their for unclickable
any tips ?