Photon Networking Tutorial Series EP#04 | Remote Procedure Call (RPC) | Unity 2018



One of the more important features of Photon you’ll find yourself using more often, called “RPC (Remote Procedure Calls)”. Today we’ll be taking a look at this, and how it differs from direct data sending/receiving. An alternative to this is also available, called “Raise Event”.

Be sure to join the discord server for any sort of help, I’m decently active.

Difficulty: Intermediate
—————————————————————————

► Time-stamps:
= 02:05 – Intro
= 03:55 – Jumping into Code
= 05:22 – Raycast Shooting (Repeat)
= 06:55 – PunRPC
= 08:42 – Calling a RPC
= 09:11 – Photon Targets
= 14:13 – Testing
—————————————————————————

Join my Discord server for quicker replies, free assets, and memes of course:
—————————————————————————

╔►Fiverr:
╚►Fiverr Gigs:

Check out:
╔►Facebook:
╠►Deviant Art:
╠►Player.me:
╠►Twitter:
╠►Picarto:
╠►Discord:
╚►Patreon: (Will be taken down soon)

My Rig:
╔►CPU: Intel Core i7 8700K @ 4.3GHz
╠►GPU: MSI 4G Gaming GTX 970 4GB
╠►OS: Windows 10 Home 64 bit
╠►RAM: Corsair Vengeance DDR4 2400MHZ 1x8GB
╚►Motherboard: Z370 Aorus Gaming 5

Anyways, rate, comment and subscribe for more. Share it with anyone you think might be interested, would be really appreciated. And thanks for all the support!
——————————————————

• Licence:

► Go For More by HookSounds
Creative Commons — Attribution 4.0 International — CC BY 4.0

Music provided by Audio Library

► Electronic Vibes by HookSounds
Creative Commons — Attribution 4.0 International — CC BY 4.0

Music provided by Audio Library

► And all the memes, that I do not own.

——————————————————

Keywords:
unity
unity 5
unity 2017
unity 2018
fps
unity fps
fps tutorial
let’s make a game
tutorial series
networking
photon
photon tutorial series
remote procedure call
rpcs
rpc
local
global
online
multiplayer
intermediate
cats
serializing
data
syncing

Nguồn: https://uwallpaperhd.com/

Xem thêm bài viết khác: https://uwallpaperhd.com/game/

37 Comments

  • Ashton Petkus

    PhotonTargets doesnt seem to work anymore, if anybody is having a bit of an issue using PUN 2 try replacing PhotonTargets.(All) with RpcTarget.(All)
    Hope it helps someone

    June 27, 2020 - 8:31 am Reply
  • HARDWARE TFWARD

    RPCTargets does no exist

    June 27, 2020 - 8:31 am Reply
  • LuckBringer

    Great video, thanks!

    June 27, 2020 - 8:31 am Reply
  • Упоротый Джерри

    Thanks

    June 27, 2020 - 8:31 am Reply
  • Sr vini HUE

    how can i do to activate the sound of the shot with rpc ?

    June 27, 2020 - 8:31 am Reply
  • Antopia HK

    it seems like you know quite a bit about photon. I'm new to Photon and just can't get around learning all the more advanced stuff. Is there some examples I could see or could you help me with a few questions?

    June 27, 2020 - 8:31 am Reply
  • adhochero

    okay. rpc. thats my issue then. could figure it out, and the docs tutorial on photon site dint do it.

    June 27, 2020 - 8:31 am Reply
  • Richard Cai

    My amazing life saver, I was wondering if you could teach us supporters how to add any rigged hand models to a gun model.

    June 27, 2020 - 8:31 am Reply
  • Sr vini HUE

    I can use the fps tutorial script to damage the player ?

    June 27, 2020 - 8:31 am Reply
  • Wolfe DoesStuff

    Can you make a tutorial in the fps series were you show how to make zombie AI like the one in the fps game you made a few years ago.

    June 27, 2020 - 8:31 am Reply
  • Zack Youells

    thank you so much man, you de-mistified this shit totally for me, now ill totally destroy this shit in my game. thnks again

    June 27, 2020 - 8:31 am Reply
  • Tician3

    COME BACK AND MAKE VIDEOS FOR US!!

    June 27, 2020 - 8:31 am Reply
  • elementallobster x

    Here's the…

    CATCH

    code joke

    June 27, 2020 - 8:31 am Reply
  • Mj DRFIT

    Please How To make Matchmaking and find room and create room D:

    June 27, 2020 - 8:31 am Reply
  • Nick Whyte

    my players are all sharing the same health

    June 27, 2020 - 8:31 am Reply
  • Ettercap

    Hello! I have a question, how could I do it so that when the first person connects, the first object is instanced and when another one is connected, the second object is instanced instead of the first one?

    June 27, 2020 - 8:31 am Reply
  • Kyoroseki

    B-B-Back From The Dead.

    June 27, 2020 - 8:31 am Reply
  • Kyoroseki

    Episode 5 Please!!

    June 27, 2020 - 8:31 am Reply
  • Lev Gamedev - разработка игр

    So when will the next part of fps tutorial realise

    June 27, 2020 - 8:31 am Reply
  • Afit

    Hello. I represent a company called Oujoulia who have been planning and have started development of a new Moba. The project is rev-share and I just wanted to see if you were interested in working with us. If interested you would be a great asset to us as you have a knowledge of how to use photon . Thanks.

    June 27, 2020 - 8:31 am Reply
  • Ali Azhar

    Mah boi😘

    June 27, 2020 - 8:31 am Reply
  • Daily Blender

    Thank you, sir. subbed and liked. looking forward to more networking tuts

    June 27, 2020 - 8:31 am Reply
  • Sunny Chao

    why was video 5 deleted from this series?

    June 27, 2020 - 8:31 am Reply
  • Anime Girl

    how to make weapon take in and take out animation?

    June 27, 2020 - 8:31 am Reply
  • Anime Girl

    will be resolution also?

    June 27, 2020 - 8:31 am Reply
  • iDROID

    what is the difference between photon classic and photon 2?

    June 27, 2020 - 8:31 am Reply
  • Abdullah sajid

    parh la bc. btw love it

    June 27, 2020 - 8:31 am Reply
  • LANstorm

    just as i finished watching the last episode

    June 27, 2020 - 8:31 am Reply
  • Weak Dirt Studio

    Can you make a tutorial on how to climb a leader in unity.

    June 27, 2020 - 8:31 am Reply
  • EfoBrog

    can we get prefab shooting?

    June 27, 2020 - 8:31 am Reply
  • Oliver_Burnell8

    When is the next FPS tutorial? 😀

    June 27, 2020 - 8:31 am Reply
  • -Mechanical-

    FINALLY A VIDEO. Keep up the 'consistency'. No lie tho Ur videos are great but u need to upload fast boiii

    June 27, 2020 - 8:31 am Reply
  • RoStep Music

    Yolooooo 😉 nice.

    June 27, 2020 - 8:31 am Reply
  • The Darkyyz

    Also could you show us how to make leaning and dedicated servers ?

    June 27, 2020 - 8:31 am Reply
  • Zaim Rana

    I’m so proud, tears in my eyes. First btw

    June 27, 2020 - 8:31 am Reply
  • Mathias Nielsen

    Welcome back!

    June 27, 2020 - 8:31 am Reply
  • The Darkyyz

    Yes!

    June 27, 2020 - 8:31 am Reply

Leave A Comment

Your email address will not be published.