ARPOISE / ARpoise

ARpoise - Augmented Reality point of interest service environment
GNU General Public License v3.0
17 stars 5 forks source link

Shared event animations should be able to differentiate between the ARpoise instance that started the animations and others #39

Closed peterGraf closed 3 days ago

peterGraf commented 1 month ago

The shared event animations should be able to differentiate between the ARpoise instance that started the animations and other instances that only received the animation event from the shared event server.

This is needed to make it possible to give different feedback to users that really started a remote animation themselves and users that merely experience the animation.

peterGraf commented 3 days ago

Closed with version 2.0.7. In addition to the 'Remoted' animation involved in a shared event. Two other animations are now triggered when a remote event is received, a 'TriggeredLocally' animation and a 'TriggeredRemotely' animation. E.g. If a shared animation is called 'ButtonClick_Remoted' and is triggered in ARpoise and a remote shared event server is configured for the layer, the animation name is sent to the shared event server and forwarded by the server to all ARpoise instances connected. All ARpoise instances will then activate the animation 'ButtonClick_Remoted'. Only the ARpoise instance that initially triggered the animation will activate the animation 'ButtonClick_TriggeredLocally', all other instances will activate the animation 'ButtonClick_TriggeredRemotely'.