• 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 pulkit8.mahajan · Feb 01, 2014 at 07:02 AM · gameoverreplayfinish

How to make a dramatic big finish?

I'm making this game and I was wondering if it would be possible to replay like the last 5 seconds before the player died after he died, but slower and dramatically. So after you blow up and die, it shows a quick instant replay from the enemy's perspective as it moves to the player and destroys it. Then it shows the game over scene. Is there any way to do this?

Comment
Add comment · Show 7
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 Benproductions1 · Feb 01, 2014 at 09:51 AM 1
Share

you need to keep a buffer, recording all events that happen in the scene, so you can "replay" from 5 seconds ago. It can be quite a complicated system depending on how your game works, but there's really no other nice way of doing it.

avatar image pulkit8.mahajan · Feb 02, 2014 at 05:32 PM 0
Share

how exactly would you get the buffer? is it a component or a script?

avatar image fafase · Feb 02, 2014 at 05:36 PM 0
Share

All you need is registered the Transform at a certain frequency. That is for instance, every 0.2s, you store them in order in an array and then you just replay the array in order with interpolation between each position and rotation.

avatar image Chimera3D · Feb 02, 2014 at 05:37 PM 0
Share

$$anonymous$$aybe you could also have a camera set up to record the player in a "dramatic manner" then just display what the camera recorded for the player who died but in slow motion. Otherwise you'll need a buffer like Benproductions said.

avatar image Flint Silver · Feb 02, 2014 at 05:41 PM 0
Share

Do you want to do a Slow-$$anonymous$$otion movements? Use: Time.timeScale = 0.3; If you has an animation, make it slowly.

avatar image robertbu · Feb 02, 2014 at 06:04 PM 0
Share

This is a design/discussion question. There are multiple possible solutions, and within those solutions there are multiple implementations/technical questions. Unity Answers is designed for answering a single, specific technical issue per question. I suggest you post this question on the Unity Forums. The comments above outline the three approaches I see, all have their individual issues:

  • Save the state on an ongoing basis. There nothing universal in Unity for this functionality. You would have to add this by recording things like position, rotation and any other properties that could change for each object.

  • Record the screen on an ongoing basis. Play the movie back. There are both in-Unity solutions as well as platform-specific plugins. There are obvious performance implications.

  • Detect when you are about to crash, and then slow down Time.timeScale for the last several seconds. Not quite what you asked for, but probably the most doable if you can figure out ahead of time you are about to die.

avatar image unimechanic ♦♦ · Feb 22, 2014 at 02:13 AM 0
Share

This question could have different solutions that derive into long discussions, and it might stay unanswered for an undeter$$anonymous$$ed amount of time. Please help us improve Unity Answers with concrete questions and answers, and consider using Unity Forums which is a great place to discuss ideas. Thanks for your comprehension, Unity Support.

1 Reply

· Add your reply
  • Sort: 
avatar image
-4

Answer by unimechanic · Feb 22, 2014 at 02:15 AM

Several valid answers were provided in the comments. [Adding this answer to remove it from the Unanswered list.]

Comment
Add comment · Show 4 · 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 Jamora · Feb 22, 2014 at 02:18 AM 4
Share

This is not an answer to the question.

avatar image mattyman174 · Feb 22, 2014 at 02:24 AM 4
Share

Stop bumping old questions with irrelevant answers for the sake of "$$anonymous$$oderating"

avatar image unimechanic ♦♦ · Feb 22, 2014 at 02:56 AM 0
Share

As explained in comments this is a design/discussion question, there are useful answers in the comments and there is no reason to keep an answered question as unanswered.

avatar image Jamora · Feb 22, 2014 at 03:03 AM 2
Share

A preferred way would then be to edit the question so that it mentions that this question is answered in the comments. Then close the question.

Answers are for answers; solutions to the problem the poster posed.

Comments are for talking about the problem; getting more info, possibly giving suggestions and thoughts on what to try next.

If you are this worried about unanswered questions, Unity Technologies should improve the unanswered filter such that it filters out closed questions as well. Then only the truly unanswered questions would show.

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.

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

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

Related Questions

MissingMethodException: What the heck is this? 0 Answers

Treasure Magnet HELP!! 1 Answer

Animations and Cut-Scenes 0 Answers

Rotate Character Controller 0 Answers

How to Find Job Unity 3d Desainer 2 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