Skip to content

A tiny sample of how to have a Simulator spawn and run a character for connected players, in a point-and-click fashion (think Runescape).

Notifications You must be signed in to change notification settings

coherence/simulator-point-and-click-sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simulator Point-and-click Sample Project

Sample project demonstrating how to create a setup where Clients click to request to move a character, but the movement is executed on a Simulator. Requests are done by Clients using NetworkCommands. The Simulator uses a NavMeshAgent to chart the path, and then syncs position, rotation and animation parameters to the connected Clients.

Note: This project is intended as a starting point, and not meant to represent production-ready code. It is structured for ease of learning. For questions and to continue learning, use coherence's Community Forums and Discord.

Overview video

This video is an overview of the project's structure, and can be a great guidance as you explore the sample: https://www.youtube.com/watch?v=E0GU-BK27R0

Unity version

This project is set to be opened in Unity 6, and is setup to use Multiplay Play Mode Scenarios. Choose Simulator or Simulator + 1 Client to run a working version of the game. Downgrade to 2022 or 2021 should be possible, but it might require manual work.

Graphics

This project contains open-source 3D graphics by Kenney Vleugels (kenney.nl)

About

A tiny sample of how to have a Simulator spawn and run a character for connected players, in a point-and-click fashion (think Runescape).

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages