Nice to see a tutorial that doesn't take half a fuckin hour to get started
@Santiago-bl3xu3 жыл бұрын
Very useful tutorial. I am trying to get acquainted with MLAPI, but the documentation, examples and tutorials are as of now scarce. Keep it up!
@slaymuel44743 жыл бұрын
Glad you found it useful! I have started to work on another MLAPI tutorial about picking up and dropping items. Also taking damage using syncvars. I'm aiming to complete it before next weekend.
@jasondegoumois38093 жыл бұрын
Got a clue on how to make it so that someone can use magic but only that person can use that magic, and it does damage, also you are so underrated you deserver more subs
@unity_with_timoteo3 жыл бұрын
Finally someone who knows stuff and how to teach them. Fantastic man! You could make a series on MLAPI. Teaching about, take damage, take objects over ground, health, spawn objects, shoot with bullets and raycast, open door, inventories, sync spawnable objects to new players, respawn dead players, all this comenting what is good and bad pratices, just like you did here. I hope you get all the subs and views you want. Cheers!
@slaymuel44743 жыл бұрын
Thanks for the nice comments! I will try to make some more MLAPI videos in the future, maybe some more full fledged ones also. I want to try to make videos about stuff I think is lacking in other tutorials.
@dmytrogladkyi2 жыл бұрын
Just what i was looking for!
@CodMinecraftstyle Жыл бұрын
thank you my guy, saved hours of insanity
@haydenfranks41913 жыл бұрын
This was such a good tutorial! You did a great job at explaining everything so I can apply this to my game really easily. Only advice is to full screen visual studio so the text is easier to read
@M4nichean3 жыл бұрын
Dude, this was pure magic! just great!
@slaymuel44743 жыл бұрын
Thanks!
@okiramasutiktoks45013 жыл бұрын
would love to see more mlapi tutorials! youre amazing
@onehornstudio71523 жыл бұрын
So nicely explained.. thanks
@macarongthieusang3 жыл бұрын
That's all i need. thanks you
@Birillox693 жыл бұрын
First tutorial? O.o you're really great. Thank you bro
@slaymuel44743 жыл бұрын
Thanks, glad you enjoyed it!
@jugibur21173 жыл бұрын
Thanks for your work, got a lot of infos here!
@tehuster3 жыл бұрын
Great tutorial dude! Keep up the good work. Subbed!
@khanlakhno27573 жыл бұрын
Continue MLAPI series please
@GraphicalBoss3 жыл бұрын
Love it! Great job 👏👍 SUBSCRIBED
@tonihenriksson23993 жыл бұрын
Make a tutorial on how to set up a multiplayer project from start to finish? :P An simple one :P Would be epic!
@PeterMilko3 жыл бұрын
Is it better than PUN? PUN is still cheaper right?
@gamerweed69493 жыл бұрын
What do you think?
@PeterMilko3 жыл бұрын
@@gamerweed6949 Ima stick with PUN for now, its more developed
@gamerweed69493 жыл бұрын
@@PeterMilko but its expensive right if u host ur game but i will admit it is more devoloped iam trying to use mirror currently
@あれくす Жыл бұрын
Any chance you can touch on spawning weapons in a complex prefab like Synty modular character? Transform parenting is a nightmare.. ive tried past few days to get it to work without luck.
@aekzel3 жыл бұрын
Nice tutorial but I have an issue with your solution .... I can't get rid of a 'NotServerException'. Clients cannot spawn their own cube, server won't let them ... Any solution please ?
@magicpixeltree3 жыл бұрын
awesome
@FlizzyGlizzy2 ай бұрын
How do you equip a networked object to a none networked object (the arm)
@jasondegoumois38093 жыл бұрын
Can you make a video or even tell me how to make an inventory, and being able to pick up items so you can equip them but you need to have the item to equip it, and also how can I make it more than one item in the equip thing thanks and sorry for bugging you
@sqw33k3 жыл бұрын
I have a slight problem with Parrelsync which is that the execution of either non selected copy of Unity seems to "fall behind". As in, the (selected) one is sending data in FixedUpdate but the other isn't handling it at the same rate in it's FixedUpdate. If I switch it catches up and now consumes data faster than the other is sending. Is this related to windows not giving enough resources to handle both applications at equal priority or something else entirely? Regardless, I'm welcoming any and all tips on how to solve this.
@jasondegoumois38093 жыл бұрын
the using unityengine.inputsystem doesnt exist anymore i could not find it, and i cannot do the bit where it says if(keyboard.current.digitkey._______)
@slaymuel44743 жыл бұрын
I think that it is part of the new input system, which you can download it from the package manager. But if you want to capture inputs from the user i would suggest setting up events (also using the new input system though). If i'm not mistaken there are tutorials for this on the unity website. Hope you get it to work!
@jasondegoumois38093 жыл бұрын
@@slaymuel4474 i think i fixed it, its just now you can infinitely make them idk if its in the video but ill see the rest
@あれくす Жыл бұрын
This does NOT work if you try and parent the item to a non network object/transform. Furthermore, it won't work if you aprent it to a network object/transform that has not be SPAWNED into the scene... so if you have a player control network object with a child transform that has hands, arms, etc.. if you try and spawn the network weapon object and set its parent to be the player's hands... unless you've also spawned in those player hands.. which will create the same error as above... you can't parent the weapon/item... super annoying. What is the work around?
@ZICKFREED3 жыл бұрын
Why does everyone have the same thing? why is there no tutorial on how to create a server to manage this spawn on the client? The server is very important
@jasondegoumois38093 жыл бұрын
Ok So I have tried looking it up and have tried fixing it with different methods its just i cannot get this error out of my way: Assets\EquipItem.cs(24,9): error - ServerRpc method must be marked with 'ServerRpc' attribute!
@slaymuel44743 жыл бұрын
Make sure that you have the [ServerRpc] decorator above the function. Also your function name has to have the suffix ServerRpc (i forgot to say this in the tutorial unfortionately....). So for instance private void YourMethodNameServerRpc(){} See this: docs-multiplayer.unity3d.com/docs/advanced-topics/message-system/serverrpc Hope this solves your problem!
@watercat12483 жыл бұрын
ok what exactly is the MLAPI ?
@EbbsClifton333 жыл бұрын
Can you please make a tutorial how to do object pooling with mlapi?
@slaymuel44743 жыл бұрын
I'm working on another tutorial, and i will make sure to include object pooling. Will upload in a day or two!
@EbbsClifton333 жыл бұрын
@@slaymuel4474 Awesome! thanks man :)
@tinytea33233 жыл бұрын
Any idea how to despawn from client?
@slaymuel44743 жыл бұрын
You can send a server rpc from the client and pass in the NetworkObjectId of the object which you want to despawn. Then call despawn() on the networkedobject from the server. As far as i know, you cannot despawn directly from the client. Hope it helps!