Jump to content

Restless Souls/Wishlist: Difference between revisions

m
→‎Widgets: F1 for wireframe mode in Unreal Editor
m (removed obsolete image caption)
m (→‎Widgets: F1 for wireframe mode in Unreal Editor)
Line 588: Line 588:


====Widgets====
====Widgets====
[[Image:ue4_open_close_a_menu_widget.jpg|400px|right|thumb]]
[[Image:ue4_open_close_a_menu_widget.jpg|400px|right|thumb|For testing purposes H key is used to show the pause menu. F1 will let the Unreal Editor switch wireframe mode.]]
<!--obsolete with IsValid node [[Image:ue4_create_widget_ref_after_BeginPlay.jpg|400px|right|thumb|Creating a menu reference at BeginPlay. Reminder: "Cast To ..." node is used to get variables from another blueprint.]]-->
<!--obsolete with IsValid node [[Image:ue4_create_widget_ref_after_BeginPlay.jpg|400px|right|thumb|Creating a menu reference at BeginPlay. Reminder: "Cast To ..." node is used to get variables from another blueprint.]]-->
Any key can be used to open a menu. But when the game gets paused too then pressing the same key again cannot close the menu.
Any key can be used to open a menu. But when the game gets paused too then pressing the same key again cannot close the menu.
Line 605: Line 605:
Buttons have 4 styles: Normal, Hovered, Pressed, Disabled.
Buttons have 4 styles: Normal, Hovered, Pressed, Disabled.


For now lets use only 2 texture: one for Normal, one for Hovered and Pressed.
For now lets use only 2 textures: one for Normal, one for Hovered and Pressed.


The Disabled style just uses a tint color on the Normal texture with an RGBA of 000000FF.
The Disabled style just uses a tint color on the Normal texture with an RGBA of 000000FF.
8,018

edits