The shader effects now work correctly on the scene actors, but the application of shaders should be on the animation class.
This commit is contained in:
parent
22db12f5e4
commit
05fc9062a7
11 changed files with 33 additions and 16 deletions
|
|
@ -24,6 +24,7 @@ namespace gui {
|
|||
{
|
||||
$gui.set<Sprite>(button, {icon_name});
|
||||
$gui.set<Sound>(button, {sound});
|
||||
|
||||
$gui.set<Effect>(button, {.duration=0.5f, .name=effect_name});
|
||||
$gui.set<Clickable>(button,
|
||||
guecs::make_action(button, event, {action}));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue