I am making a math game in which each question has a keyboard trigger set to either 1,2,3, or 4 and if you press the right one, the question will be destroyed and so will the barricade so you can pass. The problem is that if two or more questions have the same answer, for example 2, if you press 2 to answer one question, the other questions and their barricades with the same answer will automatically be destroyed and won’t show up. I am not sure how to fix it. This is my game link: Flowlab Game Creator - The Canine, the Switch, and the Forest
yeah you just need a system for what question their on, so that you know which object to send the player input to.
I would create a seperate object for managing inputs. 1,2,3,4, and other objects can message this one, choosing when it will message other blocks saying that the key was pressed.
As for knowing what room the player is in, that should be simple. just create a global number (1 being first room, 2 second room) and whenever you get a question correct, you increase the global.
I can give you visual if you need it.
Yes a visual would be great. Thank you so much.
Ok, but first tell me which objects to look into and
NAME YOUR OBJECTS LOL
Yup, my FRIEND NEEDS TO NAME HER OBJECTS (I’m letting her use my account), but anyway I believe you need to look at the questions off to the left. ( I may be mistaken)
Thanks, Ill try that out real quick and I will message if I come across any more problems