Hello everyone, I have a question that I hope can be solved. I have been researching and trying different things for about 3 weeks now, so I am at the point of needing someone else's eyes and brains.
My capx:https://www.dropbox.com/s/rbzxoltjhtj3jhp/Help_Example.c3p?dl=0 (this is a dummy capx
Problem: When I first started making the layers for my levels and level buttons, I quickly realized that I need to put certain things into groups and activate/deactivate as needed. I did this by creating an event sheet called Active/Inactive Groups. In this sheet I:
1.Created groups for my levelsprite buttons by variable: "0-5", "6-11", and "12-17". (This determines which level is chosen).
2. created groups for my NextLastButton (switches between layers):"CDtoEF", "EFtoCD", and "GHtoIJ". (In these groups, if NextLastButton is touched > set layer visible; set other layers invisible)
3.On StartofLayout:set layer "abcd" to visible
4.When layer is visible: set specific groups active/inactive.
Disabling and enabling my NextLastButtons works fine. Even when directly stacked on each other, they do what they are supposed to do without issue.
Disabling and enabling also works on my levelsprites, it ensures that when I choose one button, it doesn't choose the button from a different layer. However, the only time these buttons will actually work, as in take me to the level layout, is if they are on the bottom-most layer. It is as if all the other layers, even though invisible + disabled/enabled groups, are blocking the levelsprite on the current layer.
Example: Layer "abcd" is visible> set group "0-5" activated AND set group "CDtoEF" activated. All the others should be deactivated.
I see layer "abcd" (as I should), I see the levelsprite buttons meant for that layer (again, as I should), and I see the NextLastButton for that layer ("CDtoEF"--which works to go to the next layer), but the levelsprite buttons are not reacting to my touch.
I have looked online at the various forums with this information, but unfortunately, there is not much I can find on this specific issue. I have seen that I can try "for" with my levelsprite buttons, but because they are split into groups by variable, I am not sure how I would accomplish that. If anyone could help, I would GREATLY appreciate it.
Sorry to go into detail so deep, I just want to make sure my problem can be understood. If you test the capx though, you will see what I am talking about. Thanks in advance!