Skip to content

Commit cef70f0

Browse files
authored
Updated video to reflect update.
1 parent def9c35 commit cef70f0

1 file changed

Lines changed: 3 additions & 8 deletions

File tree

README.md

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,15 @@ If you want support for other versions let me know.
1010

1111
You can find a settings data asset in the plugin's content folder. This has 2 separate variables you can use for optimization purposes. Moving or renaming the DataAsset will cause issues and it will no longer work.
1212

13-
DOES NOT CURRENTLY SUPPORT BRUSHES. At the moment it is only lines of different colors.
14-
1513
Any changes to pen data will immediately affect new lines. There are overridable functions in the widget that allow for conditional line draws (such as if you wish to disable a player or players) and an override to get the drawer/player's name (the default is a GetPlayerName on the player state).
1614

1715

18-
## How does it replicate?
19-
20-
Since widgets do not replicate, the plugin comes with a subsystem that spawns a replicated manager actor. This is so no additional steps are required on your part, making the wodget drag and drop. It also listens for actor spawns and adds a lightweight component to player states when they are spawned. The player state component allows the widget to send information to the server. The manager actor holds all data and only 1 is created. Widgets are bound to a delegate on the replicated manager that sends out broadcasts on lines added. The widgets can also erase the data as well as refresh to match the manager to ensure no errors are present. The widgets are identified by the BoardName in the widget as well as the player drawing.
21-
2216
Please see the video below for an example of the usage.
2317

2418

19+
https://github.com/user-attachments/assets/4534f22f-e2bb-452d-80e5-e7576ed51dd2
2520

2621

22+
## How does it replicate?
2723

28-
https://github.com/user-attachments/assets/5021e16a-fe09-44fd-8017-67a086c04e54
29-
24+
Since widgets do not replicate, the plugin comes with a subsystem that spawns a replicated manager actor. This is so no additional steps are required on your part, making the wodget drag and drop. It also listens for actor spawns and adds a lightweight component to player states when they are spawned. The player state component allows the widget to send information to the server. The manager actor holds all data and only 1 is created. Widgets are bound to a delegate on the replicated manager that sends out broadcasts on lines added. The widgets can also erase the data as well as refresh to match the manager to ensure no errors are present. The widgets are identified by the BoardName in the widget as well as the player drawing.

0 commit comments

Comments
 (0)