├── Assets ├── Controllers.meta ├── Controllers │ ├── Cat.controller │ ├── Cat.controller.meta │ ├── Dog.controller │ ├── Dog.controller.meta │ ├── Hunter.controller │ ├── Hunter.controller.meta │ ├── Owl.controller │ ├── Owl.controller.meta │ ├── Turtle.controller │ ├── Turtle.controller.meta │ ├── Warrior.controller │ └── Warrior.controller.meta ├── Prefabs.meta ├── Prefabs │ ├── Item.prefab │ └── Item.prefab.meta ├── Scenes.meta ├── Scenes │ ├── Battle.unity │ ├── Battle.unity.meta │ ├── Menu.unity │ └── Menu.unity.meta ├── Scripts.meta ├── Scripts │ ├── ChoiceActor.cs │ ├── ChoiceActor.cs.meta │ ├── EnemyActor.cs │ ├── EnemyActor.cs.meta │ ├── GameManager.cs │ ├── GameManager.cs.meta │ ├── LobbyManager.cs │ ├── LobbyManager.cs.meta │ ├── Resolution.cs │ └── Resolution.cs.meta ├── Warrior.unity └── Warrior.unity.meta ├── ProjectSettings ├── AudioManager.asset ├── DynamicsManager.asset ├── EditorBuildSettings.asset ├── EditorSettings.asset ├── GraphicsSettings.asset ├── InputManager.asset ├── NavMeshLayers.asset ├── NetworkManager.asset ├── Physics2DSettings.asset ├── ProjectSettings.asset ├── QualitySettings.asset ├── TagManager.asset └── TimeManager.asset └── README.md /Assets/Controllers.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2690e773874836a4bb89b31633a4f8a4 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/Controllers/Cat.controller: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/textcube/tinybattle/42b7b2cd4718eab6354e204578f193947a87fffd/Assets/Controllers/Cat.controller -------------------------------------------------------------------------------- /Assets/Controllers/Cat.controller.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 396ca53008c48e346916066144472b5d 3 | NativeFormatImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/Controllers/Dog.controller: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/textcube/tinybattle/42b7b2cd4718eab6354e204578f193947a87fffd/Assets/Controllers/Dog.controller -------------------------------------------------------------------------------- /Assets/Controllers/Dog.controller.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a44595f1482fab2499e8dad1fb8006b1 3 | NativeFormatImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/Controllers/Hunter.controller: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/textcube/tinybattle/42b7b2cd4718eab6354e204578f193947a87fffd/Assets/Controllers/Hunter.controller -------------------------------------------------------------------------------- /Assets/Controllers/Hunter.controller.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a8cfac7c609b9464aa0e4b04a7991cc6 3 | NativeFormatImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/Controllers/Owl.controller: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/textcube/tinybattle/42b7b2cd4718eab6354e204578f193947a87fffd/Assets/Controllers/Owl.controller -------------------------------------------------------------------------------- /Assets/Controllers/Owl.controller.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c3f4479121bce654dbde523133939d22 3 | NativeFormatImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/Controllers/Turtle.controller: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/textcube/tinybattle/42b7b2cd4718eab6354e204578f193947a87fffd/Assets/Controllers/Turtle.controller -------------------------------------------------------------------------------- /Assets/Controllers/Turtle.controller.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: eb57ce9fe472f9d449f09b67bc2ed066 3 | NativeFormatImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/Controllers/Warrior.controller: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/textcube/tinybattle/42b7b2cd4718eab6354e204578f193947a87fffd/Assets/Controllers/Warrior.controller -------------------------------------------------------------------------------- /Assets/Controllers/Warrior.controller.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fe63e9afc21adf54d9cbd35c43bab7f5 3 | NativeFormatImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/Prefabs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9f27d862bce1bd7499b7f2e8cb67edd8 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/Prefabs/Item.prefab: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/textcube/tinybattle/42b7b2cd4718eab6354e204578f193947a87fffd/Assets/Prefabs/Item.prefab -------------------------------------------------------------------------------- /Assets/Prefabs/Item.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5bb75ba8655befb4bbb2e24b24062150 3 | NativeFormatImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/Scenes.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 145a7d3d7c2ef214d970f483892e2fe0 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/Scenes/Battle.unity: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/textcube/tinybattle/42b7b2cd4718eab6354e204578f193947a87fffd/Assets/Scenes/Battle.unity -------------------------------------------------------------------------------- /Assets/Scenes/Battle.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bde992b2e185b334b85124ea22ade69b 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/Scenes/Menu.unity: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/textcube/tinybattle/42b7b2cd4718eab6354e204578f193947a87fffd/Assets/Scenes/Menu.unity -------------------------------------------------------------------------------- /Assets/Scenes/Menu.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 868dcd9b114950d40a0404b353a4aaf4 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/Scripts.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a6c5c7d1bb1b7c94a86ea0964daaeefa 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/Scripts/ChoiceActor.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using System.Collections; 3 | using System.Collections.Generic; 4 | 5 | public class ChoiceActor : MonoBehaviour { 6 | public GameManager gameManager; 7 | public GameObject[] bulletPrefab; 8 | 9 | Transform[] enemies; 10 | Animator animator; 11 | Transform tr; 12 | 13 | void Start () { 14 | animator = GetComponent(); 15 | List list = new List(); 16 | foreach (Transform tf in GameObject.Find("Enemies").transform) 17 | list.Add(tf); 18 | enemies = list.ToArray(); 19 | tr = transform; 20 | } 21 | 22 | void OnMouseDown() 23 | { 24 | gameManager.SendMessage("SetActor", animator, SendMessageOptions.DontRequireReceiver); 25 | } 26 | 27 | void OnDeal(int type) 28 | { 29 | GameObject bPrefab = bulletPrefab[type % 10 - 1]; 30 | Vector3 pos = tr.position + tr.forward * 1.2f + Vector3.up * 1f; 31 | if (type % 10 == 3) 32 | { 33 | Instantiate(bPrefab, tr.position + tr.forward * 1.2f + Vector3.up * 1f, tr.rotation); 34 | foreach (Transform t in enemies) 35 | t.SendMessage("OnDamage", SendMessageOptions.DontRequireReceiver); 36 | 37 | } 38 | Instantiate(bPrefab, tr.position + tr.forward * 1.2f + Vector3.up * 1f, tr.rotation); 39 | 40 | } 41 | 42 | void Update () { 43 | 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /Assets/Scripts/ChoiceActor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6d5da62387527ab42a1b985ee6c3af56 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Scripts/EnemyActor.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using System.Collections; 3 | 4 | public class EnemyActor : MonoBehaviour { 5 | public GameObject damageEffectPrefab; 6 | Animator animator; 7 | 8 | void Start () { 9 | animator = GetComponent(); 10 | } 11 | 12 | void OnDeal(int type) 13 | { 14 | //Debug.Log("OnDeal : " + type); 15 | } 16 | 17 | void Update () { 18 | 19 | } 20 | 21 | void OnDamage() 22 | { 23 | animator.CrossFade("Damage", 0.2f); 24 | if (damageEffectPrefab) Instantiate(damageEffectPrefab, transform.position + Vector3.up * 1f, Quaternion.identity); 25 | } 26 | 27 | void OnCollisionEnter(Collision collision) 28 | { 29 | foreach (ContactPoint contact in collision.contacts) 30 | { 31 | if (contact.otherCollider.tag == "Bullet") 32 | { 33 | OnDamage(); 34 | } 35 | } 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /Assets/Scripts/EnemyActor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 437bc90d15973574b92bde26fdc54726 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Scripts/GameManager.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using System.Collections; 3 | 4 | public class GameManager : MonoBehaviour { 5 | public Animator[] team; 6 | public Transform[] hudTeam; 7 | Animator choice; 8 | Vector3 hudStartPos; 9 | 10 | void Start () { 11 | hudStartPos = hudTeam[0].position; 12 | SetHud(0); 13 | } 14 | 15 | void SetHud(int who) 16 | { 17 | choice = team[who]; 18 | for (int i=0; i= team.Length) return; 33 | SetHud(i); 34 | } 35 | 36 | public void Attack() 37 | { 38 | if (!choice) return; 39 | choice.CrossFade("Attack", 0.2f); 40 | } 41 | 42 | public void Attack2() 43 | { 44 | if (!choice) return; 45 | choice.CrossFade("Attack2", 0.2f); 46 | } 47 | 48 | public void Attack3() 49 | { 50 | if (!choice) return; 51 | choice.CrossFade("Attack3", 0.2f); 52 | } 53 | 54 | void Update () { 55 | 56 | } 57 | 58 | public void LoadMenu(){ 59 | Application.LoadLevel("Menu"); 60 | } 61 | } 62 | -------------------------------------------------------------------------------- /Assets/Scripts/GameManager.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: eb3b37821c9b52a40a14dbe1e3fb2fe9 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Scripts/LobbyManager.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using System.Collections; 3 | 4 | public class LobbyManager : MonoBehaviour { 5 | public GameObject gridObject; 6 | public GameObject itemPrefab; 7 | UIGrid grid; 8 | 9 | void Start () { 10 | grid = gridObject.GetComponent(); 11 | foreach (string spriteName in itemSprites) 12 | { 13 | GameObject go = NGUITools.AddChild(gridObject, itemPrefab); 14 | UISprite sprite = go.transform.FindChild("Item").GetComponent(); 15 | sprite.spriteName = spriteName; 16 | } 17 | grid.Reposition(); 18 | } 19 | public void LoadBattle() 20 | { 21 | Application.LoadLevel("Battle"); 22 | } 23 | 24 | void Update () { 25 | 26 | } 27 | 28 | string[] itemSprites = new string[]{ 29 | "IT_arrow_normal" 30 | , "IT_axe_normal" 31 | , "IT_battleaxe_normal" 32 | , "IT_bindings_dragonhide_normal" 33 | , "IT_bindings_stitched_normal" 34 | , "IT_bindings_worn_normal" 35 | , "IT_bolt_normal" 36 | , "IT_boots_dragonhide_normal" 37 | , "IT_boots_stitched_normal" 38 | , "IT_boots_worn_normal" 39 | , "IT_bow_normal" 40 | , "IT_bracers_battered_normal" 41 | , "IT_bracers_boneplated_normal" 42 | , "IT_bracers_fine_normal" 43 | , "IT_bracers_handmade_normal" 44 | , "IT_bracers_mithril_normal" 45 | , "IT_bracers_pristine_normal" 46 | , "IT_bracers_rusty_normal" 47 | , "IT_bracers_tattered_normal" 48 | , "IT_bracers_twilight_normal" 49 | , "IT_BrassRing_normal" 50 | , "IT_breastplate_battered_normal" 51 | , "IT_breastplate_boneplated_normal" 52 | , "IT_breastplate_pristine_normal" 53 | , "IT_Broadsword_normal" 54 | , "IT_cap_dragonhide_normal" 55 | , "IT_cap_stitched_normal" 56 | , "IT_cap_worn_normal" 57 | , "IT_club_normal" 58 | , "IT_coif_fine_normal" 59 | , "IT_coif_mithril_normal" 60 | , "IT_coif_rusty_normal" 61 | , "IT_CopperRing_normal" 62 | , "IT_corroded_axe_normal" 63 | , "IT_corroded_battleaxe_normal" 64 | , "IT_corroded_broadsword_normal" 65 | , "IT_corroded_dagger_normal" 66 | , "IT_corroded_greatsword_normal" 67 | , "IT_corroded_heavymace_normal" 68 | , "IT_corroded_mace_normal" 69 | , "IT_corroded_scimitar_normal" 70 | , "IT_corroded_shortsword_normal" 71 | , "IT_corroded_throwingdagger_normal" 72 | , "IT_cowl_handmade_normal" 73 | , "IT_cowl_tattered_normal" 74 | , "IT_cowl_twilight_normal" 75 | , "IT_Cracked_arrow_normal" 76 | , "IT_Cracked_bolt_normal" 77 | , "IT_Cracked_bow_normal" 78 | , "IT_Cracked_club_normal" 79 | , "IT_cracked_crossbow_normal" 80 | , "IT_Cracked_staff_normal" 81 | , "IT_crossbow_normal" 82 | , "IT_cuirass_dragonhide_normal" 83 | , "IT_cuirass_stitched_normal" 84 | , "IT_cuirass_worn_normal" 85 | , "IT_dagger_normal" 86 | , "IT_EarringCutglass_normal" 87 | , "IT_EarringDiamond_normal" 88 | , "IT_EarringPlain_normal" 89 | , "IT_EarringRuby_normal" 90 | , "IT_EarringSapphire_normal" 91 | , "IT_Elder-wood_arrow_normal" 92 | , "IT_Elder-wood_bolt_normal" 93 | , "IT_Elder-wood_bow_normal" 94 | , "IT_Elder-wood_club_normal" 95 | , "IT_Elder-wood_crossbow_normal" 96 | , "IT_Elder-wood_staff_normal" 97 | , "IT_fine_axe_normal" 98 | , "IT_fine_battleaxe_normal" 99 | , "IT_fine_broadsword_normal" 100 | , "IT_fine_dagger_normal" 101 | , "IT_fine_greatsword_normal" 102 | , "IT_fine_heavymace_normal" 103 | , "IT_fine_mace_normal" 104 | , "IT_fine_scimitar_normal" 105 | , "IT_fine_shortsword_normal" 106 | , "IT_fine_throwingdagger_normal" 107 | , "IT_gauntlets_battered_normal" 108 | , "IT_gauntlets_boneplated_normal" 109 | , "IT_gauntlets_fine_normal" 110 | , "IT_gauntlets_mithril_normal" 111 | , "IT_gauntlets_rusty_normal" 112 | , "IT_gilded_axe_normal" 113 | , "IT_gilded_battleaxe_normal" 114 | , "IT_gilded_broadsword_normal" 115 | , "IT_gilded_dagger_normal" 116 | , "IT_gilded_greatsword_normal" 117 | , "IT_gilded_heavymace_normal" 118 | , "IT_gilded_mace_normal" 119 | , "IT_gilded_scimitar_normal" 120 | , "IT_gilded_shortsword_normal" 121 | , "IT_gilded_throwingdagger_normal" 122 | , "IT_gloves_dragonhide_normal" 123 | , "IT_gloves_handmade_normal" 124 | , "IT_gloves_stitched_normal" 125 | , "IT_gloves_tattered_normal" 126 | , "IT_gloves_twilight_normal" 127 | , "IT_gloves_worn_normal" 128 | , "IT_goldkey" 129 | , "IT_GoldRing_normal" 130 | , "IT_gold_coins" 131 | , "IT_greatsword_normal" 132 | , "IT_greaves_battered_normal" 133 | , "IT_greaves_boneplated_normal" 134 | , "IT_greaves_fine_normal" 135 | , "IT_greaves_mithril_normal" 136 | , "IT_greaves_pristine_normal" 137 | , "IT_greaves_rusty_normal" 138 | , "IT_greenkey" 139 | , "IT_grog" 140 | , "IT_guantlets_pristine_normal" 141 | , "IT_Hand-carved_arrow_normal" 142 | , "IT_Hand-carved_bolt_normal" 143 | , "IT_Hand-carved_bow_normal" 144 | , "IT_Hand-carved_club_normal" 145 | , "IT_Hand-carved_crossbow_normal" 146 | , "IT_Hand-carved_staff_normal" 147 | , "IT_hauberk_fine_normal" 148 | , "IT_hauberk_mithril_normal" 149 | , "IT_hauberk_rusty_normal" 150 | , "IT_heavymace_normal" 151 | , "IT_heavy_rock" 152 | , "IT_helm_battered_normal" 153 | , "IT_helm_boneplated_normal" 154 | , "IT_helm_pristine_normal" 155 | , "IT_ironkey" 156 | , "IT_leggings_fine_normal" 157 | , "IT_leggings_mithril_normal" 158 | , "IT_leggings_rusty_normal" 159 | , "IT_legplates_battered_normal" 160 | , "IT_legplates_boneplated_normal" 161 | , "IT_legplates_pristine_normal" 162 | , "IT_legwraps_dragonhide_normal" 163 | , "IT_legwraps_stitched_normal" 164 | , "IT_legwraps_worn_normal" 165 | , "IT_mace_normal" 166 | , "IT_Metal_Shod_arrow_normal" 167 | , "IT_Metal_Shod_bolt_normal" 168 | , "IT_Metal_Shod_bow_normal" 169 | , "IT_Metal_Shod_club_normal" 170 | , "IT_Metal_shod_crossbow_normal" 171 | , "IT_Metal_Shod_staff_normal" 172 | , "IT_MithrilRing_normal" 173 | , "IT_NecklaceGold_normal" 174 | , "IT_padding_fine_normal" 175 | , "IT_padding_mithril_normal" 176 | , "IT_padding_rusty_normal" 177 | , "IT_pads_dragonhide_normal" 178 | , "IT_pads_stitched_normal" 179 | , "IT_pads_worn_normal" 180 | , "IT_pants_handmade_normal" 181 | , "IT_pants_tattered_normal" 182 | , "IT_pants_twilight_normal" 183 | , "IT_pauldrons_battered_normal" 184 | , "IT_pauldrons_boneplated_normal" 185 | , "IT_pauldrons_pristine_normal" 186 | , "IT_redkey" 187 | , "IT_robe_handmade_normal" 188 | , "IT_robe_tattered_normal" 189 | , "IT_robe_twilight_normal" 190 | , "IT_runed_arrow_normal" 191 | , "IT_runed_axe_normal" 192 | , "IT_runed_battleaxe_normal" 193 | , "IT_runed_bolt_normal" 194 | , "IT_runed_bow_normal" 195 | , "IT_runed_broadsword_normal" 196 | , "IT_runed_club_normal" 197 | , "IT_runed_crossbow_normal" 198 | , "IT_runed_dagger_normal" 199 | , "IT_runed_greatsword_normal" 200 | , "IT_runed_heavymace_normal" 201 | , "IT_runed_mace_normal" 202 | , "IT_runed_scimitar_normal" 203 | , "IT_runed_shortsword_normal" 204 | , "IT_runed_staff_normal" 205 | , "IT_runed_throwingdagger_normal" 206 | , "IT_rusty_axe_normal" 207 | , "IT_rusty_battleaxe_normal" 208 | , "IT_rusty_broadsword_normal" 209 | , "IT_rusty_dagger_normal" 210 | , "IT_rusty_greatsword_normal" 211 | , "IT_rusty_heavymace_normal" 212 | , "IT_rusty_mace_normal" 213 | , "IT_rusty_scimitar_normal" 214 | , "IT_rusty_shortsword_normal" 215 | , "IT_rusty_throwingdagger_normal" 216 | , "IT_scimitar_normal" 217 | , "IT_sheildlarge_normal" 218 | , "IT_sheildmedium_normal" 219 | , "IT_shieldsmall_normal" 220 | , "IT_shortsword_normal" 221 | , "IT_SilverRing_normal" 222 | , "IT_slippers_handmade_normal" 223 | , "IT_slippers_tattered_normal" 224 | , "IT_slippers_twilight_normal" 225 | , "IT_staff_normal" 226 | , "IT_wrap_handmade_normal" 227 | , "IT_wrap_tattered_normal" 228 | , "IT_wrap_twilight_normal" 229 | }; 230 | } 231 | -------------------------------------------------------------------------------- /Assets/Scripts/LobbyManager.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 535fa3058953f514287463de53aa5831 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Scripts/Resolution.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using System.Collections; 3 | 4 | public class Resolution : MonoBehaviour { 5 | public int width = 480; 6 | public int height = 800; 7 | 8 | void Start () { 9 | #if UNITY_STANDALONE || UNITY_WEBPLAYER 10 | //Application.targetFrameRate = 60; 11 | if (Screen.width != width || Screen.height != height) 12 | Screen.SetResolution(width, height, false); 13 | #endif 14 | Destroy(this); 15 | } 16 | 17 | } 18 | -------------------------------------------------------------------------------- /Assets/Scripts/Resolution.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1cd80fb96c5634a408066aac05c5df58 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Warrior.unity: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/textcube/tinybattle/42b7b2cd4718eab6354e204578f193947a87fffd/Assets/Warrior.unity -------------------------------------------------------------------------------- /Assets/Warrior.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 61d603dc4a06c8b49b1ab9c59bab34a7 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /ProjectSettings/AudioManager.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/textcube/tinybattle/42b7b2cd4718eab6354e204578f193947a87fffd/ProjectSettings/AudioManager.asset -------------------------------------------------------------------------------- /ProjectSettings/DynamicsManager.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/textcube/tinybattle/42b7b2cd4718eab6354e204578f193947a87fffd/ProjectSettings/DynamicsManager.asset -------------------------------------------------------------------------------- /ProjectSettings/EditorBuildSettings.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/textcube/tinybattle/42b7b2cd4718eab6354e204578f193947a87fffd/ProjectSettings/EditorBuildSettings.asset -------------------------------------------------------------------------------- /ProjectSettings/EditorSettings.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/textcube/tinybattle/42b7b2cd4718eab6354e204578f193947a87fffd/ProjectSettings/EditorSettings.asset -------------------------------------------------------------------------------- /ProjectSettings/GraphicsSettings.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/textcube/tinybattle/42b7b2cd4718eab6354e204578f193947a87fffd/ProjectSettings/GraphicsSettings.asset -------------------------------------------------------------------------------- /ProjectSettings/InputManager.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/textcube/tinybattle/42b7b2cd4718eab6354e204578f193947a87fffd/ProjectSettings/InputManager.asset -------------------------------------------------------------------------------- /ProjectSettings/NavMeshLayers.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/textcube/tinybattle/42b7b2cd4718eab6354e204578f193947a87fffd/ProjectSettings/NavMeshLayers.asset -------------------------------------------------------------------------------- /ProjectSettings/NetworkManager.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/textcube/tinybattle/42b7b2cd4718eab6354e204578f193947a87fffd/ProjectSettings/NetworkManager.asset -------------------------------------------------------------------------------- /ProjectSettings/Physics2DSettings.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/textcube/tinybattle/42b7b2cd4718eab6354e204578f193947a87fffd/ProjectSettings/Physics2DSettings.asset -------------------------------------------------------------------------------- /ProjectSettings/ProjectSettings.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/textcube/tinybattle/42b7b2cd4718eab6354e204578f193947a87fffd/ProjectSettings/ProjectSettings.asset -------------------------------------------------------------------------------- /ProjectSettings/QualitySettings.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/textcube/tinybattle/42b7b2cd4718eab6354e204578f193947a87fffd/ProjectSettings/QualitySettings.asset -------------------------------------------------------------------------------- /ProjectSettings/TagManager.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/textcube/tinybattle/42b7b2cd4718eab6354e204578f193947a87fffd/ProjectSettings/TagManager.asset -------------------------------------------------------------------------------- /ProjectSettings/TimeManager.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/textcube/tinybattle/42b7b2cd4718eab6354e204578f193947a87fffd/ProjectSettings/TimeManager.asset -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | Tiny Battle (Turn based game example) 2 | ===================================== 3 | 4 | For those who want to make an action running game for the first time will help. 5 | 6 | Overview: 7 | - Turn based game example. 8 | - To make it easier for beginners to understand . 9 | the short length of the source code was created. 10 | - Youtube Link : http://www.youtube.com/watch?v=gk0LxluGZyk 11 | - Youtube Link : http://www.youtube.com/watch?v=QQuyxmdjCEc 12 | 13 | Testing in Unity Editor: 14 | - Run ".../Scenes/Battle.unity"! 15 | - Click for action! 16 | - Main code is ".../Scripts/GameManager.cs". 17 | - Click play button. 18 | 19 | Build & Run : 20 | - Configure "Build Setting" sub menu in File Menu. 21 | - Set Build Platform & Press "Run & Build" Button. 22 | - Set Your Build Folder. 23 | 24 | Note: 25 | - NGUI was used. Install this one first. 26 | - Unity 3D Mecanim, such as prior knowledge is required for studying. 27 | - This app is example for beginners making running action game. 28 | 29 | Contact: 30 | - Homepage Link : http://qatop.com 31 | - Facebook Link : http://facebook.com/buntgames 32 | 33 | 34 | [![INSTALL VIDEO](http://img.youtube.com/vi/E7oWrSpjGls/0.jpg)](http://www.youtube.com/watch?v=E7oWrSpjGls) 35 | 36 | 37 | [![INSTALL VIDEO](http://img.youtube.com/vi/9IcwD9ZB5nM/0.jpg)](http://www.youtube.com/watch?v=9IcwD9ZB5nM) 38 | --------------------------------------------------------------------------------