Need your help guys… The objective of our game is to get to the finish line within its TIME, e.g "The Start time is 1:59 (2mins) so within 2mins the car should get to the finish line before 0:00, the concept of our plan is also have a obstacles like getting DAMAGE when you HIT the OBSTACLE (BARRIERS, SPIKES etc…) and also CAR should hae a HEALTH… We already have a Car, Road and Path, Terrain designs… The CAR and it’s script is also very much like from the CARtutorial from UNITY3d…
These are the list we need much for the game :
CarHealth (call the GAMEOVER if the CarHealth is get to 0/100)
EnemyAI (stable and getting damage when the CAR hit the Obstacle, damage is by 20 FRONT and REAR)
Countdown (It will say Try Again when you didnt finish the game on time…else EXIT)
:: we need any .js or .cs scripts… pls view our sample scripts that already created and came from the forums and tutorials …
I use to love doing people’s homework assignments. One time I nailed this pretty difficult problem in C++ and the guy I had done it for told me only three people out of like 100+ in the class were able to actually solve it.
I was really upset though because the professor gave him a 95% because it wasn’t commented well enough. Even though the guy was ecstatic with that grade I wanted to argue with the professor about how ridiculous it was to not give me full credit.
Problem is I couldn’t argue it and was stuck with knowing my work of art was graded ridiculously. Bottom line it ruined me from doing people’s homework for them.
I’m more than happy to work with you to solve Unity-specific problems and to increase your understanding of Unity here. But I think you already understand from the previous posts that people won’t do your homework for you, and neither will I.
To create your obstacles and CarHealth feature you need to learn how to use Colliders. You will handle collision event and decrement the car’s health in the the OnCollisionEnter method in your CarHealth class. It’s very easy once you’ve tried a couple of examples.
Enemy AI is a difficult subject to simply jump into without more context. You’ll need to explain in much greater detail what you want the enemies to do. I suggest you get the basic game working before you worry about AI.