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 aiibee · Nov 07, 2012 at 08:06 PM · gamevideomenu

Menu to game play JAVA Script

I am developing a small game.

I will get straight to the point.

What I am trying to do is. When the game starts A video will play on a cube that will read as a animated texture. This is one scene. I have a other scene that is my main menu that will show up right after the video is finished playing.

What do I have.

What code to i need to write, to go from one scene to the other when clicking on a item, or after a time based.?????

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 tavoevoe · Nov 07, 2012 at 09:02 PM 0
Share

http://answers.unity3d.com/questions/58897/load-scene-on-button-press.html

avatar image Screenhog · Nov 07, 2012 at 10:15 PM 0
Share

Do you have Unity Pro? You can't do a movie as a texture in Unity Basic.

3 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by aiibee · Nov 07, 2012 at 11:16 PM

H3y,

First, thank you for your responds, love to meet new people and share information.

However, I have unity pro, the code did work, but my audio is not playing. I have saved the audio separately, and I have attached the audio to the cube(plane). It works but it is of sync.

Also, the quality of the video seems a little washed out. Will this change once i actually make a build>?

I was researching and I came across a different approach to execute this. Its with GUI. It allows you to call in a video as well, but not sure how to approach it, or what code to use.

Regards, Aldin B

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 Screenhog · Nov 08, 2012 at 07:08 PM 0
Share

Firstly, if you're not actually answering a question, you should use the "add new comment" button ins$$anonymous$$d of "post your answer". Neither of your posts are answers.

The audio and video are separate. One is an audio file, and one is a texture. You need to start them at the same time for them to be in sync.

The video quality is "washed out"? Are you texturing something with your video, and if so, how are you lighting it?

avatar image
0

Answer by aiibee · Nov 08, 2012 at 02:44 PM

Also, how do you make a video loop???

Comment
Add comment · Show 2 · 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 Screenhog · Nov 08, 2012 at 07:09 PM 0
Share

http://docs.unity3d.com/Documentation/ScriptReference/$$anonymous$$ovieTexture-loop.html

avatar image aiibee · Nov 09, 2012 at 02:17 PM 0
Share

cool thank you :)

avatar image
0

Answer by aiibee · Nov 08, 2012 at 08:21 PM

"The video quality is "washed out"? Are you texturing something with your video, and if so, how are you lighting it?"

well i am using the video texture assigned to a cube as a in game cut scene. When i watch the video outside unity, it looks clean and sharp, when i play and test the video in unity it looks washed out, and the quality is low. like it is being compressed.

Comment
Add comment · Show 2 · 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 Screenhog · Nov 08, 2012 at 08:46 PM 0
Share

Please start using "add new comment", like I've done here. It keeps conversations making more sense.

Videos in Unity are compressed, using Ogg Vorbis compression. You can change some settings of how compressed they are, but there will always be some. An uncompressed video is too large to be usable.

Do you have lights in your scene? Are they shining on the cube? What shader are you using on the cube?

avatar image aiibee · Nov 09, 2012 at 02:17 PM 0
Share

I have no lights, I have set the material to self illu$$anonymous$$e. If i don't I would need a light in the scene.

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

11 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

Related Questions

link to open website 1 Answer

MultiplayerManager and MenuManager error.Help me.Thanks 0 Answers

Menu button in game isn't working 0 Answers

How do I make a menu with a video in the background? And how do I put music on it? 0 Answers

In Game Pause Menu Keydown Issue 1 Answer


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