Overlapping buttons
Hey there everybody,
I have a slight problem in my game development process..
My game (Santa's Defense) for those who don't know it, is a hybrid of top-down stick shooter and tower defense. The problem now is:
I have a non scrollable UI layer with the stick control to move and the shoot button. Now I also have scrollable UI items such as the towers and the base. Now the problem is as I walk around and press the shoot button I am also able to press the non scrollable button and this can result in upgrading or selling towers accidentally.
I tried to work around that problem but I didn't come to a solution. If you guys don't understand my problem I am willing to post pictures
Can you help?
thx a lot!
Cheers
I have a slight problem in my game development process..
My game (Santa's Defense) for those who don't know it, is a hybrid of top-down stick shooter and tower defense. The problem now is:
I have a non scrollable UI layer with the stick control to move and the shoot button. Now I also have scrollable UI items such as the towers and the base. Now the problem is as I walk around and press the shoot button I am also able to press the non scrollable button and this can result in upgrading or selling towers accidentally.
I tried to work around that problem but I didn't come to a solution. If you guys don't understand my problem I am willing to post pictures
thx a lot!
Cheers
Comments