Page 1 of 1

Card help!

Posted: Sat Dec 07, 2013 11:24 am
by Higgison
Hi all,
I have been doing a school project, however I recently finished it and am now searching to (try) to see what I can do.
My idea is simple; create a basic menu system using cards, then from there move on to develop a dungeon crawler type game.
So far I have linked my button "Exit" to ask a yes or no question then close the card (all is good there). I am now working on the "Help" button (ironic I know), using it I simply want to change the cards, however after a few hours of trawling through many forum posts the only help I could find was how to change it, so I put it in then tried it.

Code: Select all

on mouseUp
   go card 2
end mouseUp
However this is where I fall; I have 2 separate cards; my "Home" card (Mainstack) called Dungeon Crawler in Stack Inspector and HomePage in Card Inspector; then my other card called HelpPage (Sub-stack) in both Card and Stack Inspectors.
I simply need to know what I need to rename and such, or whether I am just being stupid and it is blindingly obvious...
Many thanks in advance!

EDIT: I have found in Card Inspector where it says "Number" however I cannot change the value.

Re: Card help!

Posted: Sat Dec 07, 2013 11:56 am
by jmburnod
Hi Higgison,
Sorry if I didn't understand your question.
I understand you have two cds, one on the main stack and the second on a substack.
I have found in Card Inspector where it says "Number" however I cannot change the value.
If that is the case then you can't change the number of the current card because there is only one cd in each stack.

That is a good idea to use the name of card instead the num of card.
In your case i think:

Code: Select all

go to card "helpPage" of stack "the name of your substack" 
should works

Maybe you are confused with stack and card. "HelpPage" is the name of the card's name or substack's name ?

Best regards
Jean-Marc

Re: Card help!

Posted: Sat Dec 07, 2013 12:04 pm
by Higgison
Thank you so much!
You have solved my problem and it now works perfectly!