このページは編集中です。更新が保留になっている可能性があります。
Overview
Level
INTERMEDIATE
Introduction
The Quantum Quantum Golf Sample is a 2 player turn-based mini-golf game and implements several turn-based features.
Technical Info
- Unity: 6000.0.64f1
- Platforms: PC (Windows 10 / Mac) and Mobile (Android) and Web (WebGL)
Highlights
Technical Features
- an accurate turn control system (down to tick precision);
- low bandwith play/skip commands;
- a fair timer pattern that takes each client's connection quality into account; and,
- signals and events to keep the simulation and view aware of the turn state;
These features are game agnostic and can easily be re-used for other games using turn-control related logic
Gameplay
The gameplay implementation exemplifies best practices regarding the use of the turn based features mentioned above.
Migration
This sample was migrated from Quantum 2. The following are changes made between the Quantum 2 and Quantum 3 versions:
- Changed some timers to now use
FrameTimers - Only one ball prefab that changes color based on the player controlling it.
- Utilizes the new Quantum Start UI.
- Added two scripts,
FadingControllerandFadingObjectwhich are used to "hide" objects that may be obscuring the golf balls during play. - Utilizes Unity's InputSystem
3rd Party Assets
The Quantum Golf Sample includes several assets provided courtesy of their respective creators. The full packages can be acquired for your own projects at their respective site:
- Fonts Kit by Kenney
- Minigolf Kit by Kenney
- Nature Kit by Kenney
- UI Pack by Kenney