Need help with making a multiplayer 2d game with photon
I have to make a big project for university (i'm studying computer science) and i liked the idea of making a 2d multiplayer card game (not a tcg, more like a poker style of game). One of the key components in this project is dynamic interface, so that a player can see information that the others can't, such as the cards in your hand, aswell as the direction of the entire interface (kind of like Hearthstone does, where you cards are on the lower sides and your opponent cards are on the upper side).
The issue is that i am running into problems when making simple tasks that i just can't figure out how to solve because every tutorial i watch on photon unity is related to 3d or some kind of player movement that i am not gonna be using.
I would appreciate if someone that is familiar with this framework could help me at least understand these basic concepts.
https://redd.it/1g9nwrd
@r_Unity3D
I have to make a big project for university (i'm studying computer science) and i liked the idea of making a 2d multiplayer card game (not a tcg, more like a poker style of game). One of the key components in this project is dynamic interface, so that a player can see information that the others can't, such as the cards in your hand, aswell as the direction of the entire interface (kind of like Hearthstone does, where you cards are on the lower sides and your opponent cards are on the upper side).
The issue is that i am running into problems when making simple tasks that i just can't figure out how to solve because every tutorial i watch on photon unity is related to 3d or some kind of player movement that i am not gonna be using.
I would appreciate if someone that is familiar with this framework could help me at least understand these basic concepts.
https://redd.it/1g9nwrd
@r_Unity3D
Reddit
From the Unity2D community on Reddit
Explore this post and more from the Unity2D community
Would you say that it is bad that i have so many components attached to one GameObject
https://redd.it/1g9p8cc
@r_Unity3D
https://redd.it/1g9p8cc
@r_Unity3D
This media is not supported in your browser
VIEW IN TELEGRAM
Patched a bit TwistCorrection to avoid jumping after 180 degree IK rotations. Link to github is in comments.
https://redd.it/1g9tz4j
@r_Unity3D
https://redd.it/1g9tz4j
@r_Unity3D
This media is not supported in your browser
VIEW IN TELEGRAM
2 years ago, I quit my job, divorced my wife and sold my children to make my dream game in Unity: Spiral-Chan! Out now on GameJolt & Itch.io.
https://redd.it/1ga2lyv
@r_Unity3D
https://redd.it/1ga2lyv
@r_Unity3D
Media is too big
VIEW IN TELEGRAM
Following the trend! Here is my 2024 progress! I started this project in March 2024 and I'm about to release the game in a few weeks!
https://redd.it/1g9xltj
@r_Unity3D
https://redd.it/1g9xltj
@r_Unity3D
Feel like I've got a dumb problem. Script that switches scenes by pressing E door is being flagged on line 28 and line 35. What I really don't understand is in the second image it works perfectly fine, but it's the third image that doesn't work
https://redd.it/1g9vp95
@r_Unity3D
https://redd.it/1g9vp95
@r_Unity3D
Reddit
From the Unity2D community on Reddit: Feel like I've got a dumb problem. Script that switches scenes by pressing E door is being…
Explore this post and more from the Unity2D community
My First Released Game On Steam - Quad Blaster, a small shoot 'em up that combines the charm of retro arcades with innovative gameplay mechanics. It will be available on October 31st.
https://www.youtube.com/watch?v=rLsB_t7cGM4
https://redd.it/1ga5xq1
@r_Unity3D
https://www.youtube.com/watch?v=rLsB_t7cGM4
https://redd.it/1ga5xq1
@r_Unity3D
YouTube
QuadBlaster Gameplay Trailer
Available on steam on October 31st: https://store.steampowered.com/app/3147940/Quad_Blaster/?l=spanish
credits:
Buttons Images: greenpixels.itch.io/pixel-art-asset-3
Music: cathran-music.itch.io/energetic-edm
SFX: gamesupply.itch.io/300-futuristic-sfx-with…
credits:
Buttons Images: greenpixels.itch.io/pixel-art-asset-3
Music: cathran-music.itch.io/energetic-edm
SFX: gamesupply.itch.io/300-futuristic-sfx-with…
How to prevent objects from getting stuck inside walls.
Not so much my player but if an npc hits a wall it sometimes gets stuck inside, my terrain is made up of edge colliders basically. I know all the fixedUpdate and add force stuff my code is set up correctly I am experienced enough to understand that much and say with 100% confidence my code is not the issue. I basically made scenes with a cube prefab, that cube has the edge collider set up like a box collider because with a box collider my character jumps and skips. I then just resized each cube to where I needed it. some are very large some are small, size does not seem to matter the npc's get stuck all the same. Also worth noting my game has small i9nteractable objects like a beach ball here or there and if the player steps on those it is very easy to force the same behavior which is graphically even more of an issue as you can see the ball stuck visibly inside the ground or a small platform.
https://redd.it/1ga5bs4
@r_Unity3D
Not so much my player but if an npc hits a wall it sometimes gets stuck inside, my terrain is made up of edge colliders basically. I know all the fixedUpdate and add force stuff my code is set up correctly I am experienced enough to understand that much and say with 100% confidence my code is not the issue. I basically made scenes with a cube prefab, that cube has the edge collider set up like a box collider because with a box collider my character jumps and skips. I then just resized each cube to where I needed it. some are very large some are small, size does not seem to matter the npc's get stuck all the same. Also worth noting my game has small i9nteractable objects like a beach ball here or there and if the player steps on those it is very easy to force the same behavior which is graphically even more of an issue as you can see the ball stuck visibly inside the ground or a small platform.
https://redd.it/1ga5bs4
@r_Unity3D
Reddit
From the Unity2D community on Reddit
Explore this post and more from the Unity2D community
I'm following a tutorial for 2D unity development. However it's the 2nd time today that Unity just freezes when I save the noscript and go back to Unity 6. I had no such problems with the previous version. Is it safe to force "end task" from Task Manager and restart Unity 6?
https://redd.it/1ga88ob
@r_Unity3D
https://redd.it/1ga88ob
@r_Unity3D
This media is not supported in your browser
VIEW IN TELEGRAM
3 years ago I launched my Retrowave Skies asset pack, this week I released a huge free update - here's the trailer!
https://redd.it/1ga8hjt
@r_Unity3D
https://redd.it/1ga8hjt
@r_Unity3D
Meet Sodaman! As the name suggests, Sodaman is a character who gains special powers from sodas, and he's the main protagonist of our game. His story is actually quite absurd, and we want to present it with a comic book vibe. If you have any questions, feel free to ask them in the comments below! :)
https://redd.it/1gab6qt
@r_Unity3D
https://redd.it/1gab6qt
@r_Unity3D
Reddit
From the Unity2D community on Reddit: Meet Sodaman! As the name suggests, Sodaman is a character who gains special powers from…
Explore this post and more from the Unity2D community