Unreal Engine 4 Video Tutorials using Coherent UI

Hi everyone,

What makes the UE4 community so great is that developers from all over the world are helping each other with counseling, tutorials and even code snippets. In this thread, I and friends of ours will be sharing plenty of Unreal Engine 4-related tutorials using the plugin.

I hope you find these helpful and I would very much appreciate your feedback and your requests for further tutorials.

The first very simple and basic tutorial will show you how to install the Coherent UI plugin for UE4 and how to quickly add an UI HUD to your game:

**Coherent UI for Unreal Engine 4 Installer and HUD tutorial **

Cheers!

**Activating Coherent UI plugin for Unreal Engine 4 **

In this is very short tutorial we guide you through the steps you need to complete to activate the Coherent UI plugin for UE4.

**In-game surface views in Unreal Engine 4 with Coherent UI **

In this tutorial we’ll show you how to make surface views in your UE4 game in just few steps. First, we create a material for the mesh. Second, we create blueprint from the mesh and add the material and the Coherent UI component. Finally, we use the blueprint in the level.

**Forwarding Keyboard Input to Coherent UI **

In this video, part of the Unreal Engine 4 tutorial series, we will show you two ways of forwarding a keyboard input to Coherent UI views, without having any changes done in UE4. This code will be available in our next version of Coherent UI for UE4. We have made the code very extensible, so without making too much changes, you can forward this input any way you like. This video explains in details how to do all this modifications.

**Coherent UI Menu Binding **

In this tutorial we are going to show you how easy it is to add game menus for your game via Coherent UI. In the first part we will bind a main menu and in the second part we will show binding of an in-game menu. The tutorial in its core will present communication between C++ game code and JavaScript and vice versa.

**Menu Binding with Coherent UI part 2 **

In this tutorial we setup binding for the health and ammo bars in our sample game. We also setup the binding for player options in the in-game menu.

**Coherent UI integration with Blueprints **

In this tutorial we show you how easy it is to add a Coherent UI view to your game by using just blueprints.

Rama says Hi From Inside His Mech! Video !

Dear Community,

Hi there!

I am writing to you from inside my Golden Mech!

The mountains are lovely!

The time is 34751 GDT !

The ambient temperature is 34 degrees!

All systems nominal!

Well I am going to have to get going soon and move out to nav point alpha.

But I hope you all have a wonderful day!

I will post a video shortly explaining the full details of what this thread is about, so stay tuned!

Khan Rama Sends you his best!

:heart::heart:

Rama

Explanation of Previous Post & a Video

The Video

This video is a recording of a historic moment in gaming and Unreal Engine history!

This video marks the first UE4 forum poster, me Rama, to ever start a forum thread from inside his Golden Wind Turtle Mech!

You also get to watch me check my forum inbox with the glorious mountains of a distant world in the background!

[FONT=Comic Sans MS]:heart:

Rama

PS: If you read my post above this one and then watch the video, all things will become clear, and the Magic of Coherent UI will be revealed

:o

My basic guide on Coherent-UI. Here i create an animation in Adobe Edge Animate and trigger that animation in-game using C++ and Blueprint.

Hey guys,

we made a short demo reel of our integration in UE4. We took the Shooter Game provided by Unreal Engine and put an alternative HUD that replaces the one made with Slate.

The UI elements that you’ll see in the HUD are: animated HP bar, animated ammo count, kill counter, current weapon indicator and a detailed kill log.

The Demo also glances at the possibilities of using UI elements in the 3D game world. First, we open an inventory, where we change our primary weapon, after which we hit a UI button to “take the elevator” and go to a secret location in the level. Of course the latest can be used for different kind of player interaction (e.g door handlers, monitor screens, etc.)

The two way UI binding (game -> HTML and HTML -> game) is done all in blueprints without a single line of C++. The only thing that is done in C++ is broadcasting events for when health or ammo is changed.

Hope you guys will like the vide, we’ll be making a series of tutorials on how we did it :slight_smile:

Cheers!

Hey everyone,

аs promised, we have prepared a short series of three video tutorials in which we will show you the Coherent UI – UE4 integration in the making. We will also demonstrate how to call Blueprint functions from JavaScript and vice versa.

The first part of the series will show how to integrate Coherent UI with your Unreal Engine game with few simple steps:

  1. Copy the CoherentUI folder to “YourGame\Plugins to YouGameFolder\Plugins”.
  2. Reboot your editor.
  3. Go to “Window->Plugins->User Interface” and enable the plugin.
  4. Spawn and setup a view entirely from blueprints.

Cheers!

The second part of this tutorial will go a bit further in the UE4 game UI integration. We will show you how to do game to HTML/JavaScript binding in your Unreal Engine 4 project. For this purpose we will create a simple game logic that counts the character’s health and ammo (number of shots that have been fired). We did it in the following steps:

  1. Setup the Health and ShotsFires variables.
  2. Listen for the Character Fire event.
  3. Increment the ShotsFired variable.
  4. Trigger a JavaScript event sending the ShotsFired to the HTML as parameter.
  5. Listen for player Hit events.
  6. Check if the player is hit by a projectile.
  7. If the player is hit -> decrease health.
  8. Send the current Health to the HTML.

Cheers!

The third part of this tutorial will show you how to do HTML/JavaScript -> game binding and present a sample usage of UI in a 3D world. In order to keep it simple, we will spawn a clickable button in the world and attach game logic on its click (moving the object). We’ll go straight to the steps to get it done.

  1. Copy the resources needed for this tutorial.
  2. Open the Level Blueprint.
  3. Spawn a CoherentUIInputActor and Initialize it.
  4. Spawn a CoUIPlane that will hold a HTML button.
  5. Register for the button click event.
  6. Create a bool variable that will hold the state of the cube.
  7. Move the cube depending on its state.

Cheers!

With Coherent UI 2.2 release for Unreal Engine 4 we introduced our new feature Live Game Views. We already explained how to create picture-in-picture in your own project Here. Now, we are happy to show you a video tutorial on how we did it and also better demonstrate the final result :slight_smile:

Cheers!

Hey guys,

How often do you think of the time and efforts you spend to create the basics of your own UE4 HUD and UE4 Game Menu?

I would like to present you of the newest Coherent UI features, available in our 2.3.0.0 release – the Coherent UI Menu Kit for Unreal Engine 4.

The UE4 Game Menu Kit is designed to take away the hassle of creating a simple usable menu that works using only Blueprints. No C++ code at all. In just a matter of minutes you can add any number of buttons and attach handlers to each of them, saving you precious prototyping time.

Here’s what has to be done – 3 simple steps:

  1. The HTML Menu page that comes with the Kit has everything setup, so you just have to load it using the Setup UI View box.
  2. Use the Setup UI Menu box. It takes two parameters – a view component that will be used to display the menu (this should be one that has already loaded the Menu HTML page) and Menu Info – a struct that holds the menu button names and some additional visibility and positioning options. The box returns a menu object that will be used to handle click events.
  3. Attach handler for the OnMenuButtonClicked event dispatcher of the menu object. The dispatcher fires an event for every button clicked and has the name of the button clicked as a parameter.

In the video below, one of our developers – Stan is doing a thorough guide of how to setup your own UE4 Game Menu, using Coherent UI. Enjoy!