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. 

Best way to communicate with web control?

Generally I've run into a lack of documentation around the experimental web control UI element. I'm hoping someone has some tips for working with it and interacting in turn with the game. For instance:

  • What is the best way to pass events back and fourth? Can this work directly via JavaScript on a rendered page in the element or do I need to set up something like an instance of node.js running alongside with some named pipes or shared memory going back to a c++ helper class?

  • If I cover the entire screen with a mostly transparent canvas element within the web control, how do I delegate which mouse events and such get passed back to the game and which ones get stopped in the web control? Would stopping the bubbling of the event in the page (like you would normally do to stop events from bubbling up from a div or canvas to the document or window levels) do it or should the page capture all mouse/keyboard info and send it back to the game?

  • Any other things of note with the web control? Are there current known issues with it I should look out for or anything that is an issue and won't be fixed I need to be designing around? Is it safe to treat the UI like a normal web page and just assume that when my game is wrapped up in a year or so the web control will be complete?

Having a lot of fun with UE4 thus far, aside from UI it's a breeze.

Product Version: UE 4.15
Tags:
more ▼

asked Feb 20 '17 at 11:26 AM in Using UE4

avatar image

CoryG
123 13 20 30

avatar image Dannington Feb 21 '17 at 05:09 PM

Very timely! I'm really interested in this too. I've been using BLUI to date but it's now unmaintained and i'd like to be able to use Epic's implementation for stability and future proofing.

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

0 answers: sort voted first
Be the first one to answer this question
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