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
3
Question by tertle · Feb 02, 2011 at 10:57 PM · scenescene-loading

Scene inside a Scene

Possible?

And I don't mean LoadLevelAdditiveAsync. I'm creating a puzzle/action game and when a level I want the game to go to a separate score screen, while having a small window replaying what the user just did.

So I want to load the previous scene inside a small window in another scene. Think Picture-in-Picture for TVs.

Really can't think how I'd do this without merging the score screen into each level scene which isn't the ideal situation for me.

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
1

Answer by DaveA · Feb 03, 2011 at 02:34 AM

Sounds like fun. What comes to mind is, record everything that happens somehow, then play that back on a render texture where the main camera looks at that texture and your score screen. Ore record the entire game play to video somehow, creating a video texture, and play that back. I hope you have Pro!

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 tertle · Feb 03, 2011 at 02:54 AM 0
Share

Since it's quite a basic game and graphics aren't intense at all, to do playback I was intending to record all moving objects position every frame, then turn off all physics and just feed the positions (and orientation etc) into each object every frame. This would let me change camera angles and do movie type shots as well. I can't just record it and play it back as a video unless I use different cameras... hmm. I think I'll have to move camera and look at a blank box to pretend I've loaded score screen, and use camera normalized viewport rect to show the replay in another box.

avatar image
0

Answer by softrare · Jun 19, 2012 at 01:04 PM

Our EZ Replay Manager package can do this.

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
avatar image
0

Answer by Loius · Jun 19, 2012 at 01:45 PM

The solution that jumps to mind is to have your entire score screen be a prefab with a "main" script that you can shove parameters into. Then in your game scene, you instantiate the score prefab and feed it information from the game's "you win/lose" function and trigger your current replay logic.

It's kind of merging the score screen into each scene, but changes to the prefab will affect them all so it's still reasonably well object-oriented.

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

2 People are following this question.

avatar image avatar image

Related Questions

scene loading 100's of scenes 3 Answers

The name 'Joystick' does not denote a valid type ('not found') 2 Answers

Scene object scripting 1 Answer

how to move between scenes 1 Answer

Reloading the scene causes ads to reload. Is this ok ? 3 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