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. 

How can I start the development of my UI and continue it with UMG?

Hi, I'm in internship in a company who use ue4. My job is the UI. For weeks, i try to do it with blueprint, but i think that's not the best way. I know c++, but i'm not a master, so i don't know if i'll exactly make a perfect UI by using code. I see that UMG will coming, but i can't wait so long ...

So, my question is : how can i start develop my UI properly and continue it with UMG later (without repeating what I have already) ? I don"t know if the actual blueprint way will be totally compatible with UMG. I guess UMG will do much better than what i do in blueprints, so i don't know which way will be the most reusable : Slate & C++ or Blueprint (or neither) ?

Thanks !

Product Version: Not Selected
more ▼

asked Jul 17 '14 at 08:17 AM in Blueprint Scripting

avatar image

16 2 4 4

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

1 answer: sort voted first

Hi Laury,

UMG is indeed in progress at the moment. UMG is a two-part process:

  1. Build a Visual Editor for Slate. (As part of this, expose Slate to Blueprints)

  2. Add more whiz-bang run-time features to Slate so that fancier visuals can be achieved.

From the above you might surmise that UMG uses the Slate runtime. In fact it generates Slate widgets. In theory it will be possible to use both. However, as we haven't tested this out thoroughly, we aren't sure how far that workflow can be pushed.

What you should do in the mean time really depends on what kind of UI your are building? Is it a minimal HUD? Is it a complicated RPG menu? Is it an options screen? The optimal solution will be different for each one right now. In the future we do hope that the answer to all of those will be "use UMG".

more ▼

answered Jul 17 '14 at 08:34 AM

avatar image

Fiskislóð STAFF
441 17 11 132

avatar image Laury Jul 17 '14 at 08:47 AM

Thanks for the quick answer ! I'm working on an MMORPG, that's the reason why i think i'll have some problems using c++ or blueprint ...

avatar image iniside Jul 24 '14 at 09:41 AM

Sorry for shameless plug but: https://github.com/iniside/ActionRPGGame/tree/master/Source/ActionRPGGame/HUD/Widgets

You can take a look at my code (it's main reason why it exist after all). You should check out classes:



It's bit rough, and there is a lot of hacking around, copy-paste and calling myriad of other classes (notably PlayerController and Equipment Manager). But it currently work under networking situation, supports drag&drop over UI, and you can see how this system can be used for things like Equiping armor to character or weapons.

I would advice to do not directly copy&paste this code, as it is probably not the best one, and I will probably change in the future. But it works for testing purposes.

avatar image Fiskislóð STAFF Jul 24 '14 at 09:12 AM

Slate might be OK for an MMO UI. It depends on the specific requirement. UMG is not yet ready. Have you looked at Coherent and any other UI plugins?

(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