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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

(Feature request) Billboard Flipbook and UMG Flipbook

I know that you can make an actor look at you, but I would like to have a character BP inherit a billboard flipbook. The reason why I want this is because I wanted to make a game sort of like Doom and Shadow Warrior. The 2.5D method of art. I have been looking around for any news for an update that would support this idea, but so far nothing. I am hoping the people at epic or the unreal devs would see this post and take my request into consideration.

The other thing I would like to request is adding some sort of flipbook within UMG, so I can have sprite animations of the character perspective of fists punching and gun shooting. If there is another way to do this, then please tell me. Thank you for your time. -c0mbatcat

Product Version: UE 4.9
Tags:
more ▼

asked Sep 09 '15 at 11:54 PM in Rendering

avatar image

c0mbatcat
11 5 8 9

avatar image grisevg Feb 08 '16 at 11:28 AM

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

avatar image AndrewHurley Feb 08 '16 at 02:58 PM

Hey grisevg,

If you would like you can submit an official GitHub pull request. We have instructions on the Epic Wiki that will help you get set up to the point of submitting a pull request. Thanks for taking the time to create your own code fix and sharing!

GitHub Setup

https://wiki.unrealengine.com/GitHub_Setup

Cheers,

Andrew Hurley

avatar image grisevg Feb 08 '16 at 03:13 PM

Oh, to be submitted to the engine it needs to be properly rewritten. It needs to extend UWidget instead of UImage and be able to work with flipbooks. It might take me a bit to implement it in that way, but I'll definitely will do my best. It would love to contribute to UE4.

avatar image AndrewHurley Feb 08 '16 at 03:41 PM

Cool deal, thanks again!

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

2 answers: sort voted first

Hey c0mbatcat,

You will find you can create you own custom material that uses the Flipbook node. The node takes in a texture object and allows inputs for Rows, Columns, UV, Time, etc..

The resources below should get you to a good starting point.

Flipbook Material Creation

https://docs.unrealengine.com/latest/INT/Engine/Rendering/Materials/Functions/Reference/Misc/index.html#flipbook

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

Flipbook Tutorial

https://www.youtube.com/watch?v=0C2Sj7C0RjE

After you have this portion of the material you can add the camera facing function. Check out the Math Hall Content Example level. There is are 2 styles of camera facing math examples show near the very end. Both of those techniques to do speedtree style camera facing sprites. You can also transform the normal map properly so the sprites light correctly as they rotate.

After you have created the material, you can simply add this to your Widget Blueprint as an Image.Let me know if this was helpful or if you have further questions.

Thank you,

Andrew Hurley

more ▼

answered Sep 10 '15 at 08:18 PM

avatar image c0mbatcat Sep 11 '15 at 02:42 AM

:O Thank you! I didn't even know that a flip book node existed.

(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:51 AM

avatar image

dorgon chang
88 9 14 22

(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