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 KyleHatch · Jan 16, 2012 at 10:42 AM · guiwebplayerscreenshot

Off Screen GUI, taking a screenshot into a Info style card (Easy :)_)

Hey. A question. i'm trying to great a info (top trumps) style screenshot for our game. I've got the basics up nice and working.

I load in a texture which is the background card, large enough to take a screen grab and the information underneath. I take my screen grab using a render texture and place it accordingly. Making a nice overall texture. The next stage is where i'm stumped. I'm using a yield to make sure my GUI gets included into the screen grab.

But i want to display information that i get from my game. I've tried placing GUI labels as test below what would be the screen dimensions. "new Rect(10, Screen.height + 20, 100, 100);" But the screen grab obviously only gets what's on screen. Is there anyway to record a set amount of information from the whole GUI?

The second part of my question has been asked before here (http://forum.unity3d.com/threads/892...IA-PHP-or-Perl) but no further answer was forth coming so i ask for a fuller answer for those who know.

Our game is web browser based, for the test i've been using pc build settings to get a result, but long term i want to save the screenshot to the server so players can access them. All i need is an example of the perl, the example given didn't help much, i have zero experience with Perl, softwizz was kind enough to give a link, but i just can't get my head around how to do it with a unity script. So any help on this is appreciated.

I've attached the script i used, plus the original texture. Any questions please ask.

Thanks for any help.

Kyle.

motobloxtest.net78.net/Screenshot.zip

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
0
Best Answer

Answer by KyleHatch · Jan 27, 2012 at 05:10 PM

Go here for partial answer.

http://forum.unity3d.com/threads/119286-Off-Screen-GUI-Screen-grab-top-trumps?p=813123#post813123

The second part of my problem i've still not solved. I still can't get it to my server. The c# code seems fine, it's the perl, so if anyone got any ideas on that, i'd be appreciative.

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

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

4 People are following this question.

avatar image avatar image avatar image avatar image

Related Questions

Capture screenshot to texture, memory issue 1 Answer

Why do I have to click GUI Menu twice to start in Web player? 0 Answers

(IMPORTANT!)How to make a high resolution screenshot including GUI? 1 Answer

GUI off camera when building for web player 0 Answers

I used the eval() function on web player 0 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