-
Notifications
You must be signed in to change notification settings - Fork 557
feat: in-game message feed [MTT-2678] [MTT-2318] #601
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* MessageFeedHandler keeps the message history, persists accross scenes and is the class through which messages are sent. It should be called server-side. * UIMessageFeed receives messages from MessageFeedHandler and displays them on the client
…cts + cleaning up
15d6c9e
to
59139d7
Compare
… resolution of the canvas from 720 to 1080
pdeschain
previously approved these changes
Apr 26, 2022
SamuelBellomo
approved these changes
Apr 27, 2022
fernando-cortez
approved these changes
Apr 27, 2022
SamuelBellomo
added a commit
that referenced
this pull request
Apr 28, 2022
* develop: generated files as well tmp commit for merge feat: test utilities script including Playmode test helpers (#484) feat: bump to pre.8 and fix compile issues [MTT-3413] (#631) feat: client network transform move to samples [MTT-3406] (#629) feat: in-game message feed [MTT-2678] [MTT-2318] (#601) feat: networked message channel (#605) Fixed Z Fighting of Floor Tiles Near Edge of Main Boss Room (#616) fix: SceneBootstrapper detects and allows TestRunner launches (#483) removed feature to set all players unready in char select when a player leaves or joins (#625) removed setting disconnect reason to UserRequested on clients entering post-game (#626) Disallowing portait orientation for auto rotation (#627) chore: removing QoS (#623) # Conflicts: # Assets/BossRoom/Material/Characters/Character_Shadow.mat # Assets/BossRoom/Material/Characters/Enemy_Eyes_sheet.mat # Assets/BossRoom/Material/Characters/Enemy_Mouth_sheet.mat # Assets/BossRoom/Material/Characters/Hero_Eyes_sheet.mat # Assets/BossRoom/Material/Characters/Hero_Mouth_sheet.mat # Assets/BossRoom/Material/Characters/Toon/Hair_Mage_Girl.mat # Assets/BossRoom/Material/Characters/Toon/Head_Boss.mat # Assets/BossRoom/Material/Characters/Toon/Head_Imp.mat # Assets/BossRoom/Material/Characters/Toon/Head_Mage_Boy.mat # Assets/BossRoom/Material/Characters/Toon/Head_Mage_Girl.mat # Assets/BossRoom/Material/Characters/Toon/Head_Rogue_Girl.mat # Assets/BossRoom/Material/Characters/Toon/Head_Tank_Boy.mat # Assets/BossRoom/Material/Characters/Toon/Torso_Archer.mat # Assets/BossRoom/Material/Characters/Toon/Torso_Mage_Boy.mat # Assets/BossRoom/Material/Characters/Toon/Torso_Tank.mat # Assets/BossRoom/Material/Characters/Toon/Weapons_Archer.mat # Assets/BossRoom/Material/Characters/Toon/Weapons_Mage.mat # Assets/BossRoom/Material/Dungeon/env_spiderweb.mat # Assets/BossRoom/Scenes/BossRoom.unity # Assets/BossRoom/Scenes/CharSelect.unity # Assets/BossRoom/Scenes/PostGame.unity # Assets/BossRoom/Scenes/Startup.unity # Assets/BossRoom/URP/UniversalRenderPipelineAsset.asset # Assets/BossRoom/URP/UniversalRenderPipelineAsset_Renderer.asset # Assets/BossRoom/VFX/Materials/FX_Crystal.mat # Assets/BossRoom/VFX/Materials/FX_M_Flame.mat # Assets/BossRoom/VFX/Materials/FX_M_Flash_01.mat # Assets/BossRoom/VFX/Materials/FX_M_Glow_10.mat # Assets/BossRoom/VFX/Materials/FX_M_Glow_12.mat # Assets/BossRoom/VFX/Materials/FX_M_GroundCrack_2.mat # Assets/BossRoom/VFX/Materials/FX_M_Shockwave.mat # Assets/BossRoom/VFX/Materials/FX_M_Slash_01.mat # Assets/BossRoom/VFX/Materials/FX_M_Slash_02.mat # Assets/BossRoom/VFX/Materials/FX_M_StylizeSmoke_2.mat # Assets/BossRoom/VFX/Materials/FX_M_TargetingSphere_InRange.mat # Assets/BossRoom/VFX/Materials/FX_M_TargetingSphere_OutOfRange.mat # Assets/BossRoom/VFX/Materials/FX_M_TorchFire.mat # Assets/BossRoom/VFX/Materials/FX_Slash_01.mat # Assets/BossRoom/VFX/Materials/FX_SmokeDissolve.mat # Assets/BossRoom/VFX/Materials/FX_SmokeDissolve_Additive.mat # Assets/BossRoom/VFX/Materials/FX_Star.mat # Assets/BossRoom/VFX/Materials/GroundClick.mat # Assets/BossRoom/VFX/Materials/M_Archer_arrow.mat # Assets/BossRoom/VFX/Materials/M_MotionFlash.mat # Assets/BossRoom/VFX/Materials/TargetReticuleFriendly.mat # Assets/BossRoom/VFX/Materials/TargetReticuleHostile.mat # Assets/BossRoom/VFX/Materials/fx_mat_Chest.mat # Assets/BossRoom/VFX/Materials/fx_mat_GlowLine.mat # Assets/BossRoom/VFX/Materials/fx_mat_GlowLine_2.mat # Assets/BossRoom/VFX/Materials/spawndoor.mat # Assets/UniversalRenderPipelineGlobalSettings.asset.meta # Packages/manifest.json # Packages/packages-lock.json # ProjectSettings/GraphicsSettings.asset # ProjectSettings/ProjectSettings.asset # ProjectSettings/ProjectVersion.txt
SamuelBellomo
added a commit
that referenced
this pull request
Apr 28, 2022
…fooding * feature/bump-2021: material update update with right package lock generated files as well tmp commit for merge feat: test utilities script including Playmode test helpers (#484) feat: bump to pre.8 and fix compile issues [MTT-3413] (#631) feat: client network transform move to samples [MTT-3406] (#629) feat: in-game message feed [MTT-2678] [MTT-2318] (#601) feat: networked message channel (#605) Fixed Z Fighting of Floor Tiles Near Edge of Main Boss Room (#616) fix: SceneBootstrapper detects and allows TestRunner launches (#483) removed feature to set all players unready in char select when a player leaves or joins (#625) removed setting disconnect reason to UserRequested on clients entering post-game (#626) Disallowing portait orientation for auto rotation (#627) chore: removing QoS (#623) # Conflicts: # Assets/BossRoom/Scenes/Startup.unity # Packages/manifest.json
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
0-URGENT
Blocker for a release and needs to be merged ASAP
2-One More Review
One review in, one to go
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This PR adds a simple in-game message feed and some message channels for in-game events. A message feed is added inside the CharSelect, BossRoom and PostGame scenes that subscribes to those messages to display them. No history is being kept.
The Feed itself is placed on the left side of the screen in the CharSelect scene, and on the right side in the BossRoom scene and the PostGame scene.
Each message is displayed individually and disappears after a specific amount of time.
Messages are published when players connect/disconnect from a game, when their lifestate changes, when the door opens/closes, when the boss is defeated and when a player uses a cheat.
This PR also uses those new message channels to simplify ServerBossRoomState, which no longer needs to register to every player character's NetworkedLifeState's OnValueChanged and no longer needs to use the GameEvent scriptable object to detect when the boss is defeated.
Issue Number(s)
MTT-2678 & MTT-2318
Contribution checklist