"Primary Tutorial" (Ver.1.1)

Please feel free to contact me if you have any questions.
shopmaster@chobi-glass.com
http://chobi-glass.com/Unity/index.html


This tutorial provides the basic knowledge about the objects in the demo scenes.

(1) Open the demo scene "Test_Field".
     "Kawaii_Tanks_Project" >> "Scenes" >> Double click the "Test_Field".
   

(2) Explore the Hierarchy window.
    You can find the following objects in the Hierarchy window.
   
    "Directional light", "Terrain" and "Props" are basic objects for making up this stage. In this porject, you need to attach any collider into the terrain and the obstacles.

    "Plants" contains trees and hedges in this scene. They are made as breakable objects in this project.

    "Canvas_Images" contains Image objects such as Kill Counter, Lock-On Marker, Reticle and so on.

    "Canvas_Pause" contains some GUI components used for adjusting the audio volume. They are displayed as pause menu while pausing.

    "Canvas_Texts" contains Text objects displayed in the runtime. They are used for showing messages such as "Mission Clear".

    "Canvas_Fade" contains an Image object used for fading effects while switching the scene.

    "Game_Controller" is the most important object to design the level. You can modify the stage, difficulty, and BGM settings from this object.

    "EventSystem" is required to use Unity GUI components such as Button and Slider.

    "Waypoint_Pack" contains some waypoints referred to from AI tanks in the scene.

    "SD_Tiger-I_1.1" is player's tank in this scene. In this poroject, you can operate only one tank in the scene. The settings of the player's tank are explained later.

    "SD_Firefly_AI_1.1" is AI tank in this scene. This tank is set as enemy of the player. The settings of the AI tank are explained later.

    The minimum required objects to create a new scene are "Canvas_Images", "Canvas_Texts", "Game_Controller" and player's tank (instantiated prefab or "Spawner").
    Ofcourse, set also your terrain, props and light.
    When the platform is mobile devices, "EventSystem" is also required to use the "Touch_Controls".
    Those prefabs are placed in the 'Scene_Components' folder under the 'Prefabs'
        "Kawaii_Tanks_Project" >> "Prefabs" >> "Scene_Components"

    The tanks can be set directly from the Project window (Drag and drop the prefab), or can be instantiated by using "Spawner" in the runtime. The settings of the "Spawner" are explained later.
    The tank prefabs are placed in the "Prefabs" folder.
        "Kawaii_Tanks_Project" >> "Prefabs"
    

(3) Explore the "Game_Controller".
    Select the "Game_Controller" in the Hierarchy window, then several options are displayed in the Inspector window.
    You can modify the stage, difficulty, and BGM settings from this object.
   
    For details, please read the reference "Game_Controller".
    The most often used option might be "Required Kill Count". You can set how many kills to win or lose from this option.
    Try to change the "Required Kill Count" value to "1", and play the game. When you kill the enemy tank, the mission will be finished.
   


(4) Explore the Tanks.
    Select the "SD_Tiger-I_1.1" in the Hierarchy window.
    You can modify the identity and damage settings of the tank from this object.
   
    For details, please read the reference "Top object of tank".
    Pleae make sure that the "Is Player" option is enabled.
    You need to enable this option to use this tank as player's tank.
    In the case of non player character's tank, disable this option.

    Next, select the "SD_Firefly_AI_1.1" in the Hierarchy window.
    And make sure that the "Is Player" option is disabled, and the "Relationship" value is set to "1".
   
    This tank has AI components to be used as non player character's tank. So the "Is Player" option should be disabled.
    And this tank is set as an enemy of the player by setting the "Relationship" value to "1".
    Try to change the "Relationship" value to "0", and play the game. This tank will never attack you, because he is set as your friend.
   
    The tanks can be set directly from the Project window (Drag and drop the prefab), or can be instantiated by using "Spawner" in the runtime.
    Explore the "Spawner" in the next sections.


(5) Explore the "Spawner".
    Open the demo scene "03_Valley_Battle_Allies".
        "Kawaii_Tanks_Project" >>  "Scenes" >> Double click the "03_Valley_Battle_Allies".

    And select the "Player" in the Hierarchy window.
    You can modify the tank settings such as Durability, Attack Force, AI's behavior and so on from this object.
   
    Try to change the "Tank Prefab" value to "SD_Tiger-I_1.1". The tank prefabs are placed in the "Prefabs" folder.
        "Kawaii_Tanks_Project" >> "Prefabs" >> Drag and drop the "SD_Tiger-I_1.1" into the box.
    Make sure that player's tank has been changed to Tiger-I in the game.
   
    Next, select the "Enemy (1)", "Enemy (2)", "Enemy (3)", "Enemy (4)" in the Hierarchy window. (You can select multiple objects while pressing Ctrl key.)
   
    And try to enable  the "No Attack" option, in order to change the behavior of the AI tanks.
   
    Make sure that the enemy tanks never attack you in the game.
   
    Please try to modify the demo scenes as you like.
    e.g.
        Make player's tank invincible by changing the "Durability" value to infinity. (Type 'infinity' in the box.)
        Get rapid-firing by reducing the "Reload Time" and "Recoil Force" values. (My recommendation!)
    For more details, please read the reference "Spawner".


(6) You have now completed the "Primary Tutorial".
    All the options are explained in the reference manual.
    Please try to create your unique game by remodeling this project.



Please feel free to contact me if you have any questions.
shopmaster@chobi-glass.com
http://chobi-glass.com/Unity/index.html