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
1
Question by Brian 12 · Feb 25, 2011 at 02:37 AM · webplayerscreenload

Customize Web Player Loader placement of loadimage

I am customize the web player loader. I want to have image and the loader bar fill the entire game area (760x600). If I make the load image this size then the load bar and load frame are pushed to the bottom which is below the fold and users miss that something is being loaded.

So I took shrunk the load image to bring the load bar and frame up higher. The problem is that the load image is centered. Is there a way to force the load image to be in the upper left instead? Also there seems to be a white gap between the load image and load bar/frame. I would like this to be gone as I am trying to make the image appear as one.

Anyone know if this is possible / not possible?

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

1 Reply

· Add your reply
  • Sort: 
avatar image
1

Answer by efge · Feb 25, 2011 at 09:57 AM

I think it is not possible to place the loader bar somewhere else by the parameters of the Unity Web Player. What you could try is the following:

Set your load image as the background image for the whole iframe.
Make sure its size is 760px x 600px and all borders and margins are set to zero, e.g.
<body style="margin:0">

Define a small transparent png file as your logoimage.

Create and scale a progressbarimage and a progressframeimage that they fit inside your iframe. (Maybe you have to use a lot of alpha to get the right positions.)

Edit: Nice try :-) ... but it doesn't work. The unityObject is on top of the background of the html page and you can not set the background-color of it to transparent. Sorry.


The other way is to create a very simple and fast loading scene in Unity for your game and use it as a "loading image" as described here: Web Player Streaming

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 efge · Feb 25, 2011 at 12:25 PM 0
Share

760px width = Facebook iframe?! I will try it myself and post the results.

avatar image Brian 12 · Feb 26, 2011 at 03:53 AM 0
Share

Efge, yes 760 is the facebook iframe. I will talk to the dev $$anonymous$$m and see what they can do with a quick loader. We are upgrading to unity 3 and plan on doing some stuff like that any ways. We just were not looking at it from this perspective.

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

How to load CSV files from webplayer 3 Answers

How to load a local texture file to WebPlayer 3 Answers

Save/Load game using XML on Browser/Web Player 2 Answers

loading object @ runtime in webplayer.... 4 Answers

iOS - Save Screenshot, Load as Texture? 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