|
|
Line 479: |
Line 479: |
|
| |
|
| ====HUD==== | | ====HUD==== |
| =====Mouse cursor=====
| |
| Tested in v4.18
| |
|
| |
| You need three things for a custom mouse cursor:
| |
| # a texture, likewise with transparency, ergo in PNG format
| |
| # a widget blueprint with and image element where you plug in that texture
| |
| # a change in the project settings
| |
|
| |
| In the project settings go to Engine > User Interface > Software Cursors.
| |
|
| |
| Add a new software cursor with "Default" option and pick your newly create cursor widget as map element.
| |
|
| |
| The cursor might act strange in the editor's play mode. This should go away as soon as you test it via Lunch.
| |
|
| |
| '''Finetune the widget image by moving it in the upper left corner.''' If its size is 32x32 then use the half (16) for the X and Y positioning.
| |
|
| |
| Note of warning: DPI scaling doesn't seem to affect the mouse cursor at all.
| |
|
| |
|
| |
|
| =====Health bar===== | | =====Health bar===== |