Граф коммитов

247 Коммитов

Автор SHA1 Сообщение Дата
Paolo Abela 0ec575c152
release: v1.7.0 [MTT-9035] (#213)
* Dgs/unity 6 update (#181)

* chore: updated Dedicated Game Server Sample to Unity 6, and Multiplayer Play Mode and dedicated server packages to 1.1.0

* chore: update Unity version in the CI for Dedicated Game Server

* chore: attempted to change editor version to see if DGS sample can build

* feat: updated logic in BuildProcessor so it doesn't use deprecated (and now unneeded) APIs

* chore: temporarily disabled running tests of other samples (will be re-enabled after DGS troubleshooting)

* chore: disabled core part of BuildEverything automation to see if Yamato still fails

* chore: bisecting CI failure

* chore: bisecting CI failure

* chore: bisecting CI failure

* chore: attempted to change build path to see if CI fails

* Revert "chore: attempted to change build path to see if CI fails"

This reverts commit 72f91399c8.

* chore: disabled burst compilation

* chore: re-enabled build code

* chore: disabled burst compiler programmatically before and after builds

* chore: disabled building clients

* chore: updated burst to latest version

* chore: re-enabled client builds

* chore: restored tests of other samples

* feat: added UIToolkit support ot input system configuration
chore: removed unneeded input asset, set project-wide input actions file

---------

Co-authored-by: Paolo Abela <paolo.abela@unity3d.com>

* chore: (Dedicated game server) updated version badge in README

* Deprecation of "Invaders" sample (#186)

* chore: removed Invaders from CI, as it is now a deprecated sample

* chore: Moved "Invaders" sample to "Deprecated" folder

* chore: Added README for deprecated samples

* chore: Removed "Contributing" section from Deprecated samples README.md

* Feat: Multiplayer Use Cases UI toolkit implementation [MTT-7497] (#184)

* Added: integration of UIToolkit for NetworkManagerUI

* moving UI Toolkit related files into UI toolkit folder, also NetworkManagerUI.cs adjustments to integrate UI toolkit

* fix: added validation of IP and port address

* fix: color changes through button interactions work now

* fix: added Styleclasses instead of color fields to implement color changes of buttons

* fix: scaling of UI changes depending on screen size

* mtt-8638-Separate-PR-Triggers-per-project (#195)

* copy all changes to new branch

* changing name of shared triggers

* feat: Distributed Authority Sample initial project setup with scene & folder structure [MTT-8913] (#198)

* initial project commit

* Added: proposed folder structure from TDD

* consolidating settings folders

* adding ignored temp script for testing connection

---------

Co-authored-by: Elfi Kühndorf <elfi.kuhndorf@unity3d.com>

* feat: DistributedAuthoritySample Netcode for GameObjects & Multiplayer SDK package upgrade, scripting fix, editor upgrade (#203)

NGO & Multiplayer SDK package upgrade, scripting fix, editor upgrade

* feat: DedicatedGameServer sample upgraded to Netcode for GameObjects v1.8.1 API [MTT-8502] (#182)

DedicatedGameServer updated to NGO v1.8.1 API

* feat: Distributed Authority Sample player locomotion [MTT-8898] (#200)

* initial project commit

* Added: proposed folder structure from TDD

* consolidating settings folders

* adding ignored temp script for testing connection

* importing asteroids base classes & locomotion controller wip

* reworked drag, inheriting from baseobject movement

* cleanup, avatar set with AvatarTransform

* distinguishing spawmed players with name in hierarchy

* moving AvatarTransformEditor to own Editor subdirectory class, cleanup

* formatting changes

---------

Co-authored-by: Elfi Kühndorf <elfi.kuhndorf@unity3d.com>

* chore: updated README to provide a clear path to the onboarding resources in case a user closed the Tutorial window [skip ci]

* feat: distributed authority sample - adding assembly definitions [MTT-8945] (#207)

* asmdefs generated with dependencies mapped

* one unnecessary dependency removed

* renaming asmdefs & adding input assemblyinfo

* adding explicitly inputsystem to player assembly

* Usecases design feedback for out-of-experimental release (MTT-7498) (#209)

* chore: updated link in tutorials so it points at more recent RPCs

* chor: made font bigger in NetvarVsRPC scene, and rmeoved unneeded prefabs property overrides

* chore: added reminder text in completion dialogues to redirect to tutorials

* [MTT-8878] [MTT-8909] Feat: Distributed Authority sample Blockout + VFX (#206)


* consolidating settings folders

* feat: completed first draft of blockout

* LODs, 3 VFX, Lighting and post-processing

* Updated LODs to be single contained FBXs, removed VFX from scene, rebaked lighting

* Fix shader warnings

* Fixed statue mesh warnings, removed statue LODs, fixed Toon_Shaking shader warnings

* delete unneeded assets

* Overriding prefabs in order to be able to remove ProBuilder,  remove ClickToPlace script

* Changed: moved extracted ProMeshBuilder meshes into different folders and deleted extra folder, imported adjusted toonshaders, deleted smoke shadergraph and adjusted effected materials to use fire shadergraph and changed settings

---------

Co-authored-by: Fernando Cortez <fernando.cortez@unity3d.com>
Co-authored-by: Vlad Neykov <vlad@vladimirneykov.com>

* feat: Distributed Authority Sample Avatar interactions (pick up & throw) [MTT-8905] [MTT-8884] (#208)

* asmdefs generated with dependencies mapped

* one unnecessary dependency removed

* renaming asmdefs & adding input assemblyinfo

* avatar-side pickup/toss of pickupable object

* adding a pickupable object, EnvironmentTransform, to scene with a spawner

* adding explicitly inputsystem to player assembly

* [MTT-8908] Feat: Adding PigChef character and necessary animations (#205)

* import PigChef plus dependencies, deleted scripts, WIP cleanup PigChef prefab

* removed unnecessary assets, adjusted AnimatorController for PigChef, added basic ThirdPersonController and Rigidbody

* feat: adjusted Animator settings (adding parameters and states), creating arm rigs setup and carryable object template

* added: pickup animation

* adding source animation files

pickup and throw animation source Maya files

* Updated pickup animation

Includes the new bone PickupLocation as child of the Hips bone with animation for being picked up

* animation update

keyframes updated

* Added: set up pickup functionality with fixedjoint, added PickUpItem tag and pickup locations on PigChef and CarryableObjectTemplate

also added move VS running

* added ThirdPersonRBController script

* Updates to prop carrying

Animation adjustments for carrying. Prefab adjustments for prop alignment

* removed: cloudproject link

* added throw animation

Includes Maya source files and FBX for Unity

* walk and run animation updates

Added keyframes for PickupLocation

* animation  update

Idle animation has a better pose for carrying the object

* feat: Added carry, drop and throw functionality, adjusted idle animation and added Rig animation functionality for Carrying

* adjusting rotations and positions of pottery hand locations

* animation updates

idle pose updates

* fixed animator bug with throw not playing and polished walk and run animations

clips and animator controller updated

* adjusted colliders from items, angle of pickup and pickup collider

* animation updates for carrying and throwing, AnimatorController state machine changes

Added anticipation to the throw. Now an Animation Event needs to be added so it throws at the correct time. Also fixed facial animation keyframes. Duplicate "_Rig" versions of the carry and throw clips are made in order to keyframe the IK rig.

* pottery prefab update

removed vertical offset

* created AnimationEvent for ThrowAction

* chest prefab updates

fine tuned hand attachment points

* added PickupLocation to PigChef prefab, adjusted throw logic to enable split throw animation

* Animation clip updates and Animator Controller updates for throwing on upper body only

Adjusted idle clip pose to remove pop when transitioning to walk/run. Split throw animation into two parts and removed lower body channels from the clips. Updated Animator Controller to play throw anticipation immediately when the button is pressed and throw release clip is played when the button is released.

* face animation fixes

keyframed eyes and mouth closed in all clips

* animation polish

adjusted idle pose to more closely match the walk pose

* deleting unnecessary transition in controller, slight controller script adjustments

* fixing throw force proportional to heldTime

* animation polish

Removed pop in blending when dropping a carried object.

* fix: cleaned up script and added dead zone to remove unwanted auto rotation

* removed unneeded extra idle layer

* fixed transition conditions

Transition from jump landing to walk and idle now have the conditions based on the Move parameter

* added groundLayer

* removed debugs and adjusted dead zone value

* animator controller updates

Removed has exit time from jump landing conditions

* fixed the problem where jump detached the hands from the carry object

All animation states need "write defaults" true. Jump was false, and that was the cause of the problem.

* deleting unused assets and changing asset location of CarryableObject script

* set Input in Player settings to both input systems

so that temp controller used in CharacterTest scene we have in this branch works

* reset PlayModeOptions and TimeManager to default, removed .vsconfig

* Removed: unneeded cane and chick related assets

Changed: Renaming of animation files for consistency and cleanup of animation folder

* Added: created Testing scene folder and moved CharacterTest over

* Test: creation a new controller to fix errors

* Changed: delete old controller, fixed + changed name of new animation controller

getting rid of broken text PPtr files

* moved ThirdPersonRBController into temp folder and removed audio files

* reset time and project settings

* Fixed: inconsistent naming

* fixed object name (have to take name from original asset which cannot be changed)

---------

Co-authored-by: davehunt-unity <30689100+davehunt-unity@users.noreply.github.com>

* chore: moved "MultiplayerUseCases" sample to the "basic" folder, and updated path in CI scripts

* chore: updated changelogs with 1.7.0 release notes
chore: updated README accoridng to the changes to Multiplayer Use Cases and Invaders

---------

Co-authored-by: Paolo Abela <paolo.abela@unity3d.com>
Co-authored-by: Elfi0Kuhndorf <93766359+Elfi0Kuhndorf@users.noreply.github.com>
Co-authored-by: harshala-rajesh <104168202+harshala-rajesh@users.noreply.github.com>
Co-authored-by: Fernando Cortez <fernando.cortez@unity3d.com>
Co-authored-by: Elfi Kühndorf <elfi.kuhndorf@unity3d.com>
Co-authored-by: Vlad Neykov <vlad@vladimirneykov.com>
Co-authored-by: davehunt-unity <30689100+davehunt-unity@users.noreply.github.com>
2024-08-29 19:44:51 +01:00
Fernando Cortez a0542dd042
feat: Asteroids Sample (#196)
* initial project commit

* Update README.md

Added updated screenshots
2024-07-11 17:28:37 -04:00
Fernando Cortez cf39fb1500
Merge pull request #183 from Unity-Technologies/release/v1.6.0
release: v1.6.0 [MTT-8568]
2024-05-30 15:30:49 -04:00
Fernando Cortez 3dfe5f66ff bumping release numbers, changelog updated with release 2024-05-30 14:23:37 -04:00
Bastien Humeau 36e240b77e
Upgrade Invaders to use Netcode For Gameobject 1.8.1 [MTT-8503] (#172)
* Upgraded NGO to 1.8.1 in manifest and readme.

* Changed ClientRpc and ServerRpc attributes to the new RpcAttribute

* Changed OnClientConnectedCallback registration to use the new OnConnectionEvent

* Changing spawn methods to use InstantiateAndSpawn

* Added changelog entry.

* Renamed Rpc methods properly.

* ConnectionEvent renaming to make it clear it is executed only on the server side

---------

Co-authored-by: Fernando Cortez <fernando.cortez@unity3d.com>
2024-05-29 15:01:36 -04:00
Bastien Humeau db334abbbe
Fix - Optimized NetworkTransform on all networked prefabs in the Invaders sample [MTT-7599] (#168)
* Optimize NetworkTransform so they do not interpolate and do not sync unecessary transform data

The server is not interpolating the ennemies position and given the game doesn't have any animation, not interpolating anything allows for the same movement feeling between clients and host.

* Further refine network transform optimizations.

* Updated changelog

* Reverting two manager prefabs that were changed inadvertently

---------

Co-authored-by: Fernando Cortez <fernando.cortez@unity3d.com>
2024-05-29 11:41:07 -04:00
Elfi0Kuhndorf e8fa6ed223
Upgrade Multiplayer Use cases to NGO 1.8.1 [MTT-8499] (#178)
* upgrade ngo to 1.8.1 and related rpc adjustments

* included OnConnectionEvent into GameUI.cs script

* adjusted scripts to address comments

* fixing PascalCase in Rpcs, removing empty Line and naming refactor
change version numbers in readme file

* remove redundant code in ColorManager
2024-05-28 16:43:45 +02:00
Fernando Cortez a081eb3ba0
fix: releasing Addressables handle on OnDestroy in DynamicAddressablesNetworkPrefabs Preloading scene (#179)
* releasing Addressables handle on OnDestroy

* changelog addition
2024-05-22 13:01:17 -04:00
Elfi0Kuhndorf eb69754c93
Feature: Upgrading 2D Space Shooter to NGO 1.8.1 [MTT-8498] (#174)
* upgrading to NGO 1.8.1 and adjusting scripts to include new RPC attribute and OnConnectionEvent

* update CHANGELOG
2024-05-15 15:42:57 +02:00
Fernando Cortez ad2eaa3f3b
feat: DynamicAddressablesNetworkPrefabs upgraded to 2022.3.27f1 [MTT-8513] (#176)
* DynamicAddressablesNetworkPrefabs upgraded to 2022.3.27f1

* changelog addition
2024-05-14 13:20:37 -04:00
Fernando Cortez f2e33e9e66
feat: ClientDriven further Netcode for GameObejcts v1.8.1 API upgrades [MTT-8543] (#173)
* using NetworkObject.InstantiateAndSpawn() where possible

* further clarifying InstantiateAndSpawn() issue

* changelog addition

* project readme fixed with NGO version bump
2024-05-13 15:07:22 -04:00
Fernando Cortez 634b8467ba
feat: Client Driven project upgraded to 2022.3.27f1 LTS [MTT-8512] (#175)
* client driven project upgraded to 2022.3.27f1

* changelog addition

* changelog updated
2024-05-13 10:04:05 -04:00
Elfi0Kuhndorf 4a2e6c7f0f
Upgrade Multiplayer Use Cases to Unity Editor 2022.3.27f1 [MTT-8501] (#171)
* upgrade editor to 2022.3.27f1 and keeping automated packaged updates

apart from NGO update (NGO is not updated in this branch)

* update CHANGELOG.md
2024-05-08 16:16:06 +02:00
Elfi0Kuhndorf 210b5b4316
Upgrade 2D Space Shooter to Unity Editor 2022.3.27f1 [MTT-8500] (#170)
* upgraded editor to 2022.3.27f1

* added editor upgrade and related package upgrades to CHANGELOG
2024-05-08 09:29:40 +02:00
Fernando Cortez 8d058dfd42 Merge branch 'main' into develop 2024-05-06 17:35:35 -04:00
Bastien Humeau 35d08d76d1
Upgrade Invaders Sample to Unity 2022.3.27f1 [MTT-8505] (#169)
* Upgraded project to use Unity 2022.3.27f1 - [MTT-8505]

* Adding one automatic package upgrade that was missed when opening with the new LTS for the first time.

* Added upgrade entry to the changelog.
2024-05-06 13:24:45 -04:00
Kitty Draper c06fa7fe7b
Merge pull request #158 from Unity-Technologies/anticipation_sample_updates
Updated anticipation sample after API changes from review feedback in the anticipation branch.
2024-05-03 16:21:56 -05:00
Kitty Draper 4f98348bb6
Merge branch 'main' into anticipation_sample_updates 2024-05-03 15:47:34 -05:00
Elfi0Kuhndorf faac280b80
Fix/resolving todos and suggestions in comments 2dspaceshooter (#167)
* fixed some more comment typos and resolved todo in shipcontrol.cs plus comments in bullet.cs scripts

* adding a local pool for explosion spawning, adding comment for buff reset

* removing unneeded lines and reformatting

* deleted unneeded library reference

* trying to implement built-in pooling class into new script

* feat: added pooling system for explosion particles of bullet by using built-in pooling component

* fix: cleanup of bullet and exlosionsPool script and creating of pool instances, CHANGELOG addition

* deleted former custom object pool script as it is unused now

* adjusted CHANGELOG
2024-04-30 15:43:27 +00:00
Bastien Humeau 91a0a0778d
Fix: Adding comments on ingredients parenting to make it clear what is being done [MTT-8377] (#165)
* Fix: Adding comments on the rigidbody changes when parenting to be clear in what is being done [MTT-8377]
2024-04-25 14:12:55 -04:00
Elfi0Kuhndorf 2c96d6226e
Fix/update IDE packages [MTT-8034] (#166)
* updated IDE Rider packages in basic samples

* Update CHANGELOG.md
2024-04-23 09:36:26 +02:00
Fernando Cortez 1072e7d471
feat: ClientDriven upgrade to Netcode for GameObjects v1.8.1, client position place of execution change, Universal Rpc upgrade [MTT-7985] (#164)
* upgrade to Netcode for GameObjects v1.8.1, centralizing position changes client-side to one class

* redundant cast to NetworkObject removed, summary fix

* starting position set to origin once past all spawn points

* Rpcs converted to Universal Rpcs

* changelog addition

* more context on pattern change

* renaming of auto-gen method
2024-04-18 10:50:34 -04:00
Elfi0Kuhndorf 559f6678ac
Fix: Client Driven Ghost Static Ingredients on Late join [MTT-4505] (#157)
* added object spawner game objects for startup instead of in-scene place objects

there to copy behavior in Boss Room and to keep it consistent between different clients including late joiners

* adding NetworkObjectSpawner.cs script

* implemented spawning logic into an OnServerStarted event

* addressed feedback including namepace, OnDestroy method and null check

* added prefab variants and added summary  to NetworkObjectSpawner

* update for CHANGELOG

* adding NetworkManager.Singleton to functions and changing to var

* removed unnecessary lines, adjusted debug.assert and adjusted tags within the scene
2024-04-17 18:16:27 +02:00
Elfi0Kuhndorf 61085b1ef7
Deleting the duplicated comment and quick comment fixes [MTT-7677] (#163)
* deleting the duplicated comment (see MTT-7677)

* small comment fixes in ConnectionApproval.cs and in InvadersGame.cs
2024-04-16 17:07:09 +02:00
Fernando Cortez 42e23b8fba merge develop 2024-03-22 15:08:47 -04:00
Paolo Abela 56154f106d
Added Dedicated Game Server Sample (experimental) (#160)
* feat: dgs core [MTT-6058] (#1)

* Creating base project based on NGO template

* feat: adding dedicated server package to DGS sample [MTT-6834] (#2)

* Adding dedicated server package

* enabling content selection and stripping rendering, UI, and Audio components on servers

* using multiplayer role instead of configuration to define if server or client

* Adding scene bootstrapper from Boss Room

* Adding multiplayerRoleRestricted attribute to relevant scripts

* updating to MPPM 0.5.0

* refactored game application and gamestate to isolate client and server code

* Adding min number of players to config and using max from config

* Shutting down the server after game ends or all clients disconnect

* setting vsync count to 0 on servers

* setting multiplayer role when building via BuildProcessor.cs

* updating project editor version to 2023.3.0a7

* Updating CLIArgParser to use CLI Arguments from DedicatedServer

* removing port and server ip from config file

* Adding default config to additional build files

* enabling dedicated server build optimizations in player settings

* feature: adding DGS sample to CI [MTT-7459] (#3)

* split the pr trigger and build jobs in separate files

* moving test-editors as fields under each project, and adding the dgs sample to projects

* adding tests to CI

* renaming project to remove spaces in name

* Adding support to build Linux/Mac/Windows clients and servers through menus

* feat: player character and base level design [MTT-6059][MTT-7372][MTT-6063] (#5)

* adding com.unity.multiplayer.samples.coop package

* Adding third person starter assets

* adding back animation module and updating assembly dependencies

* adding starter assets asmdef

* creating player character

* creating environment

* cleaning up UI and adding quit button

* adding menu toggle action

* cleaning up disconnect flow

* setting builds to windowed mode

* Adding game menu

* displaying number of connected players

* feat: DGS Sample AI characters [MTT-6062] (#6)

* creating basic AI character patrolling between points

* using NetcodeHooks class for spawn and despawn hooks

* extracting character geometry and skeleton to prefabs

* replacing network variable with rpc

* updating mac image to more recent one

* feature: add readme to DGS sample (#7)

* creating readme file

* adding UGS setup instructions

* syntax fixes and adding links to package docs

* Apply suggestions from code review

Co-authored-by: Vic Cooper <vic.cooper@unity3d.com>

* add details for how to use MPPM

* clarifying local multiplayer flow

* removing doc link to page that doesnt exist yet

* clarifying how to use autoconnect mode

* Apply suggestions from code review

Co-authored-by: Vic Cooper <vic.cooper@unity3d.com>

* adding link to doc for port forwarding

* Apply suggestions from code review

Co-authored-by: Vic Cooper <vic.cooper@unity3d.com>

* Apply suggestions from code review

Co-authored-by: Vic Cooper <vic.cooper@unity3d.com>
Co-authored-by: Louis-Philippe Lafontaine-Bédard <louisphilippe.lb@unity3d.com>

* [Documentation] Removed useless section

* [Documentation] Applied feedback from PR

* Update Experimental/DedicatedGameServer/README.md

Co-authored-by: Vic Cooper <vic.cooper@unity3d.com>

* Apply suggestions from code review

Co-authored-by: Vic Cooper <vic.cooper@unity3d.com>

* chore: updated readme with suggestions

* Update Experimental/DedicatedGameServer/README.md

Co-authored-by: Vic Cooper <vic.cooper@unity3d.com>

* Update Experimental/DedicatedGameServer/README.md

Co-authored-by: Vic Cooper <vic.cooper@unity3d.com>

* chore: Fixed typos

---------

Co-authored-by: Vic Cooper <vic.cooper@unity3d.com>
Co-authored-by: Paolo Abela <paolo.abela@unity3d.com>
Co-authored-by: Paolo Abela <rikudefuffs@gmail.com>

* Project version upgrade + mini fix [MTT-7789] (#10)

* chore: updated project version to alpha 17

* chore: Updated multiplayer packages

* chore: reserealized proejct settings

* fix: stripped AICharacter animator component from server instances

* chore: disabled default network prefabs generation [skip ci]

* feat: removed Bootstrapper tool [MTT-7632] (#11)

* feat: removed Bootstrapper tool and used serialized fields instead [MTT-7632]

* fix: fixed faulty initialization due to race conditions

* chore: added comments and error logs

* Doors integration [MTT-6061] (#12)

* importing door scripts, models and animations from boss room

* adding doors to environment

* changing match duration to 5 minutes

* feat: Added logic that allows doors to be opened if at least one player is nearby, and to display the related UI on clients
chore: removed FloorSwitch assets

* feat: players can now be detected by doors when they collide

* feat: added "OpenDoor" input detection

* feat: doors open when a player asks them to do so

---------

Co-authored-by: LPLafontaineB <louisphilippe.lb@unity3d.com>

* chore: updated multiplayer packages to solve UGS integration issues

* DGS door UI (#13)

* feat: Added predicted and reconciled UI for InteractiveDoor

* fix: fixed scaling of door interaction UI

* chore: updated CI windows image

---------

Co-authored-by: Paolo Abela <rikudefuffs@gmail.com>

* DGS readme corrections [MTT-7869] (#14)

* chore: updated README

* chore: Apply suggestions from code review

Co-authored-by: Vic Cooper <vic.cooper@unity3d.com>

---------

Co-authored-by: Paolo Abela <rikudefuffs@gmail.com>
Co-authored-by: Vic Cooper <vic.cooper@unity3d.com>

* Feature: Dedicated Game Server Sample Art Pass [MTT-7403] (#8)

* URP settings updates: deleted 2D version and replaced with 3D version

* added colors and landmarks to the enviro, reorganized enviro prefab

* updated UI with stylesheet from other samples

* Added character color shader

* updated player colors

* Color updates and the addition of player icons

* Reorg of environment prefab, reimplementation of character numbers

* deletion of unneeded assets

* removed debugging method

* adjusted URP asset to minimize shadow artifacts

* environment tweaks

* slightly update door UI

* moved a pillar to be in desired position

* chore: Updated NGO to 1.8.0 to match the version ran in the CI

* deleted unused script

* made unnecessarily public class internal, also cleaned out some redundant code

---------

Co-authored-by: Paolo Abela <paolo.abela@unity3d.com>

* [DGS] Unneded systems strip [MTT-8054] (#15)

* chore: added missing newline to readme

* chore: optimization. stripped out all default rendering, UI and audio components

* Fixed incorrect CI settings (#16)

* chore: fixed CI tests not running properly

* chore: (CI) updated Windows image and added specific editor version

* chore: (CI) updated mac image

* chore: updated dedicated server and multiplayer play mode packages to 1.0.0 (#18)

* chore: updated documentation links

* chore: removed unneeded folders

* chore: added instructions related to how to change the amount of players in a section [skip ci]

---------

Co-authored-by: Louis-Philippe Lafontaine-Bédard <louisphilippe.lb@unity3d.com>
Co-authored-by: Vic Cooper <vic.cooper@unity3d.com>
Co-authored-by: Paolo Abela <paolo.abela@unity3d.com>
Co-authored-by: Fernando Cortez <fernando.cortez@unity3d.com>
Co-authored-by: Jil Franco <jillian.franco@unity3d.com>
2024-03-22 12:05:57 +00:00
Fernando Cortez 66e05ca1c0
feat: dotnet standards tests + formatting pass on samples [MTT-5183] (#156)
* standards job added per sample project

* indentation

* descriptive job name per project

* relative path to projects

* editorconfig added

* actual netcode standards csproj file

* removing test job, paths sorted

* Invaders formatted

* 2DSpaceShooter formatted

* ClientDriven formatted

* DynamicAddressablesNetworkPrefabs formatted

* MultiplayerUseCases formatted

* changelog addition

* test: update editorconfig

* line separators change

* file in Addressables project formatted

* formatted straggler scripts in invaders
2024-03-14 13:24:11 -04:00
Jaedyn Draper 22356c49ce Renamed `AuthorityState` to `AuthoritativeState` for consistency. 2024-03-13 16:54:52 -05:00
Jaedyn Draper 772c54b6c5 Updated anticipation sample after API changes from review feedback in the anticipation branch. 2024-03-13 14:54:02 -05:00
Fernando Cortez 449e70b668 Merge branch 'main' into develop 2024-03-04 13:54:00 -05:00
Kitty Draper a781806ef5
feat: Added client anticipation sample [MTT-8052] (#154)
* Added client anticipation sample

* Added some extra comments.

* Pointing at the git repo instead of local repo.

MTT-8052

* Readme

* Fix accidentally replaying one input frame twice on each reanticipation.

* Adjusted sample based on API change in the SDK (working in real time rather than ticks)

* A few small updates:
- Ensure consistent behavior between sliders for variable E (client should jump from the end to the beginning instead of interpolating)
- Change player movement to happen in FixedUpdate for consistency of simulation (and adjusted input handling to account for that)
- Show how transforms can smooth conditionally and snap when the smooth distance is too great

* Small updates:
- Added control over latency and jitter in the UI
- Fixed a timing issue with how ValueE is updated so it exactly matches the server now
- Added a slider to control smooth duration for the network variables
- Added some extra comments

* typo

* Address review feedback.

* - Added the ability to adjust latency and jitter simulations while connected (via a disconnect and reconnect)
- Added smoothing on the server side for Value C and for the player character to show how a host can still perform smoothing on received inputs.

* Limited axes of synchronization for the player object to only those that are used.

* Updated netcode for gameobjects package commit hash.

* Readme updates

* Updated netcode for gameobjects package commit hash.
2024-03-04 12:18:25 -05:00
Elfi0Kuhndorf a8a31a22fa
MTT-7858: Make ParrelSync window interactable in tutorial (#155)
* change the masking settings of that tutorial page so that users can use the ParrelSync window

* Revert "change the masking settings of that tutorial page so that users can use the ParrelSync window"

This reverts commit 86fe3b2553.

* add parrelsync clones window to tutorial
2024-02-16 14:08:19 +01:00
Fernando Cortez 0b1a346e2f Merge branch 'main' into develop 2024-01-16 11:49:18 -05:00
Fernando Cortez 4787992f5c
Merge pull request #153 from Unity-Technologies/release/v1.5.0
release: v1.5.0
2023-12-15 15:38:34 -05:00
Fernando Cortez 315b714c9f Merge branch 'develop' into release/v1.5.0 2023-12-15 15:35:41 -05:00
Fernando Cortez bf2c738409
feat: Updating utilities package for samples to v1.8.0 (#151)
* updating utilities package for samples

* changelog addition
2023-12-15 15:28:06 -05:00
Fernando Cortez ad27d64300
chore: Experimental folder contribution guidelines update (#152)
experimental contribution guidelines link update
2023-12-15 14:38:04 -05:00
Fernando Cortez 37521e0410 formatting in changelog 2023-12-15 14:11:19 -05:00
Fernando Cortez fe0bb30a0a updating readmes and changelog 2023-12-15 13:55:30 -05:00
Fernando Cortez cc0a585cc1 project versions updated 2023-12-15 13:43:40 -05:00
Fernando Cortez 02f759f940 changelog addition 2023-12-15 11:54:52 -05:00
Fernando Cortez 6ec028ff16 updating utilities package for samples 2023-12-15 11:42:34 -05:00
Fernando Cortez 1107a208c7
fix: fix the no fire sound problem (external PR #138) (#148)
* fix the no fire sound problem (#138)

Co-authored-by: Fernando Cortez <fernando.cortez@unity3d.com>

* changelog addition

---------

Co-authored-by: Zhanyu Feng <42690051+Alexander5421@users.noreply.github.com>
2023-12-12 17:30:52 -05:00
Fernando Cortez a1b536715a
fix: remove unnecessary NetworkVariable in 2DSpaceShooter (#149)
* ship thrust varaible converted to float

* changelog addition

* renaming of variable
2023-12-12 16:08:37 -05:00
Fernando Cortez ca173a7ce0
fix: correct variable names used for initialization (external PR #145) (#150)
* fix: swapped variable names in ShipControl.cs (#145)

Co-authored-by: Fernando Cortez <fernando.cortez@unity3d.com>

* changelog addition

---------

Co-authored-by: alexia6119 <67676619+alexia6119@users.noreply.github.com>
2023-12-12 15:16:54 -05:00
Fernando Cortez 7c54df861a
chore: removing LINQ usage in bitesize samples [MTT-7798] (#146)
* removing linq usage in bitesize samples

* changelog addition
2023-12-08 11:56:51 -05:00
Fernando Cortez b72a35baef
feat: upgrade bitesize samples to NGO v1.7.1 & 2022.3.14f1 (#147)
* 4 samples updated to 2022.3.13f1 & by necessity NGO v1.7.0

* upgraded 4 samples to 2022.3.14f1

* updating use cases sample to 2022.3.14f1 & NGO v1.7.0

* upgrading all samples to NGO v1.7.1

* changelog addition
2023-12-08 09:54:52 -05:00
Fernando Cortez 5bd101d69c Merge branch 'main' into develop 2023-11-20 15:33:18 -05:00
Fernando Cortez b333f4dac0 correct PR template removed 2023-10-02 15:40:01 -04:00
Fernando Cortez 30d256ad4a chore: removing added gitignore & PR template, updating readme 2023-10-02 15:34:41 -04:00