Difference between revisions of "Single Player CCG Kit Installing the kit"

From gamevanilla wiki
Jump to: navigation, search
(Building your game for a player)
Line 32: Line 32:
 
== Building your game for a player ==
 
== Building your game for a player ==
  
When building your game for a player, you need to make sure you select the ''Build/Build Player Content'' in the ''Addressables'' window (located in the ''Window/Asset Management'' menu option) before making a build for your target platform. '''This step is not needed if you are playing from the editor.'''
+
When building your game for a player, you need to make sure to select the ''Build/Build Player Content'' in the ''Addressables'' window (located in the ''Window/Asset Management'' menu option) before making a build for your target platform. '''This step is not needed if you are playing from the editor.'''
  
 
|}
 
|}

Revision as of 01:38, 15 January 2020

Create a new Unity project

Open Unity (you will need to use Unity 2019.3.0f5 or higher) and create a new 2D project:

new-project.png

Import DOTween into your project

Download and import the free DOTween asset into your project.

Import TextMeshPro Essential Resources into your project

Select the TextMeshPro/Import TMP Essential Resources option in the Window menu. This will make sure you can use TextMeshPro in your project.

Import Single-Player CCG Kit into your project

Download and import the Single-Player CCG Kit asset into your project.

Make sure you import the kit as a complete project and that you answer "yes" when asked if you want to include the package dependencies. This will automatically install the package dependencies required: 2D Animation, 2D PSD Importer, Addressables and Entities.

Enable Fast Play Mode in the Unity editor

This step is optional but, because the kit is compatible with the new Fast Play Mode available in Unity 2019.3, you should always enable it to get a blazing fast experience when pressing the Play button in the Unity editor. You can change this in your Project Settings (located in the Edit/Project Settings menu option). In the Editor section, toggle the Enter Play Mode Options (Experimental) flag on.

Play

If all goes well, you should not have any errors on the console and you should be able to run the game by opening the Game scene and clicking on the Play button. Make sure you have added all the scenes (located in the SinglePlayerCCGKit/Scenes folder) to your build settings if you want to build a player.

Building your game for a player

When building your game for a player, you need to make sure to select the Build/Build Player Content in the Addressables window (located in the Window/Asset Management menu option) before making a build for your target platform. This step is not needed if you are playing from the editor.