HorizonUI Plugin: UMG Extentions

hi all,

I had created a plugin that contains some useful widget for UMG, it just released in market.

If you find any bug or have any suggestion for the plugin, I am glad to hear from you.

Here is the detail of my plugin:

MarketPlace link

Description

Preview: [video]youtube.com/watch?v=GQBd2qAEpCg&feature=youtu.be [/video]

Currently has two widget implemented:

  1. HorizonFlipbookWidget: This widget support using PaperFlipbook directly in UMG!
  2. HorizonDialogueMsgTextBlock: Combine both rich text and dialogue text function in this widget!
    For rich text feature: you can control text Color, Shadow Color, Font, Font size and padding for each text block.
    For dialogue text feature: you can control dialogue speed and whether it will repeated after finish.

Technical Details

Modules:
• HorizonUI (Runtime)

Intended Platform: All Platforms
Platforms Tested: Win32, Android
Documentation Included: Yes and Readme included

Contact and Support

support email: dorgonman@hotmail.com

thanks :slight_smile:

version 1.1.0 update at 2016.08.15

now you can use style for rich text block, here is sample:

example 1: rich text simple using style feature

<text style=“MyStyle0”>This is rich text test using style:</text>
<br/>

<text style=“MyStyle1”>This is strawberry:</text><img style=“MyStyle2” /><br/>

<text style=“MyStyle3”>This is Watermellon:</text><img style=“MyStyle4”/> <br/>

<text style=“MyStyle5”>This is animated man using material:</text><mat style=“MyStyle6” /> <br/>

<text style=“MyStyle7”>HorizonFlipbookWidget(use tag pfb) Only Supported by using style:</text><pfb style=“MyStyle7” /> <br/>

result: https://github.com/dorgonman/HorizonUIPluginDemo/blob/release_1.1.0/ScreenShot/HorizonUI_FeaturedNew.png

MyStyle0 ~ MyStyle7 is a array that can be setted in UMG editor under HorizonPlugin/Style section
ref: HorizonDialogueTextBlock_SegStyleList.png - Google Drive


Version History

1.1.0

  • NEW: Add style feature for HorizonDialogueMsgTextBlock
  • FIX:
    1. Fix Crash when putting a flipbook nested in a button.
    2. Fix ensureMsgf check fail by set widget outer to WidgetTree.
    3. Fix some display bug in UMG Hierarchy. Don’t call RebuildSegmentInfoList if it is created from palette.
  • REFACTOR:
    1. Move HorizonUI module from Source/HorizonUI to Source/Runtime/HorizonUI
    2. Rename Blueprint UPROPERTY Category for class members in HorizonFlipbookWidget and HorizonDialogueMsgTextBlock
    3. Minor code refactoring
      1.0.0
  • NEW: First Version including core features.
    1. HorizonFlipbookWidget
    2. HorizonDialogueMsgTextBlock

version updated!

Demo Project and document: GitHub - dorgonman/HorizonUIPluginDemo at release_1.2.1

1.2.0

  • NEW: HorizonFlipbookWidget:
    Add NumOfLoop that you can specify how much loop this Flipbook will play.
    Expose Blueprint Method: ResetAnimation, PlayAnimation, StopAnimation, PauseAnimation, ResumeAnimation.

1.2.1

  • FIX:
    1. The times HorizonFlipbookWidget NumOfLoop for flipbook animation plays incorrectly.

1.2.3

  • Upgrade engine version to 4.14

1.2.4

  • UPDATE: update to engine 4.15

Hello,

This plugin does not work in 4.15 for me. It says it is missing some modules.

hi, sorry be late reply, I didn’t be notified that this thread has response.

Did you still have this problem?

If so, I suggest you clear Intermediate and Binaries in your folder and try again.

If you still can’t compile, please try to create a new project and see if plugin works.

Hello !
I have encountered a situation that leads to a crash : if in an Event you call SetTextAndRebuildDialogue to modify the content of the TextBlock that triggered the Event, the game crashes.
See modified Tuto08_HyperText Event Graph attached as image file.

hi, i can’t reproduce your crash, could you please send me the files under Saved\Logs and Saved\Crashes?

Yes, here there are.
I can reproduce it nearly 100% of the time.

hi,

After check the log, I finally can reproduce the crash.

This crash is caused by the changed of content when a hypertext block is click, so please don’t call SetTextAndRebuildDialogue for the widget itself that are clicked. (In this case is HorizonDialogueMsgTextBlock2).

Anyway, I will fix this crash in next plugin release.

Thank you for your bug report.