Selecting different scenes with only one attribute-how???

akimannakimann Member Posts: 62
edited November -1 in Working with GS (Mac)
Hi Saladfans!

Just one Newbie-Question:
I do have an Mainmenu where you can select 20 different scenes, each scene has its own icon to select. I don´t want to write 20 single scripts for each icon like "when touch is pressed: go to scene 1...go to scene 2 etc..."
Isn´t there a smart method for just one script that recognized the selected icon, putts its name into a variable like "got scene <selected icon>"? ... hope you know what I mean.

Thanks for any help and greetings from germany!

Comments

  • b2iscoolb2iscool Member Posts: 135
    Not that i know of the thing about gamesalad is its easy but some stuff can be quite tedious but at the end of the day it would take much more time to learn objective-c and cocoa and code your own app then to use GS!

    peace
  • ChaserChaser Member Posts: 1,453
    Unless somebody here has figured something out every icon will need at least a minimum script of either go to next scene when global attribute equals let's say 2 or 3 and so on when touch is pressed. Say hi to my relatives out the in Wiesbaden
  • DizkoDizko Member Posts: 498
    What I did, is created a single default actor that has the basic rules set up, and then I edit the individual instances of each button to target the right scenes and activate/unlock by the correct triggers. It's still a bit tedious, but you end up changing a few attributes in each actor instance rather than creating the same actor over and over again.
  • sparkzillasparkzilla Member Posts: 152
    I do the same as Dizko and create a default button that can be modified.

    I also use the Level Select button to load all the attributes for a particular scene - it's easy to keep track of them there.

    _________________________________________________________________________________

    Coming Soon!: Sweepr
Sign In or Register to comment.