Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
  • Help Room /
avatar image
0
Question by ltrout1999 · Dec 17, 2015 at 10:12 PM · c#project

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.

Comment
Add comment · Show 8
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image ZefanS · Dec 18, 2015 at 02:47 AM 0
Share

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!

avatar image ltrout1999 ZefanS · Dec 18, 2015 at 02:59 AM 0
Share

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.

avatar image ZefanS ltrout1999 · Dec 18, 2015 at 03:04 AM 0
Share

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?

Show more comments
avatar image ZefanS · Dec 18, 2015 at 03:11 AM 0
Share

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.

avatar image ltrout1999 ZefanS · Dec 18, 2015 at 03:14 AM 0
Share

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 :)

avatar image ZefanS ltrout1999 · Dec 18, 2015 at 03:18 AM 0
Share

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.

Show more comments

0 Replies

· Add your reply
  • Sort: 

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

41 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

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


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges