x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

UMG: Anyway to use a sprite flipbook?

I have some UI elements animated and exported into a sprite flipbook. Is there anyway I can use this in UMG? I'm currently just parenting it to the player camera's blueprint, but this leads to some weird graphics effects when moving the camera around. Alternatively, is there a way I can simply add it to the viewport?

Many thanks!

Product Version: Not Selected
Tags:
more ▼

asked Sep 17 '14 at 08:12 PM in Using UE4

avatar image

ianoreo
137 11 15 20

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

3 answers: sort voted first

Hey guys, I've hacked together an AnimatedImage class for doing spritesheet animation in UMG: https://gist.github.com/grisevg/beaf25a85bb6ce005b17

more ▼

answered Feb 08 '16 at 11:23 AM

avatar image

grisevg
141 8 15 20

avatar image Strider57 Apr 28 '18 at 05:50 AM

And it works beautifully. Highly recommended. Wanted to add jittery text label, seemed way to complicated until I tripped over this post. https://www.dropbox.com/s/jsqvzf7pdgmms8k/HEAT%20v0.1.mp4?dl=0

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

hi, I created a plugin that can support use flipbook directly in UMG.

You can find my plugin in marketplace: https://www.unrealengine.com/marketplace/horizon-ui-plugin

You can try HorizonFlipbookWidget in this plugin.

cheer :)

more ▼

answered Jul 13 '16 at 01:52 AM

avatar image

dorgon chang
88 10 14 22

avatar image grisevg Jul 13 '16 at 02:07 PM

Nicely done! Does it include source? Is it ok to modify it?

avatar image dorgon chang Jul 13 '16 at 02:53 PM

yes, if you buy the plugin you can get source code, and it is ok to modify source for your own project if you want.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

You would have to use a material to animate a texture with subuvs, UMG widgets don't understand Paper2D's flipbook asset.

Cheers, Nick

more ▼

answered Sep 17 '14 at 08:46 PM

avatar image

Nick Darnell ♦♦ STAFF
6k 77 37 151

avatar image Roccinio Nov 29 '14 at 12:51 PM

Any chance to see this fixed in 4.7? Us paper2d guys need to feel that you love us as well Nick! :)

avatar image Nick Darnell ♦♦ STAFF Nov 29 '14 at 04:15 PM

Probably not; it's not a trivial change to make and there are too many other higher priority things. Michael Noland would probably need to do it, as it will I believe require moving some paper2d types into the core bits of the engine. To make them accessible to the slate rendering pipeline for UMG.

avatar image Max4dmoon Apr 08 '15 at 02:52 AM

Hello there,

I'm confused because I've been able to add a simple flipbook to UMG and it worked (added to the viewport) then I've tried the next step (which is what I really need) assigning the UMG (with the flipbook) to a 3D widget but nothing shows up.

Nick: would it be possible to get an update on what is currently working and not working please ? (I'm not sure if I'm doing something wrong or If there is no way it's going to work)

avatar image ianoreo Apr 08 '15 at 08:35 PM

Hey, Did you use a material for the flipbook or literally the Paper Flipbook itself? Would love to know how you've set that up, as I've had to resort to just dropping the flipbook actor into the scene and parent to camera. Been able to get a flipbook material working as an image, though haven't tested with 3D wigets themselves.

avatar image Max4dmoon Apr 11 '15 at 02:17 PM

Hello,

I'm working on a 3D project and used flipbook only once for this test so pardon me if my explanations are not very clear.

Disclaimer: I don't know what is a paper flipbook, is it the same as just a flipbook texture ? What I did is create a flipbook texture, made a material out of it, checked things like "used for UI" for example to prepare the material...then assign the material in UMG and it worked.

But it only works in viewport, I've been unabled to make it work as a 3D widget.

Hope it helps.

avatar image daydreamjy Apr 22 '19 at 04:31 PM

I am also experiencing this problem now. After one year, I would like to ask if there is any good liberation method?

avatar image Mortusnyte Jul 27 '15 at 02:24 PM

When I need looping animations in my widget I just create and image and a Macro in the graph that loops a set of textures in the brush properties of the image.

avatar image Dryfter Nov 03 '15 at 01:01 PM

Wait, so there is a way? Sounds simple enough but a few things are unclear...which graph would you place said image and macro? Brush properties? Could you give an example please or point me to one please? That sounds like exactly what I've been looking for for the last few days and I'm stumped...

avatar image ianoreo Nov 04 '15 at 03:04 PM

I don't know if it's the solution you are looking for, but I ended up using Materials that had the Flipbook material function in them instead. Very easy work-around to get image sequences working well in UMG!

Additional info: https://docs.unrealengine.com/latest/INT/Engine/Content/Tools/RenderToTextureTools/5/index.html

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question