BLUI Open Source HTML5/JS/CSS HUD/UI

Hello everyone, just wanted to drop that release 2.5 is out!

Includes a bunch of performance tweaks (that can be toggled in the C++ source with a single boolean, or customized with chromium flags) and OSX support!
OSX support is very much in beta, so please let me know what needs fixing etc.

Thanks again for all the support!

Hello

What a great job you did with this plugin! I already love it!
Please tell me how could i recompile my modifications ?

Iā€™m trying to just reactive the console log in BluEye.cpp in your demo project release 2.4

void UBluEye::ExecuteJS(const FString& code)
{
CefString codeStr = *code;
//UE_LOG(LogBlu, Log, TEXT(ā€œExecute JS: %sā€), *code)
browser->GetMainFrame()->ExecuteJavaScript(codeStr, ā€œā€, 0);
}

I uncommented the log but Unreal Editor doesnā€™t recompile my changes.

What do i miss ?

Thanks again for sharing your work.
Jim

I regenerated the C++ project from the BLUIDemo.uproject (right click regenerate) and now i can compile!

[QUOTE=Wulzron;304082]
I regenerated the C++ project from the BLUIDemo.uproject (right click regenerate) and now i can compile!

Hello! Just checking in to make sure you solved your issue!
Was a bit busy with my job today, if you have any more problems just post them here and Iā€™ll do my best to help you out.

Just installed 2.5 and added the latest source files and thereā€™s an error when loading the project:

bluierror.png

Reinstalled. Itā€™s working now.

[QUOTE=OceanCom;306065]
Reinstalled. Itā€™s working now.

Hello,

Yes, Iā€™ll leave this as a notice for others, but 2.5 requires you to replace all files including the ones located in Win64. But this is also noted on the release page.

Hi ,

Excellent work on the latest releases. Performance is no problem for me now including intensive JavaScript ! :slight_smile: - So I am in full swing when it comes to development.

Butā€¦ I am here to report some bugs too. You probably already know about them but Iā€™d thought Iā€™d share.

Bug 1:

Architects flicker on the screen if you are using a fullscreen html page.

Bug 2:

If you run from the editor in ā€œStandalone Gameā€ mode, the game will load and then crash with the following error.

[QUOTE]
UE4Editor_RHI!FRHIResource::AddRef() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\source\runtime\rhi\public\rhiresources.h:29]
UE4Editor_Blu
UE4Editor_Blu
UE4Editor_Core!FTaskThread::ProcessTasks() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\source\runtime\core\private\async askgraph.cpp:430]
UE4Editor_Core!FTaskThread::ProcessTasksUntilQuit() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\source\runtime\core\private\async askgraph.cpp:273]
UE4Editor_RenderCore!RenderingThreadMain() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\source\runtime\rendercore\private\renderingthread.cpp:279]
UE4Editor_RenderCore!FRenderingThread::Run() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\source\runtime\rendercore\private\renderingthread.cpp:380]
UE4Editor_Core!FRunnableThreadWin::Run() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\source\runtime\core\private\windows\windowsrunnablethread.cpp:73]
UE4Editor_Core!FRunnableThreadWin::GuardedRun() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\source\runtime\core\private\windows\windowsrunnablethread.cpp:26]

Thanks again.

[QUOTE=paulv2k4;307255]
Hi ,

Excellent work on the latest releases. Performance is no problem for me now including intensive JavaScript ! :slight_smile: - So I am in full swing when it comes to development.

Butā€¦ I am here to report some bugs too. You probably already know about them but Iā€™d thought Iā€™d share.

Bug 1:

Architects flicker on the screen if you are using a fullscreen html page.

Bug 2:

If you run from the editor in ā€œStandalone Gameā€ mode, the game will load and then crash with the following error.

Thanks again.

Hello again, glad to hear that the performance updates really helped you out!

For bug #2, when you play as standalone, it copies a binary of the game to a temp folder in your project directory which does not container the sub-process executable. This isnā€™t really something that can be fixed as it requires the same files to be present as if you were shipping the game.

Could you give an example of what you mean by bug #1? Perhaps a page where you see it occur?

Hi All,

is anyone running the plugin under 4.8 successfully?
I can open a page but somehow I canā€™t manage to get any input on that page, neither mouse click nor key down. Not sure if Iā€™m doing something wrong or plugin is not working under that version.

@, great work man, youā€™ve build an plugin.

@, donā€™t know if this is covered somewhere but the SendMouseClickEvent() method expects the mouse click position relative to the browser window but the OnMouseButtonDown (exampleHUD) function is passing the click position relative to the view, which works if the browser is as large as the viewport, if itā€™s a window itā€™s not working.

Still I have the problem that I canā€™t type anything in a browser textboxā€¦ need to figure that out.

[QUOTE=;309703]

I can open a page but somehow I canā€™t manage to get any input on that page, neither mouse click nor key down. Not sure if Iā€™m doing something wrong or plugin is not working under that version.

It is working for me on 4.8. Have you set input mode and show mouse cursor?

Hello everyone, sorry about being late to replies. Work has been quite busy!

Iā€™ve tested BLUI so far on 4.8 with Windows and OSX. As far as I can tell there is only a minor bug in OSX which will be patched soon! Windows transitioned over fine, and Iā€™ll be testing Linux soon.

Also be sure to check out the Blueprint node docs on the GitHub page Wiki!

Iā€™m trying to make an educational demo using BLUI for popup informational windows. Iā€™m a newbie at UE (background in 3d animation) and am having a hard time getting it to do what I want. If I just put the content on a plane or widget in the level, the texture seems too low resolution to really be usable for anything with much text. Is it possible to ramp that up, or should I maybe have the user click on something and thatā€™d pop up a HUD-style screen for them to read and interact with? Any help is appreciated!

Hi ,

Iā€™m trying to include BluEye.h in one of my classes but itā€™s giving out errors.

Including the paths did not help:


PublicIncludePaths.AddRange(new string] { "Blu/Public", "Blu/Private" });

Do you have any suggestions?

[QUOTE=;307532]
Hello again, glad to hear that the performance updates really helped you out!

For bug #2, when you play as standalone, it copies a binary of the game to a temp folder in your project directory which does not container the sub-process executable. This isnā€™t really something that can be fixed as it requires the same files to be present as if you were shipping the game.

Could you give an example of what you mean by bug #1? Perhaps a page where you see it occur?

It is okay , I think my PC was having a bad day as it hasnā€™t happened since. thanks anyway.

Iā€™d thought id share a screenshot of it in action to make you smile. :slight_smile:

Thanks again.

Hi . Error twich.tv is there a solution or idea?

[QUOTE=Anafeyka;313644]
Hi . Error twich.tv is there a solution or idea?

Does twitch have a html5 video player?

[QUOTE=Errvald;313853]
Does twitch have a html5 video player?

Twitch does not, itā€™s still stuck in the old ways of Flash video. If you have Flash player installed it should work, but Flash cannot be distributed with Chromium or BLUI due to legal reasons.

[QUOTE=paulv2k4;312746]
It is okay , I think my PC was having a bad day as it hasnā€™t happened since. thanks anyway.

Iā€™d thought id share a screenshot of it in action to make you smile. :slight_smile:

Thanks again.

! Glad everything worked out