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 /
avatar image
-1
Question by SonicSlash24 · Apr 24, 2010 at 09:48 PM · gameovertornado-twinsworm

GAMEOVER SCRIPT for worm game

I was following TornadoTwins tutorial on how to build a game in Unity 3D and he never mentioned a GAMEOVER script. Can you please help me. Can you upload pictures so I can copy the GAMEOVER script. THANKS. and can you help me that every time that I want my worm to go backwards he flies. PLEASE HELP.

Comment
Add comment
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

2 Replies

· Add your reply
  • Sort: 
avatar image
1

Answer by 3dDude · Apr 24, 2010 at 10:34 PM

to fix the problem were it goes up when the down button is pressed you could go to the Edit menu/projectSettings/Input. there should be a default button called "Vertical" click on that then there should be a setting called down delete this and then when you play you game it should not go up. what should happen if this works is that nothing will happen when press the down button.

for a gameOver script you could find the health control script(i think thats the name) and add to the part write below case 0; add this code Application.LoadLevel (1); and if you have done the latest Tutorial then you have played around with the build settings and know how to use them. so make sure that the first current is set to the main menu scene.

hopefully this helps. :)

EDIT: sorry you could try write after the "case;" you could say "LIVES = 3;" hopefully this will work.

Comment
Add comment · Show 6 · Share
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 SonicSlash24 · Apr 25, 2010 at 12:09 AM 0
Share

The backward fix worked. Thanks. The game over script not so much. Please help I have three seines. $$anonymous$$ain $$anonymous$$enu, Worm, and Game Over. When I start the game from the $$anonymous$$ain $$anonymous$$enu the game works and the GA$$anonymous$$E OVER. When I get a game over and from the game over screen I restart to the $$anonymous$$enu, worm seine works for 1 second and goes to the game over screen. PLEASE HELP

avatar image 3dDude · Apr 25, 2010 at 12:26 AM 0
Share

is there some way you can post the project folder some place? i can't think of why it would do that with out seeing your scripts

avatar image 3dDude · Apr 25, 2010 at 12:30 AM 0
Share

how are you getting from the gameOver scene back to the main menu?

avatar image SonicSlash24 · Apr 25, 2010 at 04:23 PM 0
Share

Thanks a lot it worked

avatar image 3dDude · Apr 26, 2010 at 12:32 AM 0
Share

your welcome! happy to help :)

Show more comments
avatar image
-2

Answer by Gerardo Quinones · Jul 07, 2010 at 09:51 PM

I CANT FIND THE CHARACTER CONTROLLER CODE FROM TORNADO TWINS SITE.PLEASE HELP.

Comment
Add comment · Show 1 · Share
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 Ricardo · Jul 08, 2010 at 07:11 AM 1
Share

Gerardo: Do not reply in all caps, and do not piggy back on other people's questions. Both are very poor form.

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

No one has followed this question yet.

Related Questions

Why does my character keep falling? 6 Answers

worm game spawning incorrectly 1 Answer

Tornado Twins Tutorials. How to add A Respawn and Game Over. HELP! 2 Answers

ned help with my carecter gliching 0 Answers

Missing Method Exception and Null Reference Exception 3 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