Could someone help me with my game?
I am trying to create a simple tank game and have the tank shoot at the enemy. So far I have coded it all, but the enemy doesn't get health taken away when the player shoots at it, the enemy never shoots like it is supposed to, and the enemy always flies across the map after it gets shot.
Here is a link to the project uncompiled. If you don't mind, could you look over it and see why it's doing this. If you are to create classes, please create a new folder in the assets and label it NEW CLASSES.
I'm trying to look at it but I keep getting so many errors I can't even get to the part where the problem is. Can you point me towards where I'd find the relevant code for the problems you describe. The game looks really sweet though!
What errors are you getting?! When I saved scene there were no errors. And all of the code is in the scripts class. I don't know what is really causing the problem, you would have to play the game to see. It's hard to explain. I'll see if I can record a gameplay and annotate it to describe the problem.
Wait... why are there duplicates of each script? There's a folder called Scripts in the Assets folder, but then there's Assets/Complete/Scripts/ and this has different versions of the same scripts?
Ya, I would say the first thing to do is put all of your own stuff into a new project. I kept getting errors about multiple definitions in the same namespace, etc.
Yeah same here. Okay I deleted some of the stuff out of the Assets/Complete folder that I didn't need and I'm not getting those namespace errors anymore. No errors, but the game is still functioning weird. I just reuploaded the file. HERE it is . Tell me if this one works for you :)
Okay, I'm downloading it. Why don't you start a thread here. It'll make it easier to discuss than using the comments here.
Your answer
Follow this Question
Related Questions
Why isn't my mobile single joystick showing on screen, PLEASE HELP? 1 Answer
Create a unity project that creates another unity game? 0 Answers
make a system for me 0 Answers
Unity crash, now errors and deleted objects reappeared.. 0 Answers
Moving code from external c# project library into Unity without loosing references 0 Answers