Pop Up Menu Question
allc1865
Member, PRO Posts: 777
Hey everyone. I am working on a pop up menu using this template on this website here:
http://www.funkymunkygames.com/GameSalad/search/
I got it working, the only problem is that my items do not constrain with the menu itself. I am kind of thinking that it's the Actor Tags that I have messed up because those are the only things that are different on my file compared to the template I'm using.
I'm not sure what else could be wrong.
I can't even edit my actor tags or the self actor tags.
Any help would be great thanks
http://www.funkymunkygames.com/GameSalad/search/
I got it working, the only problem is that my items do not constrain with the menu itself. I am kind of thinking that it's the Actor Tags that I have messed up because those are the only things that are different on my file compared to the template I'm using.
I'm not sure what else could be wrong.
I can't even edit my actor tags or the self actor tags.
Any help would be great thanks
Best Answer
-
tatiang Posts: 11,949When you say "my items do not constrain with the menu itself" are you talking about the square menu choices that can be dragged (like inventory items)? What are you trying to constrain them to? Do you need them to be draggable? If not, just turn off the constrains so that they are clickable like a regular menu item.
That template is pretty straight forward. It just interpolates the positions of offscreen actors to their onscreen positions and then constrains the menu items to the mouse position when clicked.
So you're trying to edit the actor tags in the Home-->Actors tab? I was able to edit them in the template.New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
Answers
Yes, that's what I'm trying to constrain them to. the square choices in the menu popup itself.
"So you're trying to edit the actor tags in the Home-->Actors tab? I was able to edit them in the template."
See, it's grayed out here and I can't edit it. The same in Home-->Actors Tab.
How did you do it?
"What are you trying to constrain them to? Do you need them to be draggable? If not, just turn off the constrains so that they are clickable like a regular menu item."
See here I have placed my square box in the menu:
But when I go to play test it, the box isn't there when the popup menu comes out:
So that's why I think my problem is the Actor tags and the self attribute tags because their template they have their's filled in but I don't. That's the only thing I can think of because I have done everything that they have done.
Thanks again, @tatiang!
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
Thanks. #:-S