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 mstfchelik · Jul 25, 2013 at 11:11 AM · fullscreensplash-screensplashscreen

Unity splash image not full fill up entire screen

Hello friends, I have a splash image to show clients when user opens application.But this image never fill up fullscreen.I can give all details about mobile screen and image resolution.Normally I know Android application works with 480X320 resoultion images.But its not fill up entire screen.My android device resolution 800X480.Please help me that which is best resolution to fill entire page for splash image ?

Thanks

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

3 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by Josh1231 · Jul 25, 2013 at 11:49 AM

change it to scale to fit (letter-boxed)

Comment
Add comment · Show 3 · 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 mstfchelik · Jul 26, 2013 at 07:13 AM 0
Share

But which resolution? Even i did scale to fit.Its not working fullscreen

avatar image Josh1231 · Jul 26, 2013 at 12:02 PM 0
Share

did you code this? because if you did you should have the texture put up in OnGUI() and have width = Screen.width and height = Screen.height then apply it to the texture so it shows full screen, if you didn't try it like this you should try.

avatar image mstfchelik · Jul 26, 2013 at 01:49 PM 0
Share

I didnt code.Just use Unity Player Settings Panel.How can i use and add splash easily ?

avatar image
0

Answer by mstfchelik · Jul 25, 2013 at 12:01 PM

Hi Josh, I didnt udnerstand that.I dont give any specific number.Just I upload splash screen with splash scaling.Please check attachment.alt text


splashimage.png (18.9 kB)
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 Josh1231 · Jul 25, 2013 at 12:32 PM 0
Share

thought you did it in a script, try change it to letter-boxed because cropped is for smaller

avatar image mstfchelik · Jul 26, 2013 at 07:14 AM 0
Share

I use letter-boxed but its same.I really dont understand that noone have any idea about fullscreen splash.Becoz its main issue for unity apps.

avatar image
0

Answer by Trouch · Jul 26, 2013 at 12:57 PM

Here try this, copy paste this into a javascript and add it to the texture.

 @script ExecuteInEditMode()
     function Start () 
 
 {
 
     guiTexture.pixelInset.x = 0;
     guiTexture.pixelInset.y = 0;
     guiTexture.pixelInset.width = Screen.width;
     guiTexture.pixelInset.height = Screen.height;
 
 } 
Comment
Add comment · Show 8 · 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 mstfchelik · Jul 26, 2013 at 01:50 PM 0
Share

But how can i apply that texture to splash screen.is it related splash image?

avatar image Trouch · Jul 26, 2013 at 01:52 PM 0
Share

Depends on what you're doing. Im not very proficient, but If you want an image to appear fullscreen, and that image is a GUI Texture, then you create a GUI Texture, add the image/texture you want, and then attach this script to it. everytime it starts up, it will stretch to the screen size.

unless its an animation or something, then i dont know, im fairly new too.

avatar image mstfchelik · Jul 26, 2013 at 01:54 PM 0
Share

I use that code at other scripts and that works well.But I still not understand how can i relate guitexture with splash screen.

avatar image Josh1231 · Jul 26, 2013 at 03:08 PM 0
Share

have a scene with the splash screen then have a transition from that scene to the actual game and you can use that as your splash screen

avatar image Trouch · Jul 26, 2013 at 03:13 PM 0
Share

Yes, exactly what josh said, thats what i do too.

You create a new scene, with the guitexture you want and that piece of code.

Then After a certain time or keypress or buttonclick You load the scene/level that you want to show after the splashscreen.

Its a simple and easy method.

Show more comments

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

17 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

Related Questions

A node in a childnode? 1 Answer

Does Unity 5.3 with Android Pro license support using nine-patch PNG files as Android Launch Image? 0 Answers

default ios splashscreen blurry 0 Answers

Where to use isShowingSplashScreen? 0 Answers

FullScreen Mode Help 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