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 PhoenixBlackReal · May 09, 2015 at 10:38 AM · c#mobilevideo

Create an animation from a bunch of .png images to be used on mobile

I don't have Unity pro, so a good while ago I wrote a script which draws images on screen from a file each frame or so and makes it look like a video is playing. Currently, the script might be a bit heavy for a mobile (or would it really? I do not have a mobile to test it on). I thought, maybe there's a better way to draw a video in a similar technique - I was thinking maybe I could make a sprite sheet and play it as an animation (but still, there's 100+ .png images) or maybe there's a better approach? That is exactly the question - what would be the best way to play a 100 images from a folder as a video and do it so the mobile device wouldn't explode (or just crash). Thank you and c#. Adas Lokys

Comment
Add comment · Show 2
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 TriBolt72 · May 09, 2015 at 01:00 PM 0
Share

This isn't as much of answer as it a a suggestion, but have you seen the LiveTexture plugin from Prime31? I know for sure it works on iOS. I'm not 100% if that'd help solve your problem but I'll let you check it out. Sadly, it is not free, and I have yet to try it. https://prime31.com/plugins

And no, I am not with Prime31 in any way whatsoever.

avatar image PhoenixBlackReal · May 09, 2015 at 01:24 PM 1
Share

Thanks for the suggestion! However, I would very much like to script it all myself and will take that on this evening. It'd be interesting to see how they tackle this problem, though.

3 Replies

· Add your reply
  • Sort: 
avatar image
13
Best Answer

Answer by xortrox · May 09, 2015 at 01:39 PM

Doesn't have to be a spritesheet for it to be an animation. In 2D mode you can just select all the images inside unity and drag them into the scene view and unity will prompt you to save an animation.

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 PhoenixBlackReal · May 09, 2015 at 03:46 PM 0
Share

This is actually a very good solution to my problem, thanks!

avatar image ckombo · Dec 30, 2017 at 10:18 PM 0
Share

What if you're using 3D mode? I'm trying to use a png sequence with transparency for AR.

avatar image demongold811 · Oct 16, 2020 at 02:27 AM 0
Share

HAHA, Thank you!

avatar image
0

Answer by ninjared4 · May 09, 2015 at 03:15 PM

First make a folder in Unity with all of your animation pictures in it. Then go to the animation window(you may have to open it from the Window button in the toolbar). Then click:

Add Curve > Sprite Renderer > Sprite.

Then you can set the sprite in the Inspector window as you would normally.

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 Sethhalocat · May 09, 2015 at 03:22 PM

I would reccomend taking a look at the custom 2d game character unity has made for you and.trying to work with that.

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

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

Related Questions

Multiple Cars not working 1 Answer

Distribute terrain in zones 3 Answers

onControllerHide() crash 0 Answers

How to display a video behind gui on mobile 2 Answers

Android MP4 Video Playback 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