So i was thinking about making a DnD style game where you’ve got all the different classes, but i also think that it should be multiplayer. Is there any way i can make so that you can choose a class and then play as that class in a multiplayer scenario?
[Liked Post]
Hmm… This would have to be able to not only change your appearance for your screen, but for everyone else’s screen as well. I know how to change stuff like skins, but I don’t think I am aware of a solution to change the player’s behaviors.
You can get the players name and something like -class and combine it into a text then save it to cloud. and when 2 players battle or somthing you can load the cloud behaviors form each player and adjust accordingly.
Online or local?
If local you could make a hud that appears at the start that has options. when x amount of players have been selected remove the HUD and spawn in the selected classes at the start. You may need to make it so 1st select p1 next select p2 as otherwise they would have same controls.
here is the code
{"data":{"behavior":{"v":"2","nodes":[{"inputCount":0,"outputCount":0,"name":"setclass","behaviorType":"logic.NodeGroup","x":-90,"y":-48,"group":"","id":"6783342da4087548","isMenuItem":false},{"inputCount":0,"outputCount":1,"name":"Once","behaviorType":"logic.triggers.Once","x":-450,"y":-48,"group":"6783342da4087548","id":"677ffeb08fd10d4f","notes":"Replace with activator","n_o":1,"resetOnLevelStart":false},{"inputCount":4,"outputCount":4,"name":"Cloud","behaviorType":"logic.logic.CloudStorage","x":450,"y":-112,"group":"6783342da4087548","id":"67805d69a98cc44e","notes":"Connect the set input to the class value","n_o":1,"storageKey":"My Cloud Value","dataType":2},{"inputCount":1,"outputCount":2,"name":"User Info","behaviorType":"logic.gameflow.UserInfo","x":-270,"y":-48,"group":"6783342da4087548","id":"678136518856224e"},{"inputCount":5,"outputCount":2,"name":"Text","behaviorType":"logic.data.TextBlock","x":-90,"y":-224,"group":"6783342da4087548","id":"678148b1d9849a4f","startVal":"-class"},{"inputCount":1,"outputCount":1,"name":"Text Case","behaviorType":"logic.data.TextCase","x":-90,"y":-48,"group":"6783342da4087548","id":"678155aa53921745","mode":1},{"delay":2,"count":1,"version":2,"inputCount":3,"outputCount":1,"name":"Timer","behaviorType":"logic.triggers.Timer","x":-270,"y":-224,"group":"6783342da4087548","id":"678193a99543624c"},{"inputCount":1,"outputCount":1,"name":"To Number","behaviorType":"logic.data.ToNumber","x":-90,"y":16,"group":"6783342da4087548","id":"6781a7f968b39d43"},{"inputCount":5,"outputCount":2,"name":"Text","behaviorType":"logic.data.TextBlock","x":180,"y":-128,"group":"6783342da4087548","id":"6781d3f03b85d24c","startVal":""}],"links":[{"input_id":"678136518856224ei0","output_id":"677ffeb08fd10d4fo0"},{"input_id":"678155aa53921745i0","output_id":"678136518856224eo1"},{"input_id":"6781d3f03b85d24ci3","output_id":"678148b1d9849a4fo0"},{"input_id":"6781d3f03b85d24ci3","output_id":"678155aa53921745o0"},{"input_id":"6781a7f968b39d43i0","output_id":"678155aa53921745o0"},{"input_id":"678148b1d9849a4fi1","output_id":"678193a99543624co0"},{"input_id":"678193a99543624ci0","output_id":"6781a7f968b39d43o0"},{"input_id":"67805d69a98cc44ei0","output_id":"6781d3f03b85d24co0"}]}}}
!!! That’s Really Cool! Thanks for helping!
You are very welcome. Please ask if you need anything else