Installing the kit

From gamevanilla wiki
Revision as of 05:10, 31 March 2020 by David (Talk | contribs)

Jump to: navigation, search

Create a new Unity project

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

IMPORTANT: We always make sure to keep our assets up-to-date so that they work with the latest versions of the engine. Unfortunately, sometimes certain Unity versions have bugs that are outside our control. We keep a list of these known issues here.

installation_new_project.png

Import Puzzle Match Kit into your project

Download and import the Puzzle Match 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 Home scene and clicking on the Play button. Make sure you have added all the scenes (located in the PuzzleMatchKit/Scenes folder) to your build settings:

installation_build_settings.png

Please note that the Home scene always needs to be the first scene you run and also the first scene in your build settings, as it contains the code that initializes the entire game.

NOTE: Only if you are using Unity 2018.4.0

We still provide a Unity 2018.4.0 download of the kit in case you are using Unity 2018 (but we recommend using Unity 2019 for new projects). If you are using the Unity 2018.4.0 version, please make sure to import the free Lean Tween and Full Serializer libraries before importing Candy Match 3 Kit into your Unity project. We explain how to do so here:

  • Download and import the free LeanTween asset into your project.
  • Download and import the free Full Serializer library into your project. Make sure you only import the Assets/FullSerializer/Source folder; importing the Assets/FullSerializer/Testing folder will result in compilation errors.

This is NOT needed if you are using Unity 2019.