Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 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
0
Question by felixpk · May 10, 2014 at 02:13 PM · animationtutorialintro

Common way to make a GameTutorial?

Hey there! As the title says I want to make a "Instruction" or "Tutorial" when the game begins, but I am not quite sure how to do this. Is there a common way? Should I use just animations, just scripts?

I know the question is not very precise, feel free to ask me any further information! Thank you in advance!

Comment
Add comment · Show 2
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 fafase · May 10, 2014 at 05:44 PM 0
Share

Is it a puzzle game, a $$anonymous$$$$anonymous$$ORPG, a fps? $$anonymous$$ost likely you can get away with some tutorial scripts mainly using GUI instructions and movements of the GUI rects. Those scripts are added to the needed level (first one), and then you can add them to the level when something new appears. Then they would be triggered by a condition, like this would be on a new item:

 public Tutorial tutorial;
 void Start(){
     tutorial.enabled = false
 }
 void OnTriggerEnter(Collider col){
     tutorial.enabled = true;
 }
 
 public class Tutorial:$$anonymous$$onoBehaviour{
    string instructions = "Here is a new thing";
    void OnGUI(){
        GUI.Box(new Rect(), instructions);
        if(GUI.Button(new Rect(),"Ok")){
           Destroy(this);
        }
    }
 }
avatar image felixpk · May 11, 2014 at 11:56 AM 0
Share

Thank you for your effort, it is a 2D sidescroller and this should not happen when the player hits a certain object. In the $$anonymous$$ain$$anonymous$$enu is a button called instructions, then I want to have a videolike sequence that is able to interact with the players Input. And maybe to make things clear: I am not new to Unity, I just don't want to reinvent the wheel!

1 Reply

· Add your reply
  • Sort: 
avatar image
1

Answer by Hachley · May 10, 2014 at 03:55 PM

You could check the old flash games. I remember the early 2000's when the flash game spree was on the height, almost every game had the Instructions button under the Play. Though the instructions varied, most had images along with text telling how to play. I suggest just to think of the easiest way of telling people how to play without a lot of text.

Comment
Add comment · Show 4 · 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 felixpk · May 10, 2014 at 04:35 PM 0
Share

That's one of the ideas I had, thank you for mentioning, but I thought of something more interactive, like: Now pres jump to jump, then press: Double Jump to make an extra Jump.

I am just wondering if I should use the real Player prefab or not. And I want to stop the whole instruction while waiting for the input. If I use Time.TimeScale = 0, does unity still get the inputs?

avatar image Hachley · May 10, 2014 at 05:31 PM 0
Share

I'm not sure about input with Time.TimeScale at zero, but I personally would just create another Player prefab script and scene designed for the tutorial level only, and just pause the needed things separately.

avatar image fafase · May 11, 2014 at 07:31 AM 0
Share

Input still runs while timeScale is at 0.

One way to do it without modifying the timeScale is to use a State:

 void Update(){
    if (state == State.Tutorial){
       StopAnimation();
       return;
    }
 }

This is a simplified version of it.

avatar image felixpk · May 11, 2014 at 12:00 PM 0
Share

Ah and by the way, the instruction Scene is a different than the game scene, is this a common way? So I won't need any states.

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

21 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

Related Questions

How to resume animation from last frame 2 Answers

Way to have mulitple input? 1 Answer

I try'd so hard, but my animation script doesnt work..? 1 Answer

Which is better: script or animation (which needs to change with scripting)? 1 Answer

Animation play on input, else play idle animation. 2 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