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

63 Коммитов

Автор SHA1 Сообщение Дата
Paolo Abela b1529d901f chore: updated changelogs with 1.7.0 release notes
chore: updated README accoridng to the changes to Multiplayer Use Cases and Invaders
2024-08-29 10:44:16 +01: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
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 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
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
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
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
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
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 02f759f940 changelog addition 2023-12-15 11:54:52 -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 329f120e11
chore: project versions updated and changelog updated with 1.4.0 release (#139)
* project versions updated and changelog updated with 1.4.0 release

* updating latest release badge
2023-09-25 13:53:09 -04:00
Fernando Cortez 823f008508
fix: listening for NetworkObject parent changes to fix stuck ingredients on disconnects [MTT-7103] (#136)
* listening for NetworkObject parent changes to fix stuck ingredients on disconnects

* changelog addition
2023-09-22 15:22:13 -04:00
Fernando Cortez 96bbf2dabb
feat: Bitesize samples 2022.3.9 LTS & NGO v1.6.0 upgrade [MTT-7247] (#134)
* bitesize projects updated to 2022.3.9f1 & NGO v1.6.0

* 2DSpaceShooter URP asset added

* readme update and changelog additions

* 2DSpaceShooter: spawner script formatted

* dependencies update for projects
2023-09-20 14:32:27 -04:00
Fernando Cortez 50cd4fbcde
fix: DynamicAddressablesNetworkPrefabs showing loading status on already spawned prefabs [MTT-6688] (#132)
* fix showing loading status on already spawned prefabs

* changelog addition
2023-08-11 17:08:28 -04:00
Fernando Cortez 7b6fa750f3
fix: 2DSpaceShooter, ClientDriven, & Invaders point to v2.2.0 Samples Utilities package (#129)
* 2DSpaceShooter, ClientDriven, & Invaders point to v2.2.0 Samples Utilities version

* updating changelog and adding v1.3.0 release
2023-07-07 16:07:02 -04:00
Fernando Cortez 426ded5040
feat: upgrade bitesize samples to 2022.3.0f1 LTS [MTT-5644] (#124)
* ClientDriven updated to 2022.3.0f1 LTS

* DynamicAddressablesNetworkPrefabs updated to 2022.3.0f1 LTS

* Invaders updated to 2022.3.0f1 LTS

* Invaders: fixing a null ref on disconnect on client after host disconnects

* Invaders: URP files updated

* 2DSpaceShooter updated to 2022.3.0f1 LTS

* testing Yamato jobs on 2022.3

* changelog addition

* fixing Readme references to newest LTS version
2023-06-07 16:23:51 -04:00
LPLafontaineB 04c4fb65c7
chore: update to ngo 1.4.0 [MTT-6276] (#118)
* Upgrading DynamicAddressablesNetworkPrefabs sample to NGO 1.4.0

* Upgrading ClientDriven sample to ngo 1.4.0

* Upgrading 2DSpaceShooter sample to NGO 1.4.0

* Upgrading Invaders sample to NGO 1.4.0

* updating readme
2023-05-02 13:09:19 -04:00
LPLafontaineB 03aa44086b
chore: update to latest lts [MTT-6276] (#119)
* updating editor version for bitesize projects
2023-05-02 13:40:50 +00:00
LPLafontaineB 2f02af1355
fix: readme updates (#120)
* Fixing tutorial links

* clarifying supported platforms
2023-05-02 09:19:50 -04:00
LPLafontaineB 173a25ec7f
fix: single gitignore (#117)
* removing project-specific gitignores

* Including parrelsync clones in gitignore
2023-04-26 09:43:09 -04:00
Fernando Cortez 887088e791
documentation: changelog addition for #113 (#114)
changelog addition for #113
2023-03-10 11:58:35 -05:00
Fernando Cortez 96465ee7ec
fix: applying address inside TMP field to UTP connection data as host (#112)
* applying address inside TMP field to UTP connection data

* scene text reference update

* comment removal

* changelog addition
2023-03-06 11:22:53 -05:00
Fernando Cortez 0d86862ac8
fix: dynamic prefabs loaded status correctly shown on host (#111)
* loaded status shown correctly on host

* changelog update
2023-03-06 10:47:07 -05:00
Jil Franco b5b7740d8b
Feat: Changelog update (#109)
changelog updated
2023-02-17 19:47:56 -05:00
Jil Franco 6710f7eb48
Minor fixes for the 1.2.1 patch (#106)
* fixed some broken readme links, added in direct links to each sample from their respective readmes, updated project versions to new patch, and updated changelog

* Update CHANGELOG.md

* Update CHANGELOG.md

* updating changelog with pr number

* updated this web badge to have this patch release as latest release

* more link fixes

* made changelog descriptions more accurate

* Update README.md

* updated dynamic prefabs bundle version to 1.2.1
2023-02-17 19:08:42 -05:00
Jil Franco ba3b796877
one last final readme update added to the changelog :) (#104) 2023-02-16 22:29:09 -05:00
Jil Franco 73f3f22673
Feat: added missing pr to changelog (#102)
added this one missing pr to the changelog
2023-02-16 20:34:33 -05:00
Jil Franco 570b9907fe
Changelog Update [MTT-5460] (#95)
* updated changelog

* updated readme change to correct PR number

* added that the whole repo's readme was updated

* added materials folder pr to dynamic prefabs section of changelog

* Update CHANGELOG.md

* changelog update

* updated changelog, added link for addressables

* updated this header to be more accurate

---------

Co-authored-by: Sam Bellomo <71790295+SamuelBellomo@users.noreply.github.com>
2023-02-16 20:21:33 -05:00
Fernando Cortez 73512b462d
chore: update bitesize samples to 2021.3.18f1 LTS (#91)
* ClientDriven, Invaders, and 2DSpaceShooter upgraded to 2021.3.18f1 LTS, 2DSpaceShooter colour fix

* changelog additions
2023-02-07 11:43:24 -05:00
LPLafontaineB e50a3d8427
fix: removing warning when spawning powerups (#90)
* updating NetworkVariable after the NetworkObject is spawned
2023-01-04 20:55:38 +00:00
LPLafontaineB 7a0900d18b
fix: bullet explosion desync [MTT-5080] (#89)
* removing NetTransform from bullets and driving movement on clients instead
2023-01-04 15:37:37 -05:00
Fernando Cortez d2405e3571
chore: changelog update for v1.1.0 release (#86)
quick release date change
2022-12-13 16:31:32 -05:00
Fernando Cortez 9d8b65d2ce
fix: ClientDriven initial position sync fix on owning clients (#85)
* removing clientrpc for setting position on spawn, disabling charactercontroller on clients

* adding more detailed comments

* changelog addition
2022-12-13 15:46:59 -05:00
Fernando Cortez dcd5d27783
feat: updating Invaders and 2DSpaceShooter to Netcode for GameObjects v1.2.0 (#84)
* updating Invaders and 2DSpaceShooter to NGOv1.2.0

* changelog addition
2022-12-12 13:41:50 -05:00