Search found 48 matches
- 26 Jan 2021, 20:25
- Forum: General Discussion
- Replies: 6
- Views: 1216
Re: External event routing into Noesis
I've attempted to reproduce the small example using DataEventTrigger but Unity is giving me an error: "Unknown type 'NoesisGUIExtensions.DataEventTrigger'" -- any ideas what might cause that? I made sure that this line is in my user control: xmlns:noesis="clr-namespace:NoesisGUIExtens...
- 26 Jan 2021, 20:10
- Forum: General Discussion
- Replies: 6
- Views: 1216
Re: External event routing into Noesis
YES! I think that's what I'm looking for! Thank you so much for the help.
sam
sam
- 26 Jan 2021, 19:24
- Forum: General Discussion
- Replies: 6
- Views: 1216
Re: External event routing into Noesis
Unfortunately, it's more complicated than just the active control -- neither bubbling or tunneling will work in this case. I want any controls in my main window to respond to gameplay events. It sounds like RoutedEvent will just not work. Some examples of how I might use this: - there is a timer, an...
- 26 Jan 2021, 03:02
- Forum: General Discussion
- Replies: 6
- Views: 1216
External event routing into Noesis
I've got some external events happening in my game that I want to route to the UI so it has a chance to respond to them (ie, trigger a storyboard, change visual states, etc). I was experimenting with putting a RoutedEvent and RoutedEventHandler on my main window. That worked great for event handling...
- 18 Jan 2021, 19:31
- Forum: General Discussion
- Replies: 3
- Views: 1157
Re: Sound Action Issue
Looking at this more, it seems like something is broken in wwise...
thanks,
sam
thanks,
sam
- 18 Jan 2021, 18:59
- Forum: General Discussion
- Replies: 3
- Views: 1157
Re: Sound Action Issue
They are almost all triggered by changes in data. For example, a cool down expires and the UI is triggering a PlaySoundAction when they cool down hits 0. I believe we are updating teh view while it's in the background, but I'll verify. When we bring the application back to the foreground everything ...
- 15 Jan 2021, 22:33
- Forum: General Discussion
- Replies: 3
- Views: 1157
Sound Action Issue
We're hitting an issue in the player builds related to audio. We've got a custom callback for Noesis.GUI.SetPlayAudioCallback(...). When users alt-tab out of the application, it seems like Noesis stops firing any of the sound actions and our callback isn't triggered.. but when the user brings the ap...
- 26 Sep 2020, 00:19
- Forum: General Discussion
- Replies: 2
- Views: 1355
Re: StoryboardCompletedTrigger
Turns out, I was just doing something dumb. After starting at it enough and playing around, I found out that I was listening for the wrong storyboard :(
oops.
sam
oops.
sam
- 25 Sep 2020, 22:47
- Forum: General Discussion
- Replies: 1
- Views: 1289
NotifyPropertyChanged() triggering actions 2x
I'm using NotifyPropertyChanged in my code to notify Noesis when a property has changed. I also have a data trigger setup like this: <ei:DataTrigger Binding="{Binding ActiveState}" Comparison="Equal" Value="2"> <ei:PlaySoundAction Source="play_ui_generic_click_01.w...
- 25 Sep 2020, 21:44
- Forum: General Discussion
- Replies: 2
- Views: 1355
StoryboardCompletedTrigger
I'm attempting to get StoryboardCompletedTrigger to work. My setup looks something like this: User control: <UserControl.Resources> <ResourceDictionary> <Storyboard x:Key="CooldownStoryboard"> <DoubleAnimation Duration="0" To="1" Storyboard.TargetProperty="(UIEleme...