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

From gamevanilla wiki
Jump to: navigation, search
(Import TextMeshPro Essential Resources into your project)
(Building your game)
Line 28: Line 28:
 
== Building your game ==
 
== Building your game ==
  
The kit uses the new Addressables package in Unity for loading its resources. This means that 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.
+
The kit uses the new Addressables package in Unity for loading its resources. This means that 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.
  
 
|}
 
|}

Revision as of 10:01, 7 January 2020

Create a new Unity project

Open Unity (you will need to use Unity 2019.3.0f3 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. 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.

Make sure you import the kit as a complete project and that you install the package dependencies required: 2D Animation, 2D PSD Importer, Addressables and Entities.

Enabling 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.

Building your game

The kit uses the new Addressables package in Unity for loading its resources. This means that 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.