- Home /
Car Game for my project in mobile tech
Hi viewer, im creating a car quiz game in android that will trigger an event if the car will collide with a object. and a quiz will appear if its collided, and if the answer is tru it will proceed, now can someone help me code this guys thanks
First of all, we can't help you to write "your" code ( i put it in "" because if we do that, that actually our code, not yours).Come back here when you have something like:
You have written your own code but don't know how it works, or need more documents about what are you interesting in.
You have a main idea, but finding hard to approach it, you can ask and we will give you some way, not all the code.
You have problem with your code, it didn't run well as you expected or caused bug,... you can come and ask why, and listen to some other comments.
If you are new to program$$anonymous$$g, there are many documents/tutorials around here to help you.
Answer by fardinnn · Aug 08, 2013 at 10:43 AM
at first use OnCollirderEnter() function or OnTriggerEnter() function to get information on colliding the by "tag" you can specify quiz collider and know it then if car collide quiz trigger create a boolean and set that true , go to OnGUI() function and show your quiz by buttons and other thing here : http://docs.unity3d.com/Documentation/ScriptReference/GUI.html and http://docs.unity3d.com/Documentation/ScriptReference/GUILayout.html
Your answer
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
Error car game 0 Answers
Opponents Cars in Racing Games 0 Answers
Tilting car on two wheels 1 Answer
Car Physics 0 Answers