How To Display Profile Pictures & Names - Steam Multiplayer Game in Unity
In this video I will be showing you how to display members who join your lobby. I will show you how to make this modular so no matter how many people join your lobby will look neat and nice. I will also go over how to display steam usernames and profile pictures and how to get it all setup so no matter who joins and leaves it works. Finally I will show you how to remove users when someone leaves or disconnects. ------Tutorial Links------ Previous Tutorial: Mirror: FizzySteamworks: Steam Docs: Source Code: ------My Personal Links------ Discord: Instagram: Twitch: Twitter: ➤WISHLIST MY GAME: //Code Snippet From Video private Texture2D GetSteamImageAsTexture(int iImage) { Texture2D texture = null; bool isValid = SteamUtils.GetImageSize(iImage, out uint width, out uint height); if (isValid) { byte[] image = new byte[width * height * 4]; isValid = SteamUtils.GetImageRGBA(iImage, image, (int)(width * height * 4)); if (isValid) { texture = new Texture2D((int)width, (int)height, TextureFormat.RGBA32, false, true); texture.LoadRawTextureData(image); texture.Apply(); } } AvatarReceived = true; return texture; } -----Time Stamps------ 0:00 - Intro 0:19 - Stage 1 - Setting Up UI & Scene 1:51 - Stage 2 - Prefab and Script Making 3:16 - Stage 3 - Writing Scripts 5:05 - Player Object Controller Script 7:14 - Network Manager Script 8:28 - Player List Item Script 11:02 - Lobby Controller Script 20:57 - Player Object Controller Script 23:47 - Final Editor Changes 24:49 - Testing 25:37 - Outro
Hey , my name is Zyger I'm a 19 year old student and I make games and program. (When I'm not lazy) I'm currently working on a game called Project Jude and creating devlog videos of the making process. I also make other game development related videos that I suggest you check out. Anyways hope you enjoy my content and i hope you have a good day or night depending on when or if your reading this. That's it bye :')
Push Me If You Can
Currently working on Push Me If You Can
Push Me (if you can) ! Is a 2D platformer where your goal is to push other players into the rising lava! Use items to eliminate others while staying alive. Play fast paced games with your Friends locally or through Steams remote play. Discover new maps and become the best PUSHER out there!
259 patrons
79,00 € per month