[PLUGIN] RadiantUI SDK - UIs, HUDs, Interactive WebViews - HTML5/Javascript/CSS

So far I’m really likeing RadiantUI :slight_smile: Major issue, I don’t use Adobe Edge, I use Google Web Designer… soo I have to kinda figure out how to do the javascripting for the HUD not using it :slight_smile: either that or just break down and learn how to use Adobe Edge…

Keep in mind RadiantUI is generic, there is nothing special about content authored in Adobe Edge, or Google Web Designer, or hand written HTML and Javascript. From the SDK’s perspective it just loads HTML and has hooks for Javascript. Your choice of toolset or library should be done to maximize your productivity, so stick with what you like and know.

Thanks for the quick reply, Quick question then, when I click a button on the hud, what do I need to call for Javascript like say the button makes the game quit, Engineon or something like that?

There are 2 Javascript functions that are injected by the SDK into any page you load:

RadiantUI.TriggerEvent(“EventName”, … (arguments)); // Will execute a function named EventName on whatever Unreal class you are using to run the webpage and pass it the parameters requested. If the argument types don’t match the UFUNCTION an error is reported and the method isn’t called.

RadiantUI.SetCallback(“NameOfCallback”, function()); // Binds a javascript function named “NameOfCallback” to the function you provide. Blueprints or C++ can call this function, see the video tutorials.

Hopefully that is useful.

Really Nice!!
Does RadiantUI play videos in HTML5 <video> tags?

Yes it does but beware that certain kinds of video require you to license a decoder (like flash for example which is not provided with the SDK). I have customers that are using it for video playback so it should work.

Hey , have you had a look at the 4.5 preview yet? Just curious how difficult it will be/long it will take to update Radiant, we’ve got a fairly big project already underway and I’m trying to figure out whether we’ll be able to move to 4.5 or not.

Hi I have not looked at it, however I don’t anticipate it being difficult… the main downtime issue with the last update was website infrastructure and actually getting a build out to people. This time it should be much easier. We’ll see when it officially lands.

EDIT: Oh and one more note, a project I have working on is also using Radiant so there is the need for me to update for that as well, which means it will be of high priority.

Good to hear, thanks for the quick response :slight_smile:

Unfortunately Epic has made it impossible for me to support UE 4.5… They removed custom nonrectangular hit-testing completely, meaning I can’t integrate at all with Slate in 2D… From the source:



/**
 * DEPRECATED: This function caused a lot of confusion, and we found that all known uses of it were unnecessary.
 * We will provide a less confusing API for supporting non-rectangular hittesting and pixel-perfect hit testing.
 */
DEPRECATED(4.5, "OnHitTest is no longer called. It will be replaced by more robust hit testing logic in the near future.")


Well that’s frustrating, why remove a feature without replacing it? (Also kind of unintentionally offensive “All known uses of it were unnecessary”). Looks like we’ll be sticking with 4.4 for now then :frowning:

At least it sounds like there will be something coming in the near future to replace it (that will hopefully support Radiant). Have posted on the Answerhub to get assistance?

I need this! PL can you tell me how to make?

I mean that can you proide a dload link for the demo.

In case existing customers didn’t get the email I released beta 6 last night with preliminary UE 4.5 support. Use at your own risk since Slate removed non-rectangular hit testing all Radiant HUD elements are considers opaque for input purposes. There also may be additional issues with this or bugs and side effects I haven’t anticipated so please inform me of any issues!

@ there is no demo version.

Hmm, curious as to if the 4.4.x version will work with 4.5.1 Unreal Engine

Has anyone managed to get this compiling on Linux and Mac clients?

in ue4.6,when I packed,the Web page not displayed, how to use it? thanks very much

So I got RadiantUI installed, I wanted to use svgs for my menu graphics, but they just dissapear when I load it in the engine, any ideas on how to fix it?

P.S: I’m using edge animate.

Hello , I created a thread on in-game transactions recently and I was pointed to this plugin which I now plan to use for a UE4 project. Anyway the thread was on the topic of in-game transactions through the use of CMS systems such as WordPress and I’m wondering if you’ve considered any extra communication functionality for RadiantUI beyond displaying pages? The idea is that users could set up a WordPress website with a marketplace accessible via RadiantUI which would also allow users to make purchases (Unlock Inventory Items in UE4). I’m not sure if you’re familiar with WordPress plugin development however I figured I should mention this idea considering I’m sure this would make micro-transactions and user memberships extremely accessible to indie developers without coding experience. WordPress obviously has loads of useful plugins that could provide tons of transferable data for games such as currency (MyCred), marketplace (WooCommerce), membership (S2Member) and so on.

Also I guess any developer could create a similar plugin however it would be nice to have these features easily compatible with RadiantUI. Seriously this would make for a great combo and I think this could be one of the most popular plugins for network related UE4 projects! :slight_smile: