├── .gitignore
├── Game
├── Assembly-CSharp-vs.csproj
├── Assembly-CSharp.csproj
├── Assets
│ ├── Code.meta
│ ├── Code
│ │ ├── Entities.meta
│ │ ├── Entities
│ │ │ ├── Entity.cs
│ │ │ ├── Entity.cs.meta
│ │ │ ├── Mobs.meta
│ │ │ ├── Mobs
│ │ │ │ ├── AttackingMob.cs
│ │ │ │ ├── AttackingMob.cs.meta
│ │ │ │ ├── FollowerMob.cs
│ │ │ │ └── FollowerMob.cs.meta
│ │ │ ├── Player.meta
│ │ │ ├── Player
│ │ │ │ ├── Player.cs
│ │ │ │ └── Player.cs.meta
│ │ │ ├── Villagers.meta
│ │ │ └── Villagers
│ │ │ │ ├── BasicVillager.cs
│ │ │ │ ├── BasicVillager.cs.meta
│ │ │ │ ├── Villager.cs
│ │ │ │ ├── Villager.cs.meta
│ │ │ │ ├── VillagerManager.cs
│ │ │ │ └── VillagerManager.cs.meta
│ │ ├── HUD.meta
│ │ ├── HUD
│ │ │ ├── DialogueController.cs
│ │ │ ├── DialogueController.cs.meta
│ │ │ ├── HUDController.cs
│ │ │ ├── HUDController.cs.meta
│ │ │ ├── RandomDialogue.cs
│ │ │ └── RandomDialogue.cs.meta
│ │ ├── Houses.meta
│ │ ├── Houses
│ │ │ ├── Door.cs
│ │ │ ├── Door.cs.meta
│ │ │ ├── House.cs
│ │ │ └── House.cs.meta
│ │ ├── Inventories.meta
│ │ ├── Inventories
│ │ │ ├── GUI.meta
│ │ │ ├── GUI
│ │ │ │ ├── ChestGUI.cs
│ │ │ │ └── ChestGUI.cs.meta
│ │ │ ├── Player.meta
│ │ │ └── Player
│ │ │ │ ├── ChestInventory.cs
│ │ │ │ ├── ChestInventory.cs.meta
│ │ │ │ ├── ItemManager.cs
│ │ │ │ ├── ItemManager.cs.meta
│ │ │ │ ├── ItemPlayerManager.cs
│ │ │ │ ├── ItemPlayerManager.cs.meta
│ │ │ │ ├── WeaponManager.cs
│ │ │ │ └── WeaponManager.cs.meta
│ │ ├── Items.meta
│ │ ├── Items
│ │ │ ├── Item.cs
│ │ │ └── Item.cs.meta
│ │ ├── Level.meta
│ │ ├── Level
│ │ │ ├── Level.cs
│ │ │ └── Level.cs.meta
│ │ ├── Shops.meta
│ │ ├── Shops
│ │ │ ├── GeneralShop.cs
│ │ │ ├── GeneralShop.cs.meta
│ │ │ ├── Shop.cs
│ │ │ ├── Shop.cs.meta
│ │ │ ├── ShopManager.cs
│ │ │ └── ShopManager.cs.meta
│ │ ├── Weapons.meta
│ │ └── Weapons
│ │ │ ├── Sword.cs
│ │ │ └── Sword.cs.meta
│ ├── Levels.meta
│ ├── Levels
│ │ ├── main_level.unity
│ │ └── main_level.unity.meta
│ ├── Prefabs.meta
│ ├── Prefabs
│ │ ├── 0CornerTile.prefab
│ │ ├── 0CornerTile.prefab.meta
│ │ ├── 1CornerTile.prefab
│ │ ├── 1CornerTile.prefab.meta
│ │ ├── 2CornerTile.prefab
│ │ ├── 2CornerTile.prefab.meta
│ │ ├── 3CornerTile.prefab
│ │ ├── 3CornerTile.prefab.meta
│ │ ├── BerryBushTile.prefab
│ │ ├── BerryBushTile.prefab.meta
│ │ ├── DirtTile.prefab
│ │ ├── DirtTile.prefab.meta
│ │ ├── Enemy.prefab
│ │ ├── Enemy.prefab.meta
│ │ ├── FollowerMob.prefab
│ │ ├── FollowerMob.prefab.meta
│ │ ├── GrassTile.prefab
│ │ ├── GrassTile.prefab.meta
│ │ ├── HFenceTile.prefab
│ │ ├── HFenceTile.prefab.meta
│ │ ├── Outdoor Shop.prefab
│ │ ├── Outdoor Shop.prefab.meta
│ │ ├── Player.prefab
│ │ ├── Player.prefab.meta
│ │ ├── RockTile.prefab
│ │ ├── RockTile.prefab.meta
│ │ ├── RoseTile.prefab
│ │ ├── RoseTile.prefab.meta
│ │ ├── Stick.prefab
│ │ ├── Stick.prefab.meta
│ │ ├── StoneBricks.prefab
│ │ ├── StoneBricks.prefab.meta
│ │ ├── SunflowerTile.prefab
│ │ ├── SunflowerTile.prefab.meta
│ │ ├── VFenceTile.prefab
│ │ ├── VFenceTile.prefab.meta
│ │ ├── Villagers.meta
│ │ ├── Villagers
│ │ │ ├── BasicVillager.prefab
│ │ │ └── BasicVillager.prefab.meta
│ │ ├── itemRock.prefab
│ │ ├── itemRock.prefab.meta
│ │ ├── pot_plant.prefab
│ │ └── pot_plant.prefab.meta
│ ├── Resources.meta
│ └── Resources
│ │ ├── Homes.meta
│ │ ├── Homes
│ │ ├── Fillers.meta
│ │ ├── Fillers
│ │ │ ├── pot_plant.png
│ │ │ └── pot_plant.png.meta
│ │ ├── home_01.meta
│ │ └── home_01
│ │ │ ├── room_01.png
│ │ │ └── room_01.png.meta
│ │ ├── fonts.meta
│ │ ├── fonts
│ │ ├── Dragonfly.ttf
│ │ └── Dragonfly.ttf.meta
│ │ ├── gui.meta
│ │ ├── gui
│ │ ├── ChestGUI.png
│ │ ├── ChestGUI.png.meta
│ │ ├── New GUISkin.guiskin
│ │ ├── New GUISkin.guiskin.meta
│ │ ├── box.png
│ │ ├── box.png.meta
│ │ ├── dialogue-background.png
│ │ ├── dialogue-background.png.meta
│ │ ├── info-box.png
│ │ ├── info-box.png.meta
│ │ ├── inventory-bg.png
│ │ ├── inventory-bg.png.meta
│ │ ├── item-box.png
│ │ ├── item-box.png.meta
│ │ ├── mainGUISkin.guiskin
│ │ └── mainGUISkin.guiskin.meta
│ │ ├── hud.meta
│ │ ├── hud
│ │ ├── coin-image.png
│ │ ├── coin-image.png.meta
│ │ ├── healthbar outer.png
│ │ ├── healthbar outer.png.meta
│ │ ├── healthbar.png
│ │ └── healthbar.png.meta
│ │ ├── levels.meta
│ │ ├── levels
│ │ ├── main_level.png
│ │ ├── main_level.png.meta
│ │ ├── main_level_top.png
│ │ └── main_level_top.png.meta
│ │ ├── spritesheets.meta
│ │ └── spritesheets
│ │ ├── humans.meta
│ │ ├── humans
│ │ ├── backward.png
│ │ ├── backward.png.meta
│ │ ├── forward.png
│ │ ├── forward.png.meta
│ │ ├── left.png
│ │ ├── left.png.meta
│ │ ├── right.png
│ │ └── right.png.meta
│ │ ├── items.meta
│ │ ├── items
│ │ ├── itemStick.png
│ │ └── itemStick.png.meta
│ │ ├── spritesheet-main.png
│ │ └── spritesheet-main.png.meta
├── Game-csharp.sln
├── Game.sln
├── Game.userprefs
└── 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
├── LICENSE
└── README.md
/.gitignore:
--------------------------------------------------------------------------------
1 | [Ll]ibrary/
2 | [Tt]emp/
3 | [Oo]bj/
4 |
5 | # Autogenerated VS/MD solution and project files
6 | /*.csproj
7 | /*.unityproj
8 | /*.sln
9 | /*.suo
10 | /*.user
11 | /*.userprefs
12 | /*.pidb
13 | /*.booproj
14 |
--------------------------------------------------------------------------------
/Game/Assembly-CSharp-vs.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Debug
5 | AnyCPU
6 | 10.0.20506
7 | 2.0
8 | {DDFBC18F-9396-3137-9CFE-DEB2CDB74636}
9 | Library
10 | Properties
11 |
12 | Assembly-CSharp
13 | v3.5
14 | 512
15 | Assets
16 |
17 |
18 | true
19 | full
20 | false
21 | Temp\bin\Debug\
22 | DEBUG;TRACE;UNITY_STANDALONE_WIN;ENABLE_MICROPHONE;ENABLE_TEXTUREID_MAP;ENABLE_AUDIO_FMOD;UNITY_STANDALONE;ENABLE_MONO;ENABLE_SPRITES;ENABLE_TERRAIN;ENABLE_GENERICS;ENABLE_SUBSTANCE;INCLUDE_WP8SUPPORT;ENABLE_MOVIES;ENABLE_WWW;ENABLE_IMAGEEFFECTS;ENABLE_WEBCAM;INCLUDE_METROSUPPORT;RENDER_SOFTWARE_CURSOR;ENABLE_NETWORK;ENABLE_PHYSICS;ENABLE_CACHING;ENABLE_CLOTH;ENABLE_2D_PHYSICS;ENABLE_SHADOWS;ENABLE_AUDIO;ENABLE_NAVMESH_CARVING;ENABLE_DUCK_TYPING;ENABLE_SINGLE_INSTANCE_BUILD_SETTING;UNITY_4_3_2;UNITY_4_3;ENABLE_PROFILER;UNITY_EDITOR;UNITY_EDITOR_WIN;UNITY_TEAM_LICENSE
23 | prompt
24 | 4
25 | 0169
26 |
27 |
28 | pdbonly
29 | true
30 | Temp\bin\Release\
31 | TRACE
32 | prompt
33 | 4
34 | 0169
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 | C:/Program Files (x86)/Unity/Editor/Data/Managed/UnityEngine.dll
43 |
44 |
45 | C:/Program Files (x86)/Unity/Editor/Data/Managed/UnityEditor.dll
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
68 |
69 |
70 |
--------------------------------------------------------------------------------
/Game/Assembly-CSharp.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Debug
5 | AnyCPU
6 | 10.0.20506
7 | 2.0
8 | {DDFBC18F-9396-3137-9CFE-DEB2CDB74636}
9 | Library
10 | Properties
11 |
12 | Assembly-CSharp
13 | v3.5
14 | 512
15 | Assets
16 |
17 |
18 | true
19 | full
20 | false
21 | Temp\bin\Debug\
22 | DEBUG;TRACE;UNITY_STANDALONE_WIN;ENABLE_MICROPHONE;ENABLE_TEXTUREID_MAP;ENABLE_AUDIO_FMOD;UNITY_STANDALONE;ENABLE_MONO;ENABLE_SPRITES;ENABLE_TERRAIN;ENABLE_GENERICS;ENABLE_SUBSTANCE;INCLUDE_WP8SUPPORT;ENABLE_MOVIES;ENABLE_WWW;ENABLE_IMAGEEFFECTS;ENABLE_WEBCAM;INCLUDE_METROSUPPORT;RENDER_SOFTWARE_CURSOR;ENABLE_NETWORK;ENABLE_PHYSICS;ENABLE_CACHING;ENABLE_CLOTH;ENABLE_2D_PHYSICS;ENABLE_SHADOWS;ENABLE_AUDIO;ENABLE_NAVMESH_CARVING;ENABLE_DUCK_TYPING;ENABLE_SINGLE_INSTANCE_BUILD_SETTING;UNITY_4_3_2;UNITY_4_3;ENABLE_PROFILER;UNITY_EDITOR;UNITY_EDITOR_WIN;UNITY_TEAM_LICENSE
23 | prompt
24 | 4
25 | 0169
26 |
27 |
28 | pdbonly
29 | true
30 | Temp\bin\Release\
31 | TRACE
32 | prompt
33 | 4
34 | 0169
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 | C:/Program Files (x86)/Unity/Editor/Data/Managed/UnityEngine.dll
43 |
44 |
45 | C:/Program Files (x86)/Unity/Editor/Data/Managed/UnityEditor.dll
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
68 |
69 |
70 |
--------------------------------------------------------------------------------
/Game/Assets/Code.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: e28cfc61af7a0a74a831c4a20845d6ba
3 | folderAsset: yes
4 | DefaultImporter:
5 | userData:
6 |
--------------------------------------------------------------------------------
/Game/Assets/Code/Entities.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 273cc075a3a99ef4a916304006268a1d
3 | folderAsset: yes
4 | DefaultImporter:
5 | userData:
6 |
--------------------------------------------------------------------------------
/Game/Assets/Code/Entities/Entity.cs:
--------------------------------------------------------------------------------
1 | using UnityEngine;
2 | using System.Collections;
3 |
4 | public abstract class Entity : MonoBehaviour {
5 |
6 | public float speed;
7 |
8 | public bool isHostile;
9 |
10 | public int health;
11 | public int maxHealth;
12 |
13 | public Sprite forward;
14 | public Sprite backward;
15 | public Sprite left;
16 | public Sprite right;
17 | public SpriteRenderer spriteParent;
18 |
19 | public Color[] cArray;
20 | public Color skinColourBase;
21 | public Color hairColourBase;
22 | public Color eyeColourBase;
23 | public Color shirtColourBase;
24 | public Color shoeColourBase;
25 | public Color pantsColourBase;
26 | public Color skinColour;
27 | public Color hairColour;
28 | public Color eyeColour;
29 | public Color shirtColour;
30 | public Color shoeColour;
31 | public Color pantsColour;
32 |
33 | public Texture2D newTexture;
34 |
35 | protected int texWidth;
36 | protected int texHeight;
37 |
38 | public int direction = 0;
39 |
40 | void Start () {
41 | texWidth = 32;
42 | texHeight = 32;
43 | cArray = new Color[texWidth * texHeight];
44 | //changeSpritesColour();
45 | }
46 |
47 |
48 | void Update () {
49 |
50 | }
51 |
52 | public void takeHealth(int amount)
53 | {
54 | health = health - amount;
55 | }
56 |
57 | public void TPToPos(Vector2 pos)
58 | {
59 | rigidbody2D.transform.position = pos;
60 | }
61 |
62 | public void setupColours()
63 | {
64 | skinColourBase = new Color(1.0f, 1.0f, 0, 1.0f);
65 | hairColourBase = new Color(0.0f, 1.0f, 0.0f, 1.0f);
66 | eyeColourBase = new Color(0.0f, 1.0f, 1.0f, 1.0f);
67 | shirtColourBase = new Color(1.0f, 1.0f, 1.0f, 1.0f);
68 | shoeColourBase = new Color(1.0f, 0.0f, 0.0f, 1.0f);
69 | pantsColourBase = new Color(0.0f, 0.0f, 1.0f, 1.0f);
70 | }
71 |
72 | public void changeSpritesColour()
73 | {
74 | texWidth = 32;
75 | texHeight = 32;
76 | newTexture = new Texture2D(texWidth, texHeight, TextureFormat.ARGB32, false);
77 | newTexture.SetPixels(spriteParent.sprite.texture.GetPixels());
78 | cArray = newTexture.GetPixels();
79 | int y = 0;
80 | while(y < texHeight)
81 | {
82 | int x = 0;
83 | while(x < texWidth)
84 | {
85 | if(newTexture.GetPixel(x, y) == skinColourBase)
86 | newTexture.SetPixel(x, y, skinColour);
87 | if(newTexture.GetPixel(x, y) == hairColourBase)
88 | newTexture.SetPixel(x, y, hairColour);
89 | if(newTexture.GetPixel(x, y) == eyeColourBase)
90 | newTexture.SetPixel(x, y, eyeColour);
91 | if(newTexture.GetPixel(x, y) == shoeColourBase)
92 | newTexture.SetPixel(x, y, shoeColour);
93 | if(newTexture.GetPixel(x, y) == shirtColourBase)
94 | newTexture.SetPixel(x, y, shirtColour);
95 | if(newTexture.GetPixel(x, y) == pantsColourBase)
96 | newTexture.SetPixel(x, y, pantsColour);
97 | x++;
98 | }
99 | y++;
100 | }
101 | newTexture.wrapMode = TextureWrapMode.Clamp;
102 | newTexture.filterMode = FilterMode.Point;
103 | newTexture.Apply();
104 | spriteParent.sprite = Sprite.Create(newTexture, new Rect(0, 0, texWidth, texHeight), new Vector2(0.5f, 0.5f), 16);
105 | }
106 |
107 | /*public void changeSpritesColour()
108 | {
109 | Texture2D newTexture = new Texture2D(texWidth, texHeight, TextureFormat.ARGB32, false);
110 | newTexture.SetPixels(spriteParent.sprite.texture.GetPixels());
111 | cArray = newTexture.GetPixels();
112 | int y = 0;
113 | while(y < texHeight)
114 | {
115 | int x = 0;
116 | while(x < texWidth)
117 | {
118 | if(newTexture.GetPixel(x, y) == skinColourBase)
119 | newTexture.SetPixel(x, y, skinColour);
120 | if(newTexture.GetPixel(x, y) == hairColourBase)
121 | newTexture.SetPixel(x, y, hairColour);
122 | if(newTexture.GetPixel(x, y) == eyeColourBase)
123 | newTexture.SetPixel(x, y, eyeColour);
124 | if(newTexture.GetPixel(x, y) == shoeColourBase)
125 | newTexture.SetPixel(x, y, shoeColour);
126 | if(newTexture.GetPixel(x, y) == shirtColourBase)
127 | newTexture.SetPixel(x, y, shirtColour);
128 | if(newTexture.GetPixel(x, y) == pantsColourBase)
129 | newTexture.SetPixel(x, y, pantsColour);
130 | x++;
131 | }
132 | y++;
133 | }
134 | newTexture.wrapMode = TextureWrapMode.Clamp;
135 | newTexture.filterMode = FilterMode.Point;
136 | newTexture.Apply();
137 | spriteParent.sprite = Sprite.Create(newTexture, new Rect(0, 0, texWidth, texHeight), new Vector2(0.5f, 0.5f), 16);
138 | }*/
139 | }
140 |
--------------------------------------------------------------------------------
/Game/Assets/Code/Entities/Entity.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: ab9f3383fb505bb49b07b25e1f8f59b2
3 | MonoImporter:
4 | serializedVersion: 2
5 | defaultReferences: []
6 | executionOrder: 0
7 | icon: {instanceID: 0}
8 | userData:
9 |
--------------------------------------------------------------------------------
/Game/Assets/Code/Entities/Mobs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 07ecd5cbdea436047855518b1ed6bb5b
3 | folderAsset: yes
4 | DefaultImporter:
5 | userData:
6 |
--------------------------------------------------------------------------------
/Game/Assets/Code/Entities/Mobs/AttackingMob.cs:
--------------------------------------------------------------------------------
1 | using UnityEngine;
2 | using System.Collections;
3 |
4 | public class AttackingMob : Entity {
5 |
6 | public GameObject attackingg;
7 | public Entity attacking;
8 | public int distance;
9 |
10 | private bool canAttack;
11 |
12 | void Start () {
13 | canAttack = true;
14 | if(attackingg == null)
15 | {
16 | attackingg = GameObject.FindGameObjectWithTag("Player");
17 | attacking = attackingg.GetComponent();
18 | }
19 | }
20 |
21 | void Update () {
22 | if(attacking.rigidbody2D.transform.position.y > (rigidbody2D.transform.position.y + distance))
23 | {
24 | rigidbody2D.transform.position += Vector3.up * speed * Time.deltaTime;
25 | }
26 | if(attacking.rigidbody2D.transform.position.y < (rigidbody2D.transform.position.y - distance))
27 | {
28 | rigidbody2D.transform.position += Vector3.down * speed * Time.deltaTime;
29 | }
30 | if(attacking.rigidbody2D.transform.position.x > (rigidbody2D.transform.position.x + distance))
31 | {
32 | rigidbody2D.transform.position += Vector3.right * speed * Time.deltaTime;
33 | }
34 | if(attacking.rigidbody2D.transform.position.x < (rigidbody2D.transform.position.x - distance))
35 | {
36 | rigidbody2D.transform.position += Vector3.left * speed * Time.deltaTime;
37 | }
38 |
39 | if(Vector2.Distance(rigidbody2D.transform.position, attacking.transform.position) <= distance && canAttack)
40 | {
41 | attackEntity();
42 | StartCoroutine(waitForAttack());
43 | }
44 |
45 | if(health <= 0)
46 | Die();
47 | }
48 |
49 | public void Die()
50 | {
51 | Destroy(gameObject);
52 | }
53 |
54 | public void attackEntity()
55 | {
56 | int take = Random.Range (1, 20);
57 | attacking.takeHealth(take);
58 | }
59 |
60 | IEnumerator waitForAttack()
61 | {
62 | canAttack = false;
63 | yield return new WaitForSeconds(2);
64 | canAttack = true;
65 | }
66 | }
67 |
--------------------------------------------------------------------------------
/Game/Assets/Code/Entities/Mobs/AttackingMob.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: fea682cc75fe8504db97c1470cf500f4
3 | MonoImporter:
4 | serializedVersion: 2
5 | defaultReferences: []
6 | executionOrder: 0
7 | icon: {instanceID: 0}
8 | userData:
9 |
--------------------------------------------------------------------------------
/Game/Assets/Code/Entities/Mobs/FollowerMob.cs:
--------------------------------------------------------------------------------
1 | using UnityEngine;
2 | using System.Collections;
3 |
4 | public class FollowerMob : Entity {
5 |
6 | public Entity following;
7 | public float distance;
8 |
9 | void Start () {
10 | setupColours();
11 | changeSpritesColour();
12 | }
13 |
14 | void Update ()
15 | {
16 | if(following.rigidbody2D.transform.position.y > (rigidbody2D.transform.position.y + distance))
17 | {
18 | rigidbody2D.transform.position += Vector3.up * speed * Time.deltaTime;
19 | }
20 | if(following.rigidbody2D.transform.position.y < (rigidbody2D.transform.position.y - distance))
21 | {
22 | rigidbody2D.transform.position += Vector3.down * speed * Time.deltaTime;
23 | }
24 | if(following.rigidbody2D.transform.position.x > (rigidbody2D.transform.position.x + distance))
25 | {
26 | rigidbody2D.transform.position += Vector3.right * speed * Time.deltaTime;
27 | }
28 | if(following.rigidbody2D.transform.position.x < (rigidbody2D.transform.position.x - distance))
29 | {
30 | rigidbody2D.transform.position += Vector3.left * speed * Time.deltaTime;
31 | }
32 |
33 | if(direction == 0)
34 | {
35 | spriteParent.sprite = forward;
36 | changeSpritesColour();
37 | }
38 | if(direction == 1)
39 | {
40 | spriteParent.sprite = backward;
41 | changeSpritesColour();
42 | }
43 | if(direction == 2)
44 | {
45 | spriteParent.sprite = left;
46 | changeSpritesColour();
47 | }
48 | if(direction == 3)
49 | {
50 | spriteParent.sprite = right;
51 | changeSpritesColour();
52 | }
53 |
54 | if(health <= 0)
55 | Die ();
56 |
57 | texWidth = 32;
58 | texHeight = 32;
59 | changeSpritesColour();
60 | }
61 |
62 | public void Die()
63 | {
64 |
65 | }
66 | }
67 |
--------------------------------------------------------------------------------
/Game/Assets/Code/Entities/Mobs/FollowerMob.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 761a2d26656beb04299d66e098d7eafd
3 | MonoImporter:
4 | serializedVersion: 2
5 | defaultReferences: []
6 | executionOrder: 0
7 | icon: {instanceID: 0}
8 | userData:
9 |
--------------------------------------------------------------------------------
/Game/Assets/Code/Entities/Player.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 147d20549347f0a4fac8ec965bc4e7df
3 | folderAsset: yes
4 | DefaultImporter:
5 | userData:
6 |
--------------------------------------------------------------------------------
/Game/Assets/Code/Entities/Player/Player.cs:
--------------------------------------------------------------------------------
1 | using UnityEngine;
2 | using System.Collections;
3 |
4 | public class Player : Entity {
5 |
6 | public ItemPlayerManager ipManager;
7 |
8 | public SpriteRenderer weaponSpriteParent;
9 | public Vector2 forwardPos, backPos, sidePos;
10 |
11 | public WeaponManager weaponManager;
12 |
13 | public int money = 500;
14 |
15 | void Start () {
16 | ipManager.addToItemInventory(0, 5);
17 | foreach(Weapons w in weaponManager.weapons)
18 | {
19 | if(w.isHolding)
20 | {
21 | weaponSpriteParent.sprite = w.weaponSprite;
22 | if(w.weaponType == WeaponType.Sword)
23 | {
24 | Sword sword = weaponSpriteParent.gameObject.AddComponent("Sword") as Sword;
25 | sword.minDamage = 15;
26 | sword.maxDamage = 25;
27 | }
28 | }
29 | }
30 |
31 | texWidth = 32;
32 | texHeight = 32;
33 | setupColours();
34 | changeSpritesColour();
35 | }
36 |
37 | void Update ()
38 | {
39 | if(Input.GetKey(KeyCode.W) || Input.GetKey(KeyCode.UpArrow))
40 | {
41 | rigidbody2D.transform.position += Vector3.up * speed * Time.deltaTime;
42 | direction = 1;
43 | }
44 | if(Input.GetKey(KeyCode.S) || Input.GetKey(KeyCode.DownArrow))
45 | {
46 | rigidbody2D.transform.position += Vector3.down * speed * Time.deltaTime;
47 | direction = 0;
48 | }
49 | if(Input.GetKey(KeyCode.A) || Input.GetKey(KeyCode.LeftArrow))
50 | {
51 | rigidbody2D.transform.position += Vector3.left * speed * Time.deltaTime;
52 | direction = 2;
53 | }
54 | if(Input.GetKey(KeyCode.D) || Input.GetKey(KeyCode.RightArrow))
55 | {
56 | rigidbody2D.transform.position += Vector3.right * speed * Time.deltaTime;
57 | direction = 3;
58 | }
59 |
60 | if(direction == 0)
61 | {
62 | spriteParent.sprite = forward;
63 | weaponSpriteParent.sortingOrder = 21;
64 | Quaternion newRot = Quaternion.Euler(0, 0, 0);
65 | weaponSpriteParent.transform.localRotation = newRot;
66 | weaponSpriteParent.transform.localPosition = forwardPos;
67 | changeSpritesColour();
68 | }
69 | if(direction == 1)
70 | {
71 | spriteParent.sprite = backward;
72 | weaponSpriteParent.sortingOrder = 19;
73 | Quaternion newRot = Quaternion.Euler(0, 0, 90);
74 | weaponSpriteParent.transform.localRotation = newRot;
75 | weaponSpriteParent.transform.localPosition = backPos;
76 | changeSpritesColour();
77 | }
78 | if(direction == 2)
79 | {
80 | spriteParent.sprite = left;
81 | weaponSpriteParent.sortingOrder = 19;
82 | Quaternion newRot = Quaternion.Euler(0, 0, 90);
83 | weaponSpriteParent.transform.localRotation = newRot;
84 | weaponSpriteParent.transform.localPosition = sidePos;
85 | changeSpritesColour();
86 | }
87 | if(direction == 3)
88 | {
89 | spriteParent.sprite = right;
90 | weaponSpriteParent.sortingOrder = 21;
91 | Quaternion newRot = Quaternion.Euler(0, 0, 0);
92 | weaponSpriteParent.transform.localRotation = newRot;
93 | weaponSpriteParent.transform.localPosition = sidePos;
94 | changeSpritesColour();
95 | }
96 |
97 | if(health <= 0)
98 | Die ();
99 | }
100 |
101 | public void Die()
102 | {
103 | print ("I've been killed");
104 | }
105 |
106 | public void addMoney(int am)
107 | {
108 | money = money + am;
109 | }
110 |
111 | public void takeMoney(int am)
112 | {
113 | money = money - am;
114 | if(money < 0)
115 | money = 0;
116 | }
117 | }
118 |
--------------------------------------------------------------------------------
/Game/Assets/Code/Entities/Player/Player.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: a7a167a7b38c10e42b973f5cb547e611
3 | MonoImporter:
4 | serializedVersion: 2
5 | defaultReferences: []
6 | executionOrder: 0
7 | icon: {instanceID: 0}
8 | userData:
9 |
--------------------------------------------------------------------------------
/Game/Assets/Code/Entities/Villagers.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: ea988a4a25bc6194a980aacfd74ae1db
3 | folderAsset: yes
4 | DefaultImporter:
5 | userData:
6 |
--------------------------------------------------------------------------------
/Game/Assets/Code/Entities/Villagers/BasicVillager.cs:
--------------------------------------------------------------------------------
1 | using UnityEngine;
2 | using System.Collections;
3 | using System.Collections.Generic;
4 |
5 | public class BasicVillager : Villager {
6 |
7 | public Transform target;
8 | public List listOfShops = new List();
9 | public Transform shop;
10 |
11 | public bool goToTarget = false;
12 | public bool goHome = false;
13 | public bool generateTarget = false;
14 |
15 | public int distance;
16 |
17 | void Start () {
18 | setupColours();
19 | changeSpritesColour();
20 | shop = GameObject.FindGameObjectWithTag("Shop").transform;
21 | }
22 |
23 |
24 | void Update ()
25 | {
26 | if(direction == 0)
27 | {
28 | spriteParent.sprite = forward;
29 | changeSpritesColour();
30 | }
31 | if(direction == 1)
32 | {
33 | spriteParent.sprite = backward;
34 | changeSpritesColour();
35 | }
36 | if(direction == 2)
37 | {
38 | spriteParent.sprite = left;
39 | changeSpritesColour();
40 | }
41 | if(direction == 3)
42 | {
43 | spriteParent.sprite = right;
44 | changeSpritesColour();
45 | }
46 |
47 | if(goToTarget == true)
48 | GoToTarget();
49 | else if(goHome == true)
50 | GoHome();
51 | else if(generateTarget == true)
52 | StartCoroutine(GenerateTarget());
53 | }
54 |
55 | IEnumerator GenerateTarget()
56 | {
57 | generateTarget = false;
58 | yield return new WaitForSeconds(1);
59 | int r = Random.Range(0, 100);
60 | if(r > 50)
61 | newShopTarget();
62 | generateTarget = true;
63 | }
64 |
65 | public void newShopTarget()
66 | {
67 | int j = Random.Range(0, listOfShops.Count);
68 | target = shop;
69 | goToTarget = true;
70 | }
71 |
72 | public void GoToTarget()
73 | {
74 | if(Vector2.Distance(transform.position, target.position) < 2)
75 | {
76 | goHome = true;
77 | goToTarget = false;
78 | target = null;
79 | }
80 |
81 | if(target.transform.position.y > (rigidbody2D.transform.position.y))
82 | {
83 | rigidbody2D.transform.position += Vector3.up * speed * Time.deltaTime;
84 | }
85 | if(target.transform.position.y < (rigidbody2D.transform.position.y))
86 | {
87 | rigidbody2D.transform.position += Vector3.down * speed * Time.deltaTime;
88 | }
89 | if(target.transform.position.x > (rigidbody2D.transform.position.x))
90 | {
91 | rigidbody2D.transform.position += Vector3.right * speed * Time.deltaTime;
92 | }
93 | if(target.transform.position.x < (rigidbody2D.transform.position.x))
94 | {
95 | rigidbody2D.transform.position += Vector3.left * speed * Time.deltaTime;
96 | }
97 | }
98 |
99 | public void GoHome()
100 | {
101 | if(home.transform.position.y > (rigidbody2D.transform.position.y + distance))
102 | {
103 | rigidbody2D.transform.position += Vector3.up * speed * Time.deltaTime;
104 | }
105 | if(home.transform.position.y < (rigidbody2D.transform.position.y - distance))
106 | {
107 | rigidbody2D.transform.position += Vector3.down * speed * Time.deltaTime;
108 | }
109 | if(home.transform.position.x > (rigidbody2D.transform.position.x + distance))
110 | {
111 | rigidbody2D.transform.position += Vector3.right * speed * Time.deltaTime;
112 | }
113 | if(home.transform.position.x < (rigidbody2D.transform.position.x - distance))
114 | {
115 | rigidbody2D.transform.position += Vector3.left * speed * Time.deltaTime;
116 | }
117 |
118 | if(Vector2.Distance(home.position, target.position) < 3)
119 | {
120 | goHome = false;
121 | }
122 | }
123 | }
124 |
125 | [System.Serializable]
126 | public class ListOfShops
127 | {
128 | public string shopName;
129 | public Transform shopT;
130 | }
--------------------------------------------------------------------------------
/Game/Assets/Code/Entities/Villagers/BasicVillager.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 721ff83b39cddd24c9ef08d55439f3b4
3 | MonoImporter:
4 | serializedVersion: 2
5 | defaultReferences: []
6 | executionOrder: 0
7 | icon: {instanceID: 0}
8 | userData:
9 |
--------------------------------------------------------------------------------
/Game/Assets/Code/Entities/Villagers/Villager.cs:
--------------------------------------------------------------------------------
1 | using UnityEngine;
2 | using System.Collections;
3 |
4 | public class Villager : Entity {
5 |
6 | public Transform home;
7 | public string firstname;
8 | public string lastname;
9 |
10 | void Start () {
11 |
12 | }
13 |
14 | void Update () {
15 |
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/Game/Assets/Code/Entities/Villagers/Villager.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: ec3d6c045e412bb418b30ad02336bad3
3 | MonoImporter:
4 | serializedVersion: 2
5 | defaultReferences: []
6 | executionOrder: 0
7 | icon: {instanceID: 0}
8 | userData:
9 |
--------------------------------------------------------------------------------
/Game/Assets/Code/Entities/Villagers/VillagerManager.cs:
--------------------------------------------------------------------------------
1 | using UnityEngine;
2 | using System.Collections;
3 | using System.Collections.Generic;
4 |
5 | public class VillagerManager : MonoBehaviour {
6 |
7 | public List villagers = new List();
8 |
9 | void Start () {
10 |
11 | }
12 |
13 | void Update () {
14 |
15 | }
16 |
17 | public Villager findVillagerByVillagerType(VillagerTypes vType)
18 | {
19 | Villagers v = new Villagers();
20 | foreach(Villagers vv in villagers)
21 | {
22 | if(vv.vType == vType)
23 | v = vv;
24 | }
25 | if(v != null)
26 | return v.villager.GetComponent();
27 | else
28 | return null;
29 | }
30 |
31 | public GameObject findVillagerGameObjectByVillagerType(VillagerTypes vType)
32 | {
33 | Villagers v = new Villagers();
34 | foreach(Villagers vv in villagers)
35 | {
36 | if(vv.vType == vType)
37 | v = vv;
38 | }
39 | if(v != null)
40 | return v.villager;
41 | else
42 | return null;
43 | }
44 | }
45 |
46 | [System.Serializable]
47 | public class Villagers
48 | {
49 | public GameObject villager;
50 | public VillagerTypes vType;
51 | }
52 |
53 | public enum VillagerTypes
54 | {
55 | Basic,
56 | Worker,
57 | Blacksmith,
58 | Trader,
59 | ShopKeeper
60 | }
--------------------------------------------------------------------------------
/Game/Assets/Code/Entities/Villagers/VillagerManager.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: d888eaae17a7051489e5f20e193d5004
3 | MonoImporter:
4 | serializedVersion: 2
5 | defaultReferences: []
6 | executionOrder: 0
7 | icon: {instanceID: 0}
8 | userData:
9 |
--------------------------------------------------------------------------------
/Game/Assets/Code/HUD.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 5e462d119cbb76c4897298077d2d6506
3 | folderAsset: yes
4 | DefaultImporter:
5 | userData:
6 |
--------------------------------------------------------------------------------
/Game/Assets/Code/HUD/DialogueController.cs:
--------------------------------------------------------------------------------
1 | using UnityEngine;
2 | using System.Collections;
3 | using System.Collections.Generic;
4 |
5 | public class DialogueController : MonoBehaviour {
6 |
7 | public List storyTransforms = new List();
8 |
9 | void Start () {
10 |
11 | }
12 |
13 | void Update () {
14 |
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/Game/Assets/Code/HUD/DialogueController.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: f54762736ea10c748ae0b9ff6f1a5c2b
3 | MonoImporter:
4 | serializedVersion: 2
5 | defaultReferences: []
6 | executionOrder: 0
7 | icon: {instanceID: 0}
8 | userData:
9 |
--------------------------------------------------------------------------------
/Game/Assets/Code/HUD/HUDController.cs:
--------------------------------------------------------------------------------
1 | using UnityEngine;
2 | using System.Collections;
3 | using System.Collections.Generic;
4 |
5 | public class HUDController : MonoBehaviour {
6 |
7 | public Player thisplayer;
8 |
9 | public Texture healthbar;
10 | public Texture healthbarOuter;
11 | public Texture coin;
12 |
13 | public bool isInInventory = false;
14 |
15 | public float percentage;
16 |
17 | public GUISkin guiSKIN;
18 |
19 | private int currentlySelected;
20 | private int maxSelected;
21 |
22 | void Start () {
23 | currentlySelected = 1;
24 | }
25 |
26 | void Update () {
27 | percentage = Mathf.Clamp(thisplayer.health * 2.5f, 0, 250);
28 |
29 | if(Input.GetKeyDown(KeyCode.I))
30 | isInInventory = !isInInventory;
31 |
32 | if(isInInventory)
33 | Time.timeScale = 0.0f;
34 | else
35 | Time.timeScale = 1.0f;
36 |
37 | if(Input.GetKeyDown(KeyCode.DownArrow))
38 | {
39 | if(maxSelected > 1)
40 | {
41 | if(currentlySelected == maxSelected)
42 | {
43 | currentlySelected = 1;
44 | }
45 | else
46 | {
47 | currentlySelected++;
48 | }
49 | }
50 | }
51 | if(Input.GetKeyDown(KeyCode.UpArrow))
52 | {
53 | if(maxSelected > 1)
54 | {
55 | if(currentlySelected == 1)
56 | {
57 | currentlySelected = maxSelected;
58 | }
59 | else
60 | {
61 | currentlySelected--;
62 | }
63 | }
64 | }
65 | }
66 |
67 | void OnGUI()
68 | {
69 | GUI.skin = guiSKIN;
70 | if(!isInInventory)
71 | {
72 | health ();
73 | money ();
74 | }
75 |
76 | if(isInInventory)
77 | Inventory();
78 | }
79 |
80 | void health()
81 | {
82 | GUI.DrawTexture(new Rect(55, Screen.height - 100, percentage, 60), healthbar);
83 | GUI.DrawTexture(new Rect(20, Screen.height - 120, 320, 100), healthbarOuter);
84 | }
85 |
86 | void money()
87 | {
88 | GUI.DrawTexture(new Rect(20, 20, 60, 60), coin);
89 | GUI.Label(new Rect(100, 20, 200, 60), "$" + thisplayer.money);
90 | }
91 |
92 | void Inventory()
93 | {
94 | GUI.Box(new Rect(0, 0, Screen.width, Screen.height), "", "invbg");
95 | GUI.Box (new Rect(Screen.width-((Screen.width/100f)*50f), 0, ((Screen.width/100f)*50f), ((Screen.height/100f)*75f)), "", "item-box");
96 | GUI.Box (new Rect(0, Screen.height-((Screen.height/100f)*25f), Screen.width, ((Screen.height/100f)*25f)), "", "info-box");
97 |
98 | List playerInv = thisplayer.ipManager.items;
99 |
100 | maxSelected = playerInv.Count;
101 |
102 | for(int i = 1; i < playerInv.Count+1; i++)
103 | {
104 | if(i == currentlySelected)
105 | {
106 | GUI.color = new Color(15.0f, 0.0f, 0.0f);
107 | GUI.Label(new Rect(Screen.width-((Screen.width/100f)*50f)+10, (i*20), 500, 30), playerInv[i-1].item.itemName + " x " + playerInv[i-1].amountOfItem);
108 |
109 | GUI.color = new Color(0.0f, 0.0f, 0.0f);
110 | GUI.Label(new Rect(20, Screen.height-((Screen.height/100f)*25f)+20, 500, 30), playerInv[i-1].item.itemDescrition);
111 | }
112 | else
113 | {
114 | GUI.color = new Color(0.0f, 0.0f, 0.0f);
115 | GUI.Label(new Rect(Screen.width-((Screen.width/100f)*50f)+10, (i*20), 500, 30), playerInv[i-1].item.itemName + " x " + playerInv[i-1].amountOfItem);
116 | }
117 | }
118 | }
119 | }
120 |
--------------------------------------------------------------------------------
/Game/Assets/Code/HUD/HUDController.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 6da35ecc3892c1740a51571d16f06249
3 | MonoImporter:
4 | serializedVersion: 2
5 | defaultReferences: []
6 | executionOrder: 0
7 | icon: {instanceID: 0}
8 | userData:
9 |
--------------------------------------------------------------------------------
/Game/Assets/Code/HUD/RandomDialogue.cs:
--------------------------------------------------------------------------------
1 | using UnityEngine;
2 | using System.Collections;
3 | using System.Collections.Generic;
4 |
5 | public class RandomDialogue : MonoBehaviour {
6 |
7 | private bool showingDialogue;
8 |
9 | public Level levelManager;
10 |
11 | private string dialogueMessage;
12 | public List dialogueMessages = new List();
13 |
14 | public GUISkin skinn;
15 |
16 | void Start ()
17 | {
18 | levelManager = GameObject.FindGameObjectWithTag("levelManager").GetComponent();
19 | }
20 |
21 | void Update ()
22 | {
23 | if(showingDialogue)
24 | {
25 | if(Input.GetKeyDown(KeyCode.Return))
26 | GenerateDialogue();
27 | }
28 | }
29 |
30 | void OnGUI()
31 | {
32 | GUI.skin = skinn;
33 | GUI.depth = 0;
34 | if(showingDialogue && !levelManager.hc.isInInventory)
35 | {
36 | GUI.Box (new Rect(10, Screen.height - 130, Screen.width - 20, 120), dialogueMessage, "Dialogue");
37 | }
38 | }
39 |
40 | void OnTriggerEnter2D(Collider2D col)
41 | {
42 | if(col.GetComponent() != null && showingDialogue == false)
43 | {
44 | GenerateDialogue();
45 | showingDialogue = true;
46 | }
47 | }
48 |
49 | public void GenerateDialogue()
50 | {
51 | int random = Random.Range(0, dialogueMessages.Count - 1);
52 | dialogueMessage = dialogueMessages[random].dialogue;
53 | }
54 |
55 | void OnTriggerExit2D(Collider2D col)
56 | {
57 | if(col.GetComponent() != null)
58 | {
59 | showingDialogue = false;
60 | }
61 | }
62 | }
63 |
64 | [System.Serializable]
65 | public class Dialogue
66 | {
67 | public string dialogue;
68 | }
--------------------------------------------------------------------------------
/Game/Assets/Code/HUD/RandomDialogue.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: f17df421ef973c345b7b22750947a715
3 | MonoImporter:
4 | serializedVersion: 2
5 | defaultReferences: []
6 | executionOrder: 0
7 | icon: {instanceID: 0}
8 | userData:
9 |
--------------------------------------------------------------------------------
/Game/Assets/Code/Houses.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: affbc8d90ab14e0439950b1d73bd32df
3 | folderAsset: yes
4 | DefaultImporter:
5 | userData:
6 |
--------------------------------------------------------------------------------
/Game/Assets/Code/Houses/Door.cs:
--------------------------------------------------------------------------------
1 | using UnityEngine;
2 | using System.Collections;
3 |
4 | public class Door : MonoBehaviour {
5 |
6 | public bool outsideDoor;
7 | public House house;
8 |
9 | void Start () {
10 |
11 | }
12 |
13 | void Update () {
14 |
15 | }
16 |
17 | void OnTriggerEnter2D(Collider2D c)
18 | {
19 | Entity e = c.GetComponent();
20 | if(e != null)
21 | {
22 | if(outsideDoor)
23 | house.GotoRoom(e);
24 | else
25 | house.LeaveHouse(e);
26 | }
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/Game/Assets/Code/Houses/Door.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: e4c926d6ac8a03b42bdaf9a6e481b0d5
3 | MonoImporter:
4 | serializedVersion: 2
5 | defaultReferences: []
6 | executionOrder: 0
7 | icon: {instanceID: 0}
8 | userData:
9 |
--------------------------------------------------------------------------------
/Game/Assets/Code/Houses/House.cs:
--------------------------------------------------------------------------------
1 | using UnityEngine;
2 | using System.Collections;
3 | using System.Collections.Generic;
4 |
5 | public class House : MonoBehaviour {
6 |
7 | private Vector2 roomPos;
8 | public Transform roomSpawnT;
9 | private Vector2 leavePos;
10 |
11 | public VillagerManager villagerManager;
12 |
13 | public List hFamily = new List();
14 |
15 | void Start () {
16 | Vector2 tpos = new Vector2(0, 0);
17 | tpos.x = transform.position.x;
18 | tpos.y = transform.position.y - 2;
19 | leavePos = tpos;
20 | roomPos = roomSpawnT.transform.position;
21 |
22 | SpawnFamily();
23 | }
24 |
25 | void SpawnFamily()
26 | {
27 | foreach(HouseFamily hf in hFamily)
28 | {
29 | GameObject vil = Instantiate(villagerManager.findVillagerGameObjectByVillagerType(hf.vType), new Vector2(transform.position.x, transform.position.y - 3), Quaternion.identity) as GameObject;
30 | vil.GetComponent().home = transform;
31 | }
32 | }
33 |
34 | void Update ()
35 | {
36 |
37 | }
38 |
39 | public void GotoRoom(Entity e)
40 | {
41 | e.TPToPos(roomPos);
42 | }
43 |
44 | public void LeaveHouse(Entity e)
45 | {
46 | e.TPToPos(leavePos);
47 | }
48 | }
49 |
50 | [System.Serializable]
51 | public class HouseFamily
52 | {
53 | public string firstName;
54 | public string lastName;
55 | public VillagerTypes vType;
56 | }
57 |
--------------------------------------------------------------------------------
/Game/Assets/Code/Houses/House.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: f58ff65b38963e44b906f117cfb68d56
3 | MonoImporter:
4 | serializedVersion: 2
5 | defaultReferences: []
6 | executionOrder: 0
7 | icon: {instanceID: 0}
8 | userData:
9 |
--------------------------------------------------------------------------------
/Game/Assets/Code/Inventories.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 7560ff267f5bb8249b59115c3afe7aa4
3 | folderAsset: yes
4 | DefaultImporter:
5 | userData:
6 |
--------------------------------------------------------------------------------
/Game/Assets/Code/Inventories/GUI.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 15888c73af6abca439d9855df9d28ecb
3 | folderAsset: yes
4 | DefaultImporter:
5 | userData:
6 |
--------------------------------------------------------------------------------
/Game/Assets/Code/Inventories/GUI/ChestGUI.cs:
--------------------------------------------------------------------------------
1 | using UnityEngine;
2 | using System.Collections;
3 | using System.Collections.Generic;
4 |
5 | public class ChestGUI : MonoBehaviour {
6 |
7 | public GUISkin guiSkin;
8 | public Texture2D chestGUI;
9 |
10 | public List chestInv = new List();
11 | public List slots = new List();
12 |
13 | public bool drawInventory;
14 |
15 | void Start () {
16 | for(int i = 0; i < slots.Count; i++)
17 | {
18 | slots[i].setupSlots();
19 | }
20 | }
21 |
22 | void Update () {
23 |
24 | }
25 |
26 | void OnGUI()
27 | {
28 | if(drawInventory)
29 | {
30 | GUI.DrawTexture(new Rect((Screen.width / 2) - 128, (Screen.height / 2) - 128, 256, 256), chestGUI);
31 | for(int i = 0; i < slots.Count; i++)
32 | {
33 | if(chestInv[i] != null)
34 | {
35 | GUI.DrawTexture(new Rect(slots[i].x, slots[i].y, 32, 32), chestInv[i].item.itemSprite.texture);
36 | }
37 | }
38 | }
39 | }
40 |
41 | public void giveIventory(List i)
42 | {
43 | this.chestInv = i;
44 | }
45 | }
46 |
47 | [System.Serializable]
48 | public class Slot
49 | {
50 | public int x, y;
51 | public bool right, bottom;
52 |
53 | public Slot(int x, int y)
54 | {
55 | if(right)
56 | this.x = (Screen.width / 2) + x - 32;
57 | else
58 | this.x = (Screen.width / 2) - x;
59 | if(bottom)
60 | this.y = (Screen.height / 2) + y - 32;
61 | else
62 | this.y = (Screen.height / 2) - y;
63 | }
64 |
65 | public void setupSlots()
66 | {
67 | if(right)
68 | x = (Screen.width / 2) + x - 32;
69 | else
70 | x = (Screen.width / 2) - x;
71 | if(bottom)
72 | y = (Screen.height / 2) + y - 32;
73 | else
74 | y = (Screen.height / 2) - y;
75 | }
76 | }
--------------------------------------------------------------------------------
/Game/Assets/Code/Inventories/GUI/ChestGUI.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: d6e7c96fdb0749849b88b1d9ed165d00
3 | MonoImporter:
4 | serializedVersion: 2
5 | defaultReferences: []
6 | executionOrder: 0
7 | icon: {instanceID: 0}
8 | userData:
9 |
--------------------------------------------------------------------------------
/Game/Assets/Code/Inventories/Player.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 85c9a3d4777eda2468cca97327bf5367
3 | folderAsset: yes
4 | DefaultImporter:
5 | userData:
6 |
--------------------------------------------------------------------------------
/Game/Assets/Code/Inventories/Player/ChestInventory.cs:
--------------------------------------------------------------------------------
1 | using UnityEngine;
2 | using System.Collections;
3 | using System.Collections.Generic;
4 |
5 | public class ChestInventory : MonoBehaviour {
6 |
7 | public ItemManager iManager;
8 |
9 | public ChestGUI chestGUI;
10 |
11 | public List chestInv = new List();
12 |
13 | public Entity checkingEntity;
14 |
15 | public bool canOpen;
16 |
17 | public bool isOpen;
18 |
19 | void Start () {
20 |
21 | }
22 |
23 | void Update () {
24 | if(Vector2.Distance(rigidbody2D.transform.position, checkingEntity.rigidbody2D.transform.position) < 3)
25 | canOpen = true;
26 | else
27 | canOpen = false;
28 |
29 | if(canOpen == true)
30 | {
31 | if(Input.GetKeyDown(KeyCode.E))
32 | toggleChest();
33 | }
34 | }
35 |
36 | public void addToItemInventory(int itemId, int amount)
37 | {
38 | for(int i = 0; i < iManager.items.Count; i++)
39 | {
40 | if(iManager.items[i].itemTransform.GetComponent- ().id == itemId)
41 | {
42 | inventory inv = new inventory(iManager.items[i].itemTransform.GetComponent
- (), amount);
43 | chestInv.Add (inv);
44 | }
45 | }
46 | }
47 |
48 | public void toggleChest()
49 | {
50 | if(!isOpen)
51 | {
52 | chestGUI.drawInventory = true;
53 | chestGUI.giveIventory(chestInv);
54 | }
55 | else
56 | chestGUI.drawInventory = false;
57 | isOpen = !isOpen;
58 | }
59 | }
60 |
--------------------------------------------------------------------------------
/Game/Assets/Code/Inventories/Player/ChestInventory.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 74909c3f0e1cb044589dbd652db5a675
3 | MonoImporter:
4 | serializedVersion: 2
5 | defaultReferences: []
6 | executionOrder: 0
7 | icon: {instanceID: 0}
8 | userData:
9 |
--------------------------------------------------------------------------------
/Game/Assets/Code/Inventories/Player/ItemManager.cs:
--------------------------------------------------------------------------------
1 | using UnityEngine;
2 | using System.Collections;
3 | using System.Collections.Generic;
4 |
5 | public class ItemManager : MonoBehaviour {
6 |
7 | public List items = new List();
8 |
9 | void Start () {
10 | DontDestroyOnLoad(gameObject);
11 | }
12 |
13 | void Update () {
14 |
15 | }
16 | }
17 |
18 | [System.Serializable]
19 | public class Items
20 | {
21 | public Transform itemTransform;
22 | }
--------------------------------------------------------------------------------
/Game/Assets/Code/Inventories/Player/ItemManager.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: c4f1d4affe4d6cb4082408be51ca5faf
3 | MonoImporter:
4 | serializedVersion: 2
5 | defaultReferences: []
6 | executionOrder: 0
7 | icon: {instanceID: 0}
8 | userData:
9 |
--------------------------------------------------------------------------------
/Game/Assets/Code/Inventories/Player/ItemPlayerManager.cs:
--------------------------------------------------------------------------------
1 | using UnityEngine;
2 | using System.Collections;
3 | using System.Collections.Generic;
4 |
5 | public class ItemPlayerManager : MonoBehaviour {
6 |
7 | public ItemManager iManager;
8 |
9 | public List items = new List();
10 |
11 | void Start () {
12 |
13 | }
14 |
15 | void Update ()
16 | {
17 |
18 | }
19 |
20 | public void addToItemInventory(int itemId, int amount)
21 | {
22 | for(int i = 0; i < iManager.items.Count; i++)
23 | {
24 | if(iManager.items[i].itemTransform.GetComponent
- ().id == itemId)
25 | {
26 | bool isItemInList = false;
27 | int index = 0;
28 | for(int j = 0; j < items.Count; j++)
29 | {
30 | if(items[j].item.id == itemId)
31 | {
32 | isItemInList = true;
33 | index = j;
34 | }
35 | }
36 |
37 | if(isItemInList)
38 | {
39 | items[index].amountOfItem += amount;
40 | }
41 | else
42 | {
43 | inventory inv = new inventory(iManager.items[i].itemTransform.GetComponent
- (), amount);
44 | items.Add (inv);
45 | }
46 | }
47 | }
48 | }
49 | }
50 |
51 | [System.Serializable]
52 | public class inventory
53 | {
54 | public Item item;
55 | public int amountOfItem;
56 |
57 | public inventory(Item item, int amountOfItem)
58 | {
59 | this.item = item;
60 | this.amountOfItem = amountOfItem;
61 | }
62 | }
63 |
--------------------------------------------------------------------------------
/Game/Assets/Code/Inventories/Player/ItemPlayerManager.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 81361d1f8e23d86469cc292057f6c402
3 | MonoImporter:
4 | serializedVersion: 2
5 | defaultReferences: []
6 | executionOrder: 0
7 | icon: {instanceID: 0}
8 | userData:
9 |
--------------------------------------------------------------------------------
/Game/Assets/Code/Inventories/Player/WeaponManager.cs:
--------------------------------------------------------------------------------
1 | using UnityEngine;
2 | using System.Collections;
3 | using System.Collections.Generic;
4 |
5 | public class WeaponManager : MonoBehaviour {
6 |
7 | public List weapons;
8 |
9 | void Start () {
10 |
11 | }
12 |
13 | void Update ()
14 | {
15 |
16 | }
17 | }
18 |
19 | [System.Serializable]
20 | public class Weapons
21 | {
22 | public string name;
23 | public WeaponType weaponType;
24 | public Sprite weaponSprite;
25 |
26 | public bool isHolding;
27 | }
28 |
29 | public enum WeaponType
30 | {
31 | Sword,
32 | Bow
33 | }
--------------------------------------------------------------------------------
/Game/Assets/Code/Inventories/Player/WeaponManager.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: b0735ae1827a48841b0850fadb078c2b
3 | MonoImporter:
4 | serializedVersion: 2
5 | defaultReferences: []
6 | executionOrder: 0
7 | icon: {instanceID: 0}
8 | userData:
9 |
--------------------------------------------------------------------------------
/Game/Assets/Code/Items.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 587b514f2c2a40b4788076bda7b1fb82
3 | folderAsset: yes
4 | DefaultImporter:
5 | userData:
6 |
--------------------------------------------------------------------------------
/Game/Assets/Code/Items/Item.cs:
--------------------------------------------------------------------------------
1 | using UnityEngine;
2 | using System.Collections;
3 |
4 | public class Item : MonoBehaviour {
5 |
6 | public string itemName;
7 | public string itemDescrition;
8 | public int id;
9 |
10 | public Sprite itemSprite;
11 |
12 | void Start () {
13 |
14 | }
15 |
16 | void Update () {
17 |
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/Game/Assets/Code/Items/Item.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 671bed704e39b114ea3e00c7b7605401
3 | MonoImporter:
4 | serializedVersion: 2
5 | defaultReferences: []
6 | executionOrder: 0
7 | icon: {instanceID: 0}
8 | userData:
9 |
--------------------------------------------------------------------------------
/Game/Assets/Code/Level.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 663677cef94ce7842b7fe2033b4e08a5
3 | folderAsset: yes
4 | DefaultImporter:
5 | userData:
6 |
--------------------------------------------------------------------------------
/Game/Assets/Code/Level/Level.cs:
--------------------------------------------------------------------------------
1 | using UnityEngine;
2 | using System.Collections;
3 | using System.Collections.Generic;
4 |
5 | public class Level : MonoBehaviour {
6 |
7 | private int levelWidth;
8 | private int levelHeight;
9 |
10 | public Transform enemy;
11 | public Transform parent;
12 |
13 | public HUDController hc;
14 |
15 | private Color[] tileColours;
16 | private Color[] topTileColours;
17 | public Color spawnPointColour;
18 | public Color enemyPointColour;
19 |
20 | public Texture2D levelTexture;
21 | public Texture2D topTileTexture;
22 |
23 | public Entity player;
24 | public Entity[] friendlyEntities;
25 |
26 | public List tiles = new List();
27 |
28 | void Start () {
29 | levelWidth = levelTexture.width;
30 | levelHeight = levelTexture.height;
31 | loadLevel();
32 | loadTopTiles();
33 | }
34 |
35 | void Update () {
36 |
37 | }
38 |
39 | void loadLevel()
40 | {
41 | tileColours = new Color[levelWidth * levelHeight];
42 | tileColours = levelTexture.GetPixels();
43 |
44 | for(int y = 0; y < levelHeight; y++)
45 | {
46 | for(int x = 0; x < levelWidth; x++)
47 | {
48 | foreach(Tile t in tiles)
49 | {
50 | if(tileColours[x+y*levelWidth] == t.tileColor)
51 | {
52 | Instantiate(t.tileTransform, new Vector3(x, y), Quaternion.identity);
53 | }
54 | }
55 | if(tileColours[x+y*levelWidth] == spawnPointColour)
56 | {
57 | Instantiate(tiles[0].tileTransform, new Vector3(x, y), Quaternion.identity);
58 | Vector2 pos = new Vector2(x, y);
59 | player.transform.position = pos;
60 | for(int i = 0; i < friendlyEntities.Length; i++)
61 | {
62 | Vector2 npos = pos;
63 | npos.x += i + 1;
64 | friendlyEntities[i].transform.position = npos;
65 | }
66 | }
67 | if(tileColours[x+y*levelWidth] == enemyPointColour)
68 | {
69 | Instantiate(tiles[0].tileTransform, new Vector3(x, y), Quaternion.identity);
70 | Instantiate(enemy, new Vector3(x, y), Quaternion.identity);
71 | }
72 | }
73 | }
74 | }
75 |
76 | void loadTopTiles()
77 | {
78 | topTileColours = new Color[topTileTexture.width * topTileTexture.height];
79 | topTileColours = topTileTexture.GetPixels();
80 |
81 | for(int y = 0; y < levelHeight; y++)
82 | {
83 | for(int x = 0; x < levelWidth; x++)
84 | {
85 | foreach(Tile t in tiles)
86 | {
87 | if(topTileColours[x+y*levelWidth] == t.tileColor)
88 | {
89 | Instantiate(t.tileTransform, new Vector3(x, y), Quaternion.identity);
90 | }
91 | }
92 | }
93 | }
94 | }
95 | }
96 |
97 | [System.Serializable]
98 | public class Tile
99 | {
100 | public string tileName;
101 |
102 | public Color tileColor;
103 | public Transform tileTransform;
104 | }
--------------------------------------------------------------------------------
/Game/Assets/Code/Level/Level.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 2aecd77ae7c9da84ca876ba5013367d7
3 | MonoImporter:
4 | serializedVersion: 2
5 | defaultReferences: []
6 | executionOrder: 0
7 | icon: {instanceID: 0}
8 | userData:
9 |
--------------------------------------------------------------------------------
/Game/Assets/Code/Shops.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 84a25388ff568d6478e6ae3cdf2279b1
3 | folderAsset: yes
4 | DefaultImporter:
5 | userData:
6 |
--------------------------------------------------------------------------------
/Game/Assets/Code/Shops/GeneralShop.cs:
--------------------------------------------------------------------------------
1 | using UnityEngine;
2 | using System.Collections;
3 |
4 | public class GeneralShop : Shop {
5 |
6 | void Start () {
7 |
8 | }
9 |
10 | void Update () {
11 |
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/Game/Assets/Code/Shops/GeneralShop.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 26e9d89ff83af5e4fb7e7f63a04e15f4
3 | MonoImporter:
4 | serializedVersion: 2
5 | defaultReferences: []
6 | executionOrder: 0
7 | icon: {instanceID: 0}
8 | userData:
9 |
--------------------------------------------------------------------------------
/Game/Assets/Code/Shops/Shop.cs:
--------------------------------------------------------------------------------
1 | using UnityEngine;
2 | using System.Collections;
3 | using System.Collections.Generic;
4 |
5 | public class Shop : MonoBehaviour {
6 |
7 | public string shopName;
8 |
9 | public List sellingItems = new List();
10 |
11 | void Start () {
12 |
13 | }
14 |
15 | void Update () {
16 |
17 | }
18 |
19 | public void removeItemFromShop(int index)
20 | {
21 | sellingItems[index].amountOfItem = sellingItems[index].amountOfItem - 1;
22 | if(sellingItems[index].amountOfItem <= 0)
23 | sellingItems.Remove(sellingItems[index]);
24 | }
25 |
26 | public void removeItemFromShop(int index, Player pl)
27 | {
28 | pl.takeMoney(sellingItems[index].price);
29 | pl.ipManager.addToItemInventory(sellingItems[index].item.id, 1);
30 | sellingItems[index].amountOfItem = sellingItems[index].amountOfItem - 1;
31 | if(sellingItems[index].amountOfItem <= 0)
32 | sellingItems.Remove(sellingItems[index]);
33 |
34 | }
35 | }
36 |
37 | [System.Serializable]
38 | public class shopInventory
39 | {
40 | public Item item;
41 | public int amountOfItem;
42 | public int price;
43 |
44 | public shopInventory(Item item, int amountOfItem)
45 | {
46 | this.item = item;
47 | this.amountOfItem = amountOfItem;
48 | }
49 | }
--------------------------------------------------------------------------------
/Game/Assets/Code/Shops/Shop.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 9477d505c67b05346be6008f8f3935ae
3 | MonoImporter:
4 | serializedVersion: 2
5 | defaultReferences: []
6 | executionOrder: 0
7 | icon: {instanceID: 0}
8 | userData:
9 |
--------------------------------------------------------------------------------
/Game/Assets/Code/Shops/ShopManager.cs:
--------------------------------------------------------------------------------
1 | using UnityEngine;
2 | using System.Collections;
3 |
4 | public class ShopManager : MonoBehaviour {
5 |
6 | public bool playerInRange;
7 | public bool isShopOpen;
8 |
9 | public Player player;
10 |
11 | public Shop thisShop;
12 |
13 | public GUISkin gskin;
14 |
15 | public string warn;
16 | public bool showWarn = false;
17 |
18 | void Start () {
19 | playerInRange = false;
20 | isShopOpen = false;
21 | }
22 |
23 | void Update ()
24 | {
25 | if(playerInRange)
26 | {
27 | if(Input.GetKeyDown(KeyCode.E))
28 | isShopOpen = !isShopOpen;
29 | }
30 | }
31 |
32 | void OnTriggerEnter2D(Collider2D c)
33 | {
34 | if(c.tag == "Player" && playerInRange == false)
35 | {
36 | print ("There's a player at the shop");
37 | playerInRange = true;
38 | player = c.GetComponent();
39 | }
40 | }
41 |
42 | void OnTriggerExit2D(Collider2D c)
43 | {
44 | if(c.tag == "Player" && playerInRange)
45 | {
46 | playerInRange = false;
47 | player = null;
48 | isShopOpen = false;
49 | }
50 | }
51 |
52 | void OnGUI()
53 | {
54 | GUI.skin = gskin;
55 | if(playerInRange && !isShopOpen)
56 | {
57 | GUI.Label(new Rect(5, 5, 500, 100), "Press e to visit the " + thisShop.shopName);
58 | }
59 |
60 | if(isShopOpen)
61 | {
62 | GUILayout.BeginArea(new Rect((Screen.width / 2) - 250, 100, 500, Screen.height - 200), GUIContent.none, "box");
63 |
64 | GUILayout.Label("What we're selling!");
65 | GUILayout.BeginVertical();
66 | GUILayout.BeginHorizontal(GUILayout.Width(500));
67 | GUILayout.Label("Item");
68 | GUILayout.Label("Price");
69 | GUILayout.Label("Amount");
70 | GUILayout.Label("");
71 | GUILayout.Space(20);
72 | GUILayout.EndHorizontal();
73 | foreach(shopInventory i in thisShop.sellingItems)
74 | {
75 | GUILayout.BeginHorizontal(GUILayout.Width(500));
76 |
77 | GUILayout.Label(i.item.itemName, "Shop");
78 |
79 | GUILayout.Label("$" + i.price.ToString(), "Shop");
80 |
81 | GUILayout.Label(i.amountOfItem.ToString(), "Shop");
82 |
83 | if(GUILayout.Button("Buy"))
84 | {
85 | if(player.money >= i.price)
86 | thisShop.removeItemFromShop(thisShop.sellingItems.IndexOf(i), player);
87 | else
88 | StartCoroutine(waitForWarning("Not enough money!"));
89 |
90 | }
91 |
92 | GUILayout.Space(20);
93 |
94 | GUILayout.EndHorizontal();
95 | }
96 | GUILayout.EndVertical();
97 |
98 | GUILayout.EndArea();
99 |
100 | if(showWarn)
101 | {
102 | GUI.Box(new Rect(Screen.width / 2 - 250, 20, 500, 60), warn);
103 | }
104 | }
105 | }
106 |
107 | IEnumerator waitForWarning(string warning)
108 | {
109 | warn = warning;
110 | showWarn = true;
111 | yield return new WaitForSeconds(5);
112 | showWarn = false;
113 | }
114 | }
115 |
--------------------------------------------------------------------------------
/Game/Assets/Code/Shops/ShopManager.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: ef24b8dabae1d6046afe46a0493f9256
3 | MonoImporter:
4 | serializedVersion: 2
5 | defaultReferences: []
6 | executionOrder: 0
7 | icon: {instanceID: 0}
8 | userData:
9 |
--------------------------------------------------------------------------------
/Game/Assets/Code/Weapons.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: bba573c064274f448a7760cb2372ce20
3 | folderAsset: yes
4 | DefaultImporter:
5 | userData:
6 |
--------------------------------------------------------------------------------
/Game/Assets/Code/Weapons/Sword.cs:
--------------------------------------------------------------------------------
1 | using UnityEngine;
2 | using System.Collections;
3 | using System.Collections.Generic;
4 |
5 | public class Sword : MonoBehaviour {
6 |
7 | public int minDamage;
8 | public int maxDamage;
9 | private int realDamage;
10 |
11 | public List enemyInRange = new List();
12 |
13 | void Start () {
14 |
15 | }
16 |
17 | void Update () {
18 | if(Input.GetMouseButtonDown(0))
19 | attack();
20 | }
21 |
22 | public void attack()
23 | {
24 | realDamage = Random.Range(minDamage, maxDamage);
25 | foreach(Entity e in enemyInRange)
26 | {
27 | e.takeHealth(realDamage);
28 | }
29 | }
30 |
31 |
32 | void OnTriggerEnter2D(Collider2D other) {
33 | Entity tempEnt = other.GetComponent();
34 | if(tempEnt != null)
35 | {
36 | if(tempEnt.isHostile)
37 | {
38 | if(enemyInRange.Contains(tempEnt))
39 | return;
40 | enemyInRange.Add(tempEnt);
41 | }
42 | }
43 | }
44 |
45 | void OnTriggerExit2D(Collider2D other) {
46 | Entity tempEnt = other.GetComponent();
47 | if(tempEnt != null)
48 | {
49 | int index = enemyInRange.IndexOf(tempEnt);
50 | enemyInRange.Remove(enemyInRange[index]);
51 | }
52 | }
53 | }
54 |
--------------------------------------------------------------------------------
/Game/Assets/Code/Weapons/Sword.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: be7354e0b80201143a0e95c521410805
3 | MonoImporter:
4 | serializedVersion: 2
5 | defaultReferences: []
6 | executionOrder: 0
7 | icon: {instanceID: 0}
8 | userData:
9 |
--------------------------------------------------------------------------------
/Game/Assets/Levels.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 02d209ce1ece8c84c8fb377c6632afde
3 | folderAsset: yes
4 | DefaultImporter:
5 | userData:
6 |
--------------------------------------------------------------------------------
/Game/Assets/Levels/main_level.unity:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Orangejuice724/Unity-Top-Down-2D-RPG-Tutorial/f4af21bcc01649127caf495185418aa6ab29015e/Game/Assets/Levels/main_level.unity
--------------------------------------------------------------------------------
/Game/Assets/Levels/main_level.unity.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 3f59ac752fc94a24cbf87afb6be23023
3 | DefaultImporter:
4 | userData:
5 |
--------------------------------------------------------------------------------
/Game/Assets/Prefabs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 049d331dac44856429771301b6021244
3 | folderAsset: yes
4 | DefaultImporter:
5 | userData:
6 |
--------------------------------------------------------------------------------
/Game/Assets/Prefabs/0CornerTile.prefab:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Orangejuice724/Unity-Top-Down-2D-RPG-Tutorial/f4af21bcc01649127caf495185418aa6ab29015e/Game/Assets/Prefabs/0CornerTile.prefab
--------------------------------------------------------------------------------
/Game/Assets/Prefabs/0CornerTile.prefab.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 60be9b2dc053f9748afc704837454f85
3 | NativeFormatImporter:
4 | userData:
5 |
--------------------------------------------------------------------------------
/Game/Assets/Prefabs/1CornerTile.prefab:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Orangejuice724/Unity-Top-Down-2D-RPG-Tutorial/f4af21bcc01649127caf495185418aa6ab29015e/Game/Assets/Prefabs/1CornerTile.prefab
--------------------------------------------------------------------------------
/Game/Assets/Prefabs/1CornerTile.prefab.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: f5d5d9363f48f434b90903b0fd060d14
3 | NativeFormatImporter:
4 | userData:
5 |
--------------------------------------------------------------------------------
/Game/Assets/Prefabs/2CornerTile.prefab:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Orangejuice724/Unity-Top-Down-2D-RPG-Tutorial/f4af21bcc01649127caf495185418aa6ab29015e/Game/Assets/Prefabs/2CornerTile.prefab
--------------------------------------------------------------------------------
/Game/Assets/Prefabs/2CornerTile.prefab.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 195e1be2af1fe8f4694715387fbff790
3 | NativeFormatImporter:
4 | userData:
5 |
--------------------------------------------------------------------------------
/Game/Assets/Prefabs/3CornerTile.prefab:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Orangejuice724/Unity-Top-Down-2D-RPG-Tutorial/f4af21bcc01649127caf495185418aa6ab29015e/Game/Assets/Prefabs/3CornerTile.prefab
--------------------------------------------------------------------------------
/Game/Assets/Prefabs/3CornerTile.prefab.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 3fffadf77e8d0a34c9f8b786aa328a5f
3 | NativeFormatImporter:
4 | userData:
5 |
--------------------------------------------------------------------------------
/Game/Assets/Prefabs/BerryBushTile.prefab:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Orangejuice724/Unity-Top-Down-2D-RPG-Tutorial/f4af21bcc01649127caf495185418aa6ab29015e/Game/Assets/Prefabs/BerryBushTile.prefab
--------------------------------------------------------------------------------
/Game/Assets/Prefabs/BerryBushTile.prefab.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 21530985a3e251e4abb540f16b09a8d3
3 | NativeFormatImporter:
4 | userData:
5 |
--------------------------------------------------------------------------------
/Game/Assets/Prefabs/DirtTile.prefab:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Orangejuice724/Unity-Top-Down-2D-RPG-Tutorial/f4af21bcc01649127caf495185418aa6ab29015e/Game/Assets/Prefabs/DirtTile.prefab
--------------------------------------------------------------------------------
/Game/Assets/Prefabs/DirtTile.prefab.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: b82333e572a9a2245acb70da6d70ae5c
3 | NativeFormatImporter:
4 | userData:
5 |
--------------------------------------------------------------------------------
/Game/Assets/Prefabs/Enemy.prefab:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Orangejuice724/Unity-Top-Down-2D-RPG-Tutorial/f4af21bcc01649127caf495185418aa6ab29015e/Game/Assets/Prefabs/Enemy.prefab
--------------------------------------------------------------------------------
/Game/Assets/Prefabs/Enemy.prefab.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: e644d4a1a0f35b14198ed6fe00600270
3 | NativeFormatImporter:
4 | userData:
5 |
--------------------------------------------------------------------------------
/Game/Assets/Prefabs/FollowerMob.prefab:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Orangejuice724/Unity-Top-Down-2D-RPG-Tutorial/f4af21bcc01649127caf495185418aa6ab29015e/Game/Assets/Prefabs/FollowerMob.prefab
--------------------------------------------------------------------------------
/Game/Assets/Prefabs/FollowerMob.prefab.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: a25736849af828840b76c82ea291665f
3 | NativeFormatImporter:
4 | userData:
5 |
--------------------------------------------------------------------------------
/Game/Assets/Prefabs/GrassTile.prefab:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Orangejuice724/Unity-Top-Down-2D-RPG-Tutorial/f4af21bcc01649127caf495185418aa6ab29015e/Game/Assets/Prefabs/GrassTile.prefab
--------------------------------------------------------------------------------
/Game/Assets/Prefabs/GrassTile.prefab.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: afcdc9532e8348c47b3423f9b7a29580
3 | NativeFormatImporter:
4 | userData:
5 |
--------------------------------------------------------------------------------
/Game/Assets/Prefabs/HFenceTile.prefab:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Orangejuice724/Unity-Top-Down-2D-RPG-Tutorial/f4af21bcc01649127caf495185418aa6ab29015e/Game/Assets/Prefabs/HFenceTile.prefab
--------------------------------------------------------------------------------
/Game/Assets/Prefabs/HFenceTile.prefab.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 38f8c55b4384d08479114684cb516ea8
3 | NativeFormatImporter:
4 | userData:
5 |
--------------------------------------------------------------------------------
/Game/Assets/Prefabs/Outdoor Shop.prefab:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Orangejuice724/Unity-Top-Down-2D-RPG-Tutorial/f4af21bcc01649127caf495185418aa6ab29015e/Game/Assets/Prefabs/Outdoor Shop.prefab
--------------------------------------------------------------------------------
/Game/Assets/Prefabs/Outdoor Shop.prefab.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 1ef086744c326eb45a07485a2e87ca55
3 | NativeFormatImporter:
4 | userData:
5 |
--------------------------------------------------------------------------------
/Game/Assets/Prefabs/Player.prefab:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Orangejuice724/Unity-Top-Down-2D-RPG-Tutorial/f4af21bcc01649127caf495185418aa6ab29015e/Game/Assets/Prefabs/Player.prefab
--------------------------------------------------------------------------------
/Game/Assets/Prefabs/Player.prefab.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 41f3e7845b83603478bb1b8c430a4e72
3 | NativeFormatImporter:
4 | userData:
5 |
--------------------------------------------------------------------------------
/Game/Assets/Prefabs/RockTile.prefab:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Orangejuice724/Unity-Top-Down-2D-RPG-Tutorial/f4af21bcc01649127caf495185418aa6ab29015e/Game/Assets/Prefabs/RockTile.prefab
--------------------------------------------------------------------------------
/Game/Assets/Prefabs/RockTile.prefab.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 907d1438b4a35f54dbec99b4f7430854
3 | NativeFormatImporter:
4 | userData:
5 |
--------------------------------------------------------------------------------
/Game/Assets/Prefabs/RoseTile.prefab:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Orangejuice724/Unity-Top-Down-2D-RPG-Tutorial/f4af21bcc01649127caf495185418aa6ab29015e/Game/Assets/Prefabs/RoseTile.prefab
--------------------------------------------------------------------------------
/Game/Assets/Prefabs/RoseTile.prefab.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 83ff87fbedfb7a846853082cf485d509
3 | NativeFormatImporter:
4 | userData:
5 |
--------------------------------------------------------------------------------
/Game/Assets/Prefabs/Stick.prefab:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Orangejuice724/Unity-Top-Down-2D-RPG-Tutorial/f4af21bcc01649127caf495185418aa6ab29015e/Game/Assets/Prefabs/Stick.prefab
--------------------------------------------------------------------------------
/Game/Assets/Prefabs/Stick.prefab.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 3f646974abb0b1b40890a4da41fb252b
3 | NativeFormatImporter:
4 | userData:
5 |
--------------------------------------------------------------------------------
/Game/Assets/Prefabs/StoneBricks.prefab:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Orangejuice724/Unity-Top-Down-2D-RPG-Tutorial/f4af21bcc01649127caf495185418aa6ab29015e/Game/Assets/Prefabs/StoneBricks.prefab
--------------------------------------------------------------------------------
/Game/Assets/Prefabs/StoneBricks.prefab.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 02d6f688436037a4fae8cf6f5dfb4a5e
3 | NativeFormatImporter:
4 | userData:
5 |
--------------------------------------------------------------------------------
/Game/Assets/Prefabs/SunflowerTile.prefab:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Orangejuice724/Unity-Top-Down-2D-RPG-Tutorial/f4af21bcc01649127caf495185418aa6ab29015e/Game/Assets/Prefabs/SunflowerTile.prefab
--------------------------------------------------------------------------------
/Game/Assets/Prefabs/SunflowerTile.prefab.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: bdff971f0141e0e47a321663879270d6
3 | NativeFormatImporter:
4 | userData:
5 |
--------------------------------------------------------------------------------
/Game/Assets/Prefabs/VFenceTile.prefab:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Orangejuice724/Unity-Top-Down-2D-RPG-Tutorial/f4af21bcc01649127caf495185418aa6ab29015e/Game/Assets/Prefabs/VFenceTile.prefab
--------------------------------------------------------------------------------
/Game/Assets/Prefabs/VFenceTile.prefab.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 290d20963309548489b6f7be1d27fee7
3 | NativeFormatImporter:
4 | userData:
5 |
--------------------------------------------------------------------------------
/Game/Assets/Prefabs/Villagers.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 9e039408881e9bf4bac5652427f4a01d
3 | folderAsset: yes
4 | DefaultImporter:
5 | userData:
6 |
--------------------------------------------------------------------------------
/Game/Assets/Prefabs/Villagers/BasicVillager.prefab:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Orangejuice724/Unity-Top-Down-2D-RPG-Tutorial/f4af21bcc01649127caf495185418aa6ab29015e/Game/Assets/Prefabs/Villagers/BasicVillager.prefab
--------------------------------------------------------------------------------
/Game/Assets/Prefabs/Villagers/BasicVillager.prefab.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 772f145a2daa95347850d834f0a9331d
3 | NativeFormatImporter:
4 | userData:
5 |
--------------------------------------------------------------------------------
/Game/Assets/Prefabs/itemRock.prefab:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Orangejuice724/Unity-Top-Down-2D-RPG-Tutorial/f4af21bcc01649127caf495185418aa6ab29015e/Game/Assets/Prefabs/itemRock.prefab
--------------------------------------------------------------------------------
/Game/Assets/Prefabs/itemRock.prefab.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 4aa78d223f8e2b343b2a1621ac99641e
3 | NativeFormatImporter:
4 | userData:
5 |
--------------------------------------------------------------------------------
/Game/Assets/Prefabs/pot_plant.prefab:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Orangejuice724/Unity-Top-Down-2D-RPG-Tutorial/f4af21bcc01649127caf495185418aa6ab29015e/Game/Assets/Prefabs/pot_plant.prefab
--------------------------------------------------------------------------------
/Game/Assets/Prefabs/pot_plant.prefab.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: f1e5c2029026aaa40854fa2431b3a6f9
3 | NativeFormatImporter:
4 | userData:
5 |
--------------------------------------------------------------------------------
/Game/Assets/Resources.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 4c125bbe8c9344445907fb5541c8c401
3 | folderAsset: yes
4 | DefaultImporter:
5 | userData:
6 |
--------------------------------------------------------------------------------
/Game/Assets/Resources/Homes.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 2850ae5aee95af24b91a62398cd200a1
3 | folderAsset: yes
4 | DefaultImporter:
5 | userData:
6 |
--------------------------------------------------------------------------------
/Game/Assets/Resources/Homes/Fillers.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 6bf4319931885ac49a07f8032d9c4f13
3 | folderAsset: yes
4 | DefaultImporter:
5 | userData:
6 |
--------------------------------------------------------------------------------
/Game/Assets/Resources/Homes/Fillers/pot_plant.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Orangejuice724/Unity-Top-Down-2D-RPG-Tutorial/f4af21bcc01649127caf495185418aa6ab29015e/Game/Assets/Resources/Homes/Fillers/pot_plant.png
--------------------------------------------------------------------------------
/Game/Assets/Resources/Homes/Fillers/pot_plant.png.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 9e30ad1b0c2e53741a14e714bcb772e2
3 | TextureImporter:
4 | serializedVersion: 2
5 | mipmaps:
6 | mipMapMode: 0
7 | enableMipMap: 0
8 | linearTexture: 0
9 | correctGamma: 0
10 | fadeOut: 0
11 | borderMipMap: 0
12 | mipMapFadeDistanceStart: 1
13 | mipMapFadeDistanceEnd: 3
14 | bumpmap:
15 | convertToNormalMap: 0
16 | externalNormalMap: 0
17 | heightScale: .25
18 | normalMapFilter: 0
19 | isReadable: 0
20 | grayScaleToAlpha: 0
21 | generateCubemap: 0
22 | seamlessCubemap: 0
23 | textureFormat: -3
24 | maxTextureSize: 4096
25 | textureSettings:
26 | filterMode: 0
27 | aniso: -1
28 | mipBias: -1
29 | wrapMode: -1
30 | nPOTScale: 0
31 | lightmap: 0
32 | compressionQuality: 50
33 | spriteMode: 1
34 | spriteExtrude: 1
35 | spriteMeshType: 1
36 | alignment: 0
37 | spritePivot: {x: .5, y: .5}
38 | spritePixelsToUnits: 16
39 | alphaIsTransparency: 1
40 | textureType: 8
41 | buildTargetSettings:
42 | - buildTarget: iPhone
43 | maxTextureSize: 1024
44 | textureFormat: -2
45 | compressionQuality: 50
46 | spriteSheet:
47 | sprites: []
48 | spritePackingTag:
49 | userData:
50 |
--------------------------------------------------------------------------------
/Game/Assets/Resources/Homes/home_01.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: b14f677d2cbfb9f429b99f7961a1f577
3 | folderAsset: yes
4 | DefaultImporter:
5 | userData:
6 |
--------------------------------------------------------------------------------
/Game/Assets/Resources/Homes/home_01/room_01.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Orangejuice724/Unity-Top-Down-2D-RPG-Tutorial/f4af21bcc01649127caf495185418aa6ab29015e/Game/Assets/Resources/Homes/home_01/room_01.png
--------------------------------------------------------------------------------
/Game/Assets/Resources/Homes/home_01/room_01.png.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 0daf721e4260a2a4eb90ca3301d845d8
3 | TextureImporter:
4 | serializedVersion: 2
5 | mipmaps:
6 | mipMapMode: 0
7 | enableMipMap: 0
8 | linearTexture: 0
9 | correctGamma: 0
10 | fadeOut: 0
11 | borderMipMap: 0
12 | mipMapFadeDistanceStart: 1
13 | mipMapFadeDistanceEnd: 3
14 | bumpmap:
15 | convertToNormalMap: 0
16 | externalNormalMap: 0
17 | heightScale: .25
18 | normalMapFilter: 0
19 | isReadable: 0
20 | grayScaleToAlpha: 0
21 | generateCubemap: 0
22 | seamlessCubemap: 0
23 | textureFormat: -3
24 | maxTextureSize: 4096
25 | textureSettings:
26 | filterMode: 0
27 | aniso: -1
28 | mipBias: -1
29 | wrapMode: -1
30 | nPOTScale: 0
31 | lightmap: 0
32 | compressionQuality: 50
33 | spriteMode: 1
34 | spriteExtrude: 1
35 | spriteMeshType: 1
36 | alignment: 0
37 | spritePivot: {x: .5, y: .5}
38 | spritePixelsToUnits: 16
39 | alphaIsTransparency: 1
40 | textureType: 8
41 | buildTargetSettings:
42 | - buildTarget: iPhone
43 | maxTextureSize: 1024
44 | textureFormat: -2
45 | compressionQuality: 50
46 | spriteSheet:
47 | sprites: []
48 | spritePackingTag:
49 | userData:
50 |
--------------------------------------------------------------------------------
/Game/Assets/Resources/fonts.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 64b823c4cdea89f47b039bbab4d70ec4
3 | folderAsset: yes
4 | DefaultImporter:
5 | userData:
6 |
--------------------------------------------------------------------------------
/Game/Assets/Resources/fonts/Dragonfly.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Orangejuice724/Unity-Top-Down-2D-RPG-Tutorial/f4af21bcc01649127caf495185418aa6ab29015e/Game/Assets/Resources/fonts/Dragonfly.ttf
--------------------------------------------------------------------------------
/Game/Assets/Resources/fonts/Dragonfly.ttf.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 3255bf373d15b574ebf9203584fe7e8e
3 | TrueTypeFontImporter:
4 | serializedVersion: 2
5 | fontSize: 16
6 | forceTextureCase: -2
7 | characterSpacing: 1
8 | characterPadding: 0
9 | includeFontData: 1
10 | use2xBehaviour: 0
11 | fontNames: []
12 | customCharacters:
13 | fontRenderingMode: 0
14 | userData:
15 |
--------------------------------------------------------------------------------
/Game/Assets/Resources/gui.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: e2b163037f7c4794281105d729a7bad8
3 | folderAsset: yes
4 | DefaultImporter:
5 | userData:
6 |
--------------------------------------------------------------------------------
/Game/Assets/Resources/gui/ChestGUI.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Orangejuice724/Unity-Top-Down-2D-RPG-Tutorial/f4af21bcc01649127caf495185418aa6ab29015e/Game/Assets/Resources/gui/ChestGUI.png
--------------------------------------------------------------------------------
/Game/Assets/Resources/gui/ChestGUI.png.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 1af1e230f169eb8419bc212d743647c6
3 | TextureImporter:
4 | serializedVersion: 2
5 | mipmaps:
6 | mipMapMode: 0
7 | enableMipMap: 0
8 | linearTexture: 0
9 | correctGamma: 0
10 | fadeOut: 0
11 | borderMipMap: 0
12 | mipMapFadeDistanceStart: 1
13 | mipMapFadeDistanceEnd: 3
14 | bumpmap:
15 | convertToNormalMap: 0
16 | externalNormalMap: 0
17 | heightScale: .25
18 | normalMapFilter: 0
19 | isReadable: 0
20 | grayScaleToAlpha: 0
21 | generateCubemap: 0
22 | seamlessCubemap: 0
23 | textureFormat: -3
24 | maxTextureSize: 4096
25 | textureSettings:
26 | filterMode: 0
27 | aniso: 1
28 | mipBias: -1
29 | wrapMode: 1
30 | nPOTScale: 0
31 | lightmap: 0
32 | compressionQuality: 50
33 | spriteMode: 1
34 | spriteExtrude: 1
35 | spriteMeshType: 1
36 | alignment: 0
37 | spritePivot: {x: .5, y: .5}
38 | spritePixelsToUnits: 100
39 | alphaIsTransparency: 1
40 | textureType: 8
41 | buildTargetSettings:
42 | - buildTarget: iPhone
43 | maxTextureSize: 1024
44 | textureFormat: -2
45 | compressionQuality: 50
46 | spriteSheet:
47 | sprites: []
48 | spritePackingTag:
49 | userData:
50 |
--------------------------------------------------------------------------------
/Game/Assets/Resources/gui/New GUISkin.guiskin:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Orangejuice724/Unity-Top-Down-2D-RPG-Tutorial/f4af21bcc01649127caf495185418aa6ab29015e/Game/Assets/Resources/gui/New GUISkin.guiskin
--------------------------------------------------------------------------------
/Game/Assets/Resources/gui/New GUISkin.guiskin.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 2c6198a362743064e8428c764a61058f
3 | NativeFormatImporter:
4 | userData:
5 |
--------------------------------------------------------------------------------
/Game/Assets/Resources/gui/box.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Orangejuice724/Unity-Top-Down-2D-RPG-Tutorial/f4af21bcc01649127caf495185418aa6ab29015e/Game/Assets/Resources/gui/box.png
--------------------------------------------------------------------------------
/Game/Assets/Resources/gui/box.png.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: c4147594ff1ca564ca67cf578b6f6492
3 | TextureImporter:
4 | serializedVersion: 2
5 | mipmaps:
6 | mipMapMode: 0
7 | enableMipMap: 0
8 | linearTexture: 0
9 | correctGamma: 0
10 | fadeOut: 0
11 | borderMipMap: 0
12 | mipMapFadeDistanceStart: 1
13 | mipMapFadeDistanceEnd: 3
14 | bumpmap:
15 | convertToNormalMap: 0
16 | externalNormalMap: 0
17 | heightScale: .25
18 | normalMapFilter: 0
19 | isReadable: 0
20 | grayScaleToAlpha: 0
21 | generateCubemap: 0
22 | seamlessCubemap: 0
23 | textureFormat: -1
24 | maxTextureSize: 1024
25 | textureSettings:
26 | filterMode: -1
27 | aniso: -1
28 | mipBias: -1
29 | wrapMode: -1
30 | nPOTScale: 0
31 | lightmap: 0
32 | compressionQuality: 50
33 | spriteMode: 1
34 | spriteExtrude: 1
35 | spriteMeshType: 1
36 | alignment: 0
37 | spritePivot: {x: .5, y: .5}
38 | spritePixelsToUnits: 100
39 | alphaIsTransparency: 1
40 | textureType: 8
41 | buildTargetSettings:
42 | - buildTarget: iPhone
43 | maxTextureSize: 1024
44 | textureFormat: -2
45 | compressionQuality: 50
46 | spriteSheet:
47 | sprites: []
48 | spritePackingTag:
49 | userData:
50 |
--------------------------------------------------------------------------------
/Game/Assets/Resources/gui/dialogue-background.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Orangejuice724/Unity-Top-Down-2D-RPG-Tutorial/f4af21bcc01649127caf495185418aa6ab29015e/Game/Assets/Resources/gui/dialogue-background.png
--------------------------------------------------------------------------------
/Game/Assets/Resources/gui/dialogue-background.png.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 95188215c3a256e4f97d082d8f7dad5f
3 | TextureImporter:
4 | serializedVersion: 2
5 | mipmaps:
6 | mipMapMode: 0
7 | enableMipMap: 0
8 | linearTexture: 0
9 | correctGamma: 0
10 | fadeOut: 0
11 | borderMipMap: 0
12 | mipMapFadeDistanceStart: 1
13 | mipMapFadeDistanceEnd: 3
14 | bumpmap:
15 | convertToNormalMap: 0
16 | externalNormalMap: 0
17 | heightScale: .25
18 | normalMapFilter: 0
19 | isReadable: 0
20 | grayScaleToAlpha: 0
21 | generateCubemap: 0
22 | seamlessCubemap: 0
23 | textureFormat: -1
24 | maxTextureSize: 4096
25 | textureSettings:
26 | filterMode: 1
27 | aniso: 1
28 | mipBias: -1
29 | wrapMode: 1
30 | nPOTScale: 0
31 | lightmap: 0
32 | compressionQuality: 50
33 | spriteMode: 1
34 | spriteExtrude: 1
35 | spriteMeshType: 1
36 | alignment: 0
37 | spritePivot: {x: .5, y: .5}
38 | spritePixelsToUnits: 100
39 | alphaIsTransparency: 1
40 | textureType: 8
41 | buildTargetSettings:
42 | - buildTarget: iPhone
43 | maxTextureSize: 1024
44 | textureFormat: -2
45 | compressionQuality: 50
46 | spriteSheet:
47 | sprites: []
48 | spritePackingTag:
49 | userData:
50 |
--------------------------------------------------------------------------------
/Game/Assets/Resources/gui/info-box.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Orangejuice724/Unity-Top-Down-2D-RPG-Tutorial/f4af21bcc01649127caf495185418aa6ab29015e/Game/Assets/Resources/gui/info-box.png
--------------------------------------------------------------------------------
/Game/Assets/Resources/gui/info-box.png.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 0c8302387c6b91d4d878c4e8cabf7200
3 | TextureImporter:
4 | serializedVersion: 2
5 | mipmaps:
6 | mipMapMode: 0
7 | enableMipMap: 0
8 | linearTexture: 0
9 | correctGamma: 0
10 | fadeOut: 0
11 | borderMipMap: 0
12 | mipMapFadeDistanceStart: 1
13 | mipMapFadeDistanceEnd: 3
14 | bumpmap:
15 | convertToNormalMap: 0
16 | externalNormalMap: 0
17 | heightScale: .25
18 | normalMapFilter: 0
19 | isReadable: 0
20 | grayScaleToAlpha: 0
21 | generateCubemap: 0
22 | seamlessCubemap: 0
23 | textureFormat: -1
24 | maxTextureSize: 1024
25 | textureSettings:
26 | filterMode: 0
27 | aniso: -1
28 | mipBias: -1
29 | wrapMode: -1
30 | nPOTScale: 0
31 | lightmap: 0
32 | compressionQuality: 50
33 | spriteMode: 1
34 | spriteExtrude: 1
35 | spriteMeshType: 1
36 | alignment: 0
37 | spritePivot: {x: .5, y: .5}
38 | spritePixelsToUnits: 100
39 | alphaIsTransparency: 1
40 | textureType: 8
41 | buildTargetSettings:
42 | - buildTarget: iPhone
43 | maxTextureSize: 1024
44 | textureFormat: -2
45 | compressionQuality: 50
46 | spriteSheet:
47 | sprites: []
48 | spritePackingTag:
49 | userData:
50 |
--------------------------------------------------------------------------------
/Game/Assets/Resources/gui/inventory-bg.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Orangejuice724/Unity-Top-Down-2D-RPG-Tutorial/f4af21bcc01649127caf495185418aa6ab29015e/Game/Assets/Resources/gui/inventory-bg.png
--------------------------------------------------------------------------------
/Game/Assets/Resources/gui/inventory-bg.png.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 7f8c928455219ec498d1d948dc03c852
3 | TextureImporter:
4 | serializedVersion: 2
5 | mipmaps:
6 | mipMapMode: 0
7 | enableMipMap: 0
8 | linearTexture: 0
9 | correctGamma: 0
10 | fadeOut: 0
11 | borderMipMap: 0
12 | mipMapFadeDistanceStart: 1
13 | mipMapFadeDistanceEnd: 3
14 | bumpmap:
15 | convertToNormalMap: 0
16 | externalNormalMap: 0
17 | heightScale: .25
18 | normalMapFilter: 0
19 | isReadable: 0
20 | grayScaleToAlpha: 0
21 | generateCubemap: 0
22 | seamlessCubemap: 0
23 | textureFormat: -1
24 | maxTextureSize: 1024
25 | textureSettings:
26 | filterMode: 0
27 | aniso: -1
28 | mipBias: -1
29 | wrapMode: -1
30 | nPOTScale: 0
31 | lightmap: 0
32 | compressionQuality: 50
33 | spriteMode: 1
34 | spriteExtrude: 1
35 | spriteMeshType: 1
36 | alignment: 0
37 | spritePivot: {x: .5, y: .5}
38 | spritePixelsToUnits: 100
39 | alphaIsTransparency: 1
40 | textureType: 8
41 | buildTargetSettings:
42 | - buildTarget: iPhone
43 | maxTextureSize: 1024
44 | textureFormat: -2
45 | compressionQuality: 50
46 | spriteSheet:
47 | sprites: []
48 | spritePackingTag:
49 | userData:
50 |
--------------------------------------------------------------------------------
/Game/Assets/Resources/gui/item-box.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Orangejuice724/Unity-Top-Down-2D-RPG-Tutorial/f4af21bcc01649127caf495185418aa6ab29015e/Game/Assets/Resources/gui/item-box.png
--------------------------------------------------------------------------------
/Game/Assets/Resources/gui/item-box.png.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 4551ef4a8681ef24dafc72af4a08b03d
3 | TextureImporter:
4 | serializedVersion: 2
5 | mipmaps:
6 | mipMapMode: 0
7 | enableMipMap: 0
8 | linearTexture: 0
9 | correctGamma: 0
10 | fadeOut: 0
11 | borderMipMap: 0
12 | mipMapFadeDistanceStart: 1
13 | mipMapFadeDistanceEnd: 3
14 | bumpmap:
15 | convertToNormalMap: 0
16 | externalNormalMap: 0
17 | heightScale: .25
18 | normalMapFilter: 0
19 | isReadable: 0
20 | grayScaleToAlpha: 0
21 | generateCubemap: 0
22 | seamlessCubemap: 0
23 | textureFormat: -1
24 | maxTextureSize: 1024
25 | textureSettings:
26 | filterMode: 0
27 | aniso: -1
28 | mipBias: -1
29 | wrapMode: -1
30 | nPOTScale: 0
31 | lightmap: 0
32 | compressionQuality: 50
33 | spriteMode: 1
34 | spriteExtrude: 1
35 | spriteMeshType: 1
36 | alignment: 0
37 | spritePivot: {x: .5, y: .5}
38 | spritePixelsToUnits: 100
39 | alphaIsTransparency: 1
40 | textureType: 8
41 | buildTargetSettings:
42 | - buildTarget: iPhone
43 | maxTextureSize: 1024
44 | textureFormat: -2
45 | compressionQuality: 50
46 | spriteSheet:
47 | sprites: []
48 | spritePackingTag:
49 | userData:
50 |
--------------------------------------------------------------------------------
/Game/Assets/Resources/gui/mainGUISkin.guiskin:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Orangejuice724/Unity-Top-Down-2D-RPG-Tutorial/f4af21bcc01649127caf495185418aa6ab29015e/Game/Assets/Resources/gui/mainGUISkin.guiskin
--------------------------------------------------------------------------------
/Game/Assets/Resources/gui/mainGUISkin.guiskin.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 276d711bc313b0c42bb70fd57a156e43
3 | NativeFormatImporter:
4 | userData:
5 |
--------------------------------------------------------------------------------
/Game/Assets/Resources/hud.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 6838f965c7e29214f8480c6703460346
3 | folderAsset: yes
4 | DefaultImporter:
5 | userData:
6 |
--------------------------------------------------------------------------------
/Game/Assets/Resources/hud/coin-image.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Orangejuice724/Unity-Top-Down-2D-RPG-Tutorial/f4af21bcc01649127caf495185418aa6ab29015e/Game/Assets/Resources/hud/coin-image.png
--------------------------------------------------------------------------------
/Game/Assets/Resources/hud/coin-image.png.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 623c4f3b9612abb43a70191383c5ddfb
3 | TextureImporter:
4 | serializedVersion: 2
5 | mipmaps:
6 | mipMapMode: 0
7 | enableMipMap: 0
8 | linearTexture: 1
9 | correctGamma: 0
10 | fadeOut: 0
11 | borderMipMap: 0
12 | mipMapFadeDistanceStart: 1
13 | mipMapFadeDistanceEnd: 3
14 | bumpmap:
15 | convertToNormalMap: 0
16 | externalNormalMap: 0
17 | heightScale: .25
18 | normalMapFilter: 0
19 | isReadable: 0
20 | grayScaleToAlpha: 0
21 | generateCubemap: 0
22 | seamlessCubemap: 0
23 | textureFormat: -3
24 | maxTextureSize: 1024
25 | textureSettings:
26 | filterMode: 2
27 | aniso: 1
28 | mipBias: -1
29 | wrapMode: 1
30 | nPOTScale: 0
31 | lightmap: 0
32 | compressionQuality: 50
33 | spriteMode: 0
34 | spriteExtrude: 1
35 | spriteMeshType: 1
36 | alignment: 0
37 | spritePivot: {x: .5, y: .5}
38 | spritePixelsToUnits: 100
39 | alphaIsTransparency: 1
40 | textureType: 2
41 | buildTargetSettings:
42 | - buildTarget: iPhone
43 | maxTextureSize: 1024
44 | textureFormat: -2
45 | compressionQuality: 50
46 | spriteSheet:
47 | sprites: []
48 | spritePackingTag:
49 | userData:
50 |
--------------------------------------------------------------------------------
/Game/Assets/Resources/hud/healthbar outer.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Orangejuice724/Unity-Top-Down-2D-RPG-Tutorial/f4af21bcc01649127caf495185418aa6ab29015e/Game/Assets/Resources/hud/healthbar outer.png
--------------------------------------------------------------------------------
/Game/Assets/Resources/hud/healthbar outer.png.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 2bc8ebdc072ffa3419c8aaae0d71c26d
3 | TextureImporter:
4 | serializedVersion: 2
5 | mipmaps:
6 | mipMapMode: 0
7 | enableMipMap: 0
8 | linearTexture: 1
9 | correctGamma: 0
10 | fadeOut: 0
11 | borderMipMap: 0
12 | mipMapFadeDistanceStart: 1
13 | mipMapFadeDistanceEnd: 3
14 | bumpmap:
15 | convertToNormalMap: 0
16 | externalNormalMap: 0
17 | heightScale: .25
18 | normalMapFilter: 0
19 | isReadable: 0
20 | grayScaleToAlpha: 0
21 | generateCubemap: 0
22 | seamlessCubemap: 0
23 | textureFormat: -3
24 | maxTextureSize: 1024
25 | textureSettings:
26 | filterMode: 2
27 | aniso: 1
28 | mipBias: -1
29 | wrapMode: 1
30 | nPOTScale: 0
31 | lightmap: 0
32 | compressionQuality: 50
33 | spriteMode: 0
34 | spriteExtrude: 1
35 | spriteMeshType: 1
36 | alignment: 0
37 | spritePivot: {x: .5, y: .5}
38 | spritePixelsToUnits: 100
39 | alphaIsTransparency: 1
40 | textureType: 2
41 | buildTargetSettings:
42 | - buildTarget: iPhone
43 | maxTextureSize: 1024
44 | textureFormat: -2
45 | compressionQuality: 50
46 | spriteSheet:
47 | sprites: []
48 | spritePackingTag:
49 | userData:
50 |
--------------------------------------------------------------------------------
/Game/Assets/Resources/hud/healthbar.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Orangejuice724/Unity-Top-Down-2D-RPG-Tutorial/f4af21bcc01649127caf495185418aa6ab29015e/Game/Assets/Resources/hud/healthbar.png
--------------------------------------------------------------------------------
/Game/Assets/Resources/hud/healthbar.png.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 79458a315367ab84d9e42637d37fe72a
3 | TextureImporter:
4 | serializedVersion: 2
5 | mipmaps:
6 | mipMapMode: 0
7 | enableMipMap: 0
8 | linearTexture: 1
9 | correctGamma: 0
10 | fadeOut: 0
11 | borderMipMap: 0
12 | mipMapFadeDistanceStart: 1
13 | mipMapFadeDistanceEnd: 3
14 | bumpmap:
15 | convertToNormalMap: 0
16 | externalNormalMap: 0
17 | heightScale: .25
18 | normalMapFilter: 0
19 | isReadable: 0
20 | grayScaleToAlpha: 0
21 | generateCubemap: 0
22 | seamlessCubemap: 0
23 | textureFormat: -3
24 | maxTextureSize: 1024
25 | textureSettings:
26 | filterMode: 2
27 | aniso: 1
28 | mipBias: -1
29 | wrapMode: 1
30 | nPOTScale: 0
31 | lightmap: 0
32 | compressionQuality: 50
33 | spriteMode: 0
34 | spriteExtrude: 1
35 | spriteMeshType: 1
36 | alignment: 0
37 | spritePivot: {x: .5, y: .5}
38 | spritePixelsToUnits: 100
39 | alphaIsTransparency: 1
40 | textureType: 2
41 | buildTargetSettings:
42 | - buildTarget: iPhone
43 | maxTextureSize: 1024
44 | textureFormat: -2
45 | compressionQuality: 50
46 | spriteSheet:
47 | sprites: []
48 | spritePackingTag:
49 | userData:
50 |
--------------------------------------------------------------------------------
/Game/Assets/Resources/levels.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 28359dac5edd6b64e85810a3f1c8cc47
3 | folderAsset: yes
4 | DefaultImporter:
5 | userData:
6 |
--------------------------------------------------------------------------------
/Game/Assets/Resources/levels/main_level.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Orangejuice724/Unity-Top-Down-2D-RPG-Tutorial/f4af21bcc01649127caf495185418aa6ab29015e/Game/Assets/Resources/levels/main_level.png
--------------------------------------------------------------------------------
/Game/Assets/Resources/levels/main_level.png.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: dad64472276e0a748bdf9894d848e9b1
3 | TextureImporter:
4 | serializedVersion: 2
5 | mipmaps:
6 | mipMapMode: 0
7 | enableMipMap: 0
8 | linearTexture: 0
9 | correctGamma: 0
10 | fadeOut: 0
11 | borderMipMap: 0
12 | mipMapFadeDistanceStart: 1
13 | mipMapFadeDistanceEnd: 3
14 | bumpmap:
15 | convertToNormalMap: 0
16 | externalNormalMap: 0
17 | heightScale: .25
18 | normalMapFilter: 0
19 | isReadable: 1
20 | grayScaleToAlpha: 0
21 | generateCubemap: 0
22 | seamlessCubemap: 0
23 | textureFormat: 4
24 | maxTextureSize: 4096
25 | textureSettings:
26 | filterMode: 0
27 | aniso: -1
28 | mipBias: -1
29 | wrapMode: 1
30 | nPOTScale: 0
31 | lightmap: 0
32 | compressionQuality: 50
33 | spriteMode: 1
34 | spriteExtrude: 1
35 | spriteMeshType: 1
36 | alignment: 0
37 | spritePivot: {x: .5, y: .5}
38 | spritePixelsToUnits: 100
39 | alphaIsTransparency: 1
40 | textureType: 5
41 | buildTargetSettings:
42 | - buildTarget: iPhone
43 | maxTextureSize: 1024
44 | textureFormat: 7
45 | compressionQuality: 50
46 | spriteSheet:
47 | sprites: []
48 | spritePackingTag:
49 | userData:
50 |
--------------------------------------------------------------------------------
/Game/Assets/Resources/levels/main_level_top.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Orangejuice724/Unity-Top-Down-2D-RPG-Tutorial/f4af21bcc01649127caf495185418aa6ab29015e/Game/Assets/Resources/levels/main_level_top.png
--------------------------------------------------------------------------------
/Game/Assets/Resources/levels/main_level_top.png.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: eeacadafa332b9f4689b08d8d8ed63d0
3 | TextureImporter:
4 | serializedVersion: 2
5 | mipmaps:
6 | mipMapMode: 0
7 | enableMipMap: 0
8 | linearTexture: 0
9 | correctGamma: 0
10 | fadeOut: 0
11 | borderMipMap: 0
12 | mipMapFadeDistanceStart: 1
13 | mipMapFadeDistanceEnd: 3
14 | bumpmap:
15 | convertToNormalMap: 0
16 | externalNormalMap: 0
17 | heightScale: .25
18 | normalMapFilter: 0
19 | isReadable: 1
20 | grayScaleToAlpha: 0
21 | generateCubemap: 0
22 | seamlessCubemap: 0
23 | textureFormat: 4
24 | maxTextureSize: 4096
25 | textureSettings:
26 | filterMode: 0
27 | aniso: -1
28 | mipBias: -1
29 | wrapMode: 1
30 | nPOTScale: 0
31 | lightmap: 0
32 | compressionQuality: 50
33 | spriteMode: 1
34 | spriteExtrude: 1
35 | spriteMeshType: 1
36 | alignment: 0
37 | spritePivot: {x: .5, y: .5}
38 | spritePixelsToUnits: 100
39 | alphaIsTransparency: 1
40 | textureType: 5
41 | buildTargetSettings:
42 | - buildTarget: iPhone
43 | maxTextureSize: 1024
44 | textureFormat: 13
45 | compressionQuality: 50
46 | spriteSheet:
47 | sprites: []
48 | spritePackingTag:
49 | userData:
50 |
--------------------------------------------------------------------------------
/Game/Assets/Resources/spritesheets.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 5b97773956eeda04c800c34e88fb467a
3 | folderAsset: yes
4 | DefaultImporter:
5 | userData:
6 |
--------------------------------------------------------------------------------
/Game/Assets/Resources/spritesheets/humans.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 92af7a40b944bb94ba82d8df03d8e189
3 | folderAsset: yes
4 | DefaultImporter:
5 | userData:
6 |
--------------------------------------------------------------------------------
/Game/Assets/Resources/spritesheets/humans/backward.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Orangejuice724/Unity-Top-Down-2D-RPG-Tutorial/f4af21bcc01649127caf495185418aa6ab29015e/Game/Assets/Resources/spritesheets/humans/backward.png
--------------------------------------------------------------------------------
/Game/Assets/Resources/spritesheets/humans/backward.png.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: cb4eb0ffcefe40c4f9fa4a0407695534
3 | TextureImporter:
4 | serializedVersion: 2
5 | mipmaps:
6 | mipMapMode: 0
7 | enableMipMap: 0
8 | linearTexture: 0
9 | correctGamma: 0
10 | fadeOut: 0
11 | borderMipMap: 0
12 | mipMapFadeDistanceStart: 1
13 | mipMapFadeDistanceEnd: 3
14 | bumpmap:
15 | convertToNormalMap: 0
16 | externalNormalMap: 0
17 | heightScale: .25
18 | normalMapFilter: 0
19 | isReadable: 1
20 | grayScaleToAlpha: 0
21 | generateCubemap: 0
22 | seamlessCubemap: 0
23 | textureFormat: 4
24 | maxTextureSize: 4096
25 | textureSettings:
26 | filterMode: 0
27 | aniso: -1
28 | mipBias: -1
29 | wrapMode: 1
30 | nPOTScale: 0
31 | lightmap: 0
32 | compressionQuality: 50
33 | spriteMode: 1
34 | spriteExtrude: 1
35 | spriteMeshType: 1
36 | alignment: 0
37 | spritePivot: {x: .5, y: .5}
38 | spritePixelsToUnits: 16
39 | alphaIsTransparency: 1
40 | textureType: 5
41 | buildTargetSettings:
42 | - buildTarget: iPhone
43 | maxTextureSize: 1024
44 | textureFormat: 13
45 | compressionQuality: 50
46 | spriteSheet:
47 | sprites: []
48 | spritePackingTag:
49 | userData:
50 |
--------------------------------------------------------------------------------
/Game/Assets/Resources/spritesheets/humans/forward.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Orangejuice724/Unity-Top-Down-2D-RPG-Tutorial/f4af21bcc01649127caf495185418aa6ab29015e/Game/Assets/Resources/spritesheets/humans/forward.png
--------------------------------------------------------------------------------
/Game/Assets/Resources/spritesheets/humans/forward.png.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: e5bd2c79c34a9024688228534f1a6b2f
3 | TextureImporter:
4 | serializedVersion: 2
5 | mipmaps:
6 | mipMapMode: 0
7 | enableMipMap: 0
8 | linearTexture: 0
9 | correctGamma: 0
10 | fadeOut: 0
11 | borderMipMap: 0
12 | mipMapFadeDistanceStart: 1
13 | mipMapFadeDistanceEnd: 3
14 | bumpmap:
15 | convertToNormalMap: 0
16 | externalNormalMap: 0
17 | heightScale: .25
18 | normalMapFilter: 0
19 | isReadable: 1
20 | grayScaleToAlpha: 0
21 | generateCubemap: 0
22 | seamlessCubemap: 0
23 | textureFormat: 4
24 | maxTextureSize: 4096
25 | textureSettings:
26 | filterMode: 0
27 | aniso: -1
28 | mipBias: -1
29 | wrapMode: 1
30 | nPOTScale: 0
31 | lightmap: 0
32 | compressionQuality: 50
33 | spriteMode: 1
34 | spriteExtrude: 1
35 | spriteMeshType: 1
36 | alignment: 0
37 | spritePivot: {x: .5, y: .5}
38 | spritePixelsToUnits: 16
39 | alphaIsTransparency: 1
40 | textureType: 5
41 | buildTargetSettings:
42 | - buildTarget: iPhone
43 | maxTextureSize: 1024
44 | textureFormat: 13
45 | compressionQuality: 50
46 | spriteSheet:
47 | sprites: []
48 | spritePackingTag:
49 | userData:
50 |
--------------------------------------------------------------------------------
/Game/Assets/Resources/spritesheets/humans/left.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Orangejuice724/Unity-Top-Down-2D-RPG-Tutorial/f4af21bcc01649127caf495185418aa6ab29015e/Game/Assets/Resources/spritesheets/humans/left.png
--------------------------------------------------------------------------------
/Game/Assets/Resources/spritesheets/humans/left.png.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: e34ec67bf94016646bbb285337b309d9
3 | TextureImporter:
4 | serializedVersion: 2
5 | mipmaps:
6 | mipMapMode: 0
7 | enableMipMap: 0
8 | linearTexture: 0
9 | correctGamma: 0
10 | fadeOut: 0
11 | borderMipMap: 0
12 | mipMapFadeDistanceStart: 1
13 | mipMapFadeDistanceEnd: 3
14 | bumpmap:
15 | convertToNormalMap: 0
16 | externalNormalMap: 0
17 | heightScale: .25
18 | normalMapFilter: 0
19 | isReadable: 1
20 | grayScaleToAlpha: 0
21 | generateCubemap: 0
22 | seamlessCubemap: 0
23 | textureFormat: 4
24 | maxTextureSize: 4096
25 | textureSettings:
26 | filterMode: 0
27 | aniso: -1
28 | mipBias: -1
29 | wrapMode: 1
30 | nPOTScale: 0
31 | lightmap: 0
32 | compressionQuality: 50
33 | spriteMode: 1
34 | spriteExtrude: 1
35 | spriteMeshType: 1
36 | alignment: 0
37 | spritePivot: {x: .5, y: .5}
38 | spritePixelsToUnits: 16
39 | alphaIsTransparency: 1
40 | textureType: 5
41 | buildTargetSettings:
42 | - buildTarget: iPhone
43 | maxTextureSize: 1024
44 | textureFormat: 13
45 | compressionQuality: 50
46 | spriteSheet:
47 | sprites: []
48 | spritePackingTag:
49 | userData:
50 |
--------------------------------------------------------------------------------
/Game/Assets/Resources/spritesheets/humans/right.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Orangejuice724/Unity-Top-Down-2D-RPG-Tutorial/f4af21bcc01649127caf495185418aa6ab29015e/Game/Assets/Resources/spritesheets/humans/right.png
--------------------------------------------------------------------------------
/Game/Assets/Resources/spritesheets/humans/right.png.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: e583c5d7c04b49241987121a883d6d0b
3 | TextureImporter:
4 | serializedVersion: 2
5 | mipmaps:
6 | mipMapMode: 0
7 | enableMipMap: 0
8 | linearTexture: 0
9 | correctGamma: 0
10 | fadeOut: 0
11 | borderMipMap: 0
12 | mipMapFadeDistanceStart: 1
13 | mipMapFadeDistanceEnd: 3
14 | bumpmap:
15 | convertToNormalMap: 0
16 | externalNormalMap: 0
17 | heightScale: .25
18 | normalMapFilter: 0
19 | isReadable: 1
20 | grayScaleToAlpha: 0
21 | generateCubemap: 0
22 | seamlessCubemap: 0
23 | textureFormat: 4
24 | maxTextureSize: 4096
25 | textureSettings:
26 | filterMode: 0
27 | aniso: -1
28 | mipBias: -1
29 | wrapMode: 1
30 | nPOTScale: 0
31 | lightmap: 0
32 | compressionQuality: 50
33 | spriteMode: 1
34 | spriteExtrude: 1
35 | spriteMeshType: 1
36 | alignment: 0
37 | spritePivot: {x: .5, y: .5}
38 | spritePixelsToUnits: 16
39 | alphaIsTransparency: 1
40 | textureType: 5
41 | buildTargetSettings:
42 | - buildTarget: iPhone
43 | maxTextureSize: 1024
44 | textureFormat: 13
45 | compressionQuality: 50
46 | spriteSheet:
47 | sprites: []
48 | spritePackingTag:
49 | userData:
50 |
--------------------------------------------------------------------------------
/Game/Assets/Resources/spritesheets/items.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: cfcf191776c690b4fbf4a70f05ca2575
3 | folderAsset: yes
4 | DefaultImporter:
5 | userData:
6 |
--------------------------------------------------------------------------------
/Game/Assets/Resources/spritesheets/items/itemStick.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Orangejuice724/Unity-Top-Down-2D-RPG-Tutorial/f4af21bcc01649127caf495185418aa6ab29015e/Game/Assets/Resources/spritesheets/items/itemStick.png
--------------------------------------------------------------------------------
/Game/Assets/Resources/spritesheets/items/itemStick.png.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: c164626ce63bc204d9de8c7fb6694704
3 | TextureImporter:
4 | serializedVersion: 2
5 | mipmaps:
6 | mipMapMode: 0
7 | enableMipMap: 0
8 | linearTexture: 0
9 | correctGamma: 0
10 | fadeOut: 0
11 | borderMipMap: 0
12 | mipMapFadeDistanceStart: 1
13 | mipMapFadeDistanceEnd: 3
14 | bumpmap:
15 | convertToNormalMap: 0
16 | externalNormalMap: 0
17 | heightScale: .25
18 | normalMapFilter: 0
19 | isReadable: 0
20 | grayScaleToAlpha: 0
21 | generateCubemap: 0
22 | seamlessCubemap: 0
23 | textureFormat: -3
24 | maxTextureSize: 4096
25 | textureSettings:
26 | filterMode: 0
27 | aniso: 1
28 | mipBias: -1
29 | wrapMode: 1
30 | nPOTScale: 0
31 | lightmap: 0
32 | compressionQuality: 50
33 | spriteMode: 1
34 | spriteExtrude: 1
35 | spriteMeshType: 1
36 | alignment: 0
37 | spritePivot: {x: .5, y: .5}
38 | spritePixelsToUnits: 16
39 | alphaIsTransparency: 1
40 | textureType: 8
41 | buildTargetSettings:
42 | - buildTarget: iPhone
43 | maxTextureSize: 1024
44 | textureFormat: -2
45 | compressionQuality: 50
46 | spriteSheet:
47 | sprites: []
48 | spritePackingTag:
49 | userData:
50 |
--------------------------------------------------------------------------------
/Game/Assets/Resources/spritesheets/spritesheet-main.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Orangejuice724/Unity-Top-Down-2D-RPG-Tutorial/f4af21bcc01649127caf495185418aa6ab29015e/Game/Assets/Resources/spritesheets/spritesheet-main.png
--------------------------------------------------------------------------------
/Game/Assets/Resources/spritesheets/spritesheet-main.png.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 1c76d7bb4a12afe42887c689b80576b7
3 | TextureImporter:
4 | serializedVersion: 2
5 | mipmaps:
6 | mipMapMode: 0
7 | enableMipMap: 0
8 | linearTexture: 0
9 | correctGamma: 0
10 | fadeOut: 0
11 | borderMipMap: 0
12 | mipMapFadeDistanceStart: 1
13 | mipMapFadeDistanceEnd: 3
14 | bumpmap:
15 | convertToNormalMap: 0
16 | externalNormalMap: 0
17 | heightScale: .25
18 | normalMapFilter: 0
19 | isReadable: 0
20 | grayScaleToAlpha: 0
21 | generateCubemap: 0
22 | seamlessCubemap: 0
23 | textureFormat: -3
24 | maxTextureSize: 4096
25 | textureSettings:
26 | filterMode: 0
27 | aniso: 1
28 | mipBias: -1
29 | wrapMode: 1
30 | nPOTScale: 0
31 | lightmap: 0
32 | compressionQuality: 50
33 | spriteMode: 2
34 | spriteExtrude: 1
35 | spriteMeshType: 1
36 | alignment: 0
37 | spritePivot: {x: .5, y: .5}
38 | spritePixelsToUnits: 16
39 | alphaIsTransparency: 1
40 | textureType: 8
41 | buildTargetSettings:
42 | - buildTarget: iPhone
43 | maxTextureSize: 1024
44 | textureFormat: -2
45 | compressionQuality: 50
46 | spriteSheet:
47 | sprites:
48 | - name: spritesheet-main_0
49 | rect:
50 | serializedVersion: 2
51 | x: 0
52 | y: 240
53 | width: 16
54 | height: 16
55 | alignment: 0
56 | pivot: {x: .5, y: .5}
57 | - name: spritesheet-main_1
58 | rect:
59 | serializedVersion: 2
60 | x: 16
61 | y: 240
62 | width: 16
63 | height: 16
64 | alignment: 0
65 | pivot: {x: .5, y: .5}
66 | - name: spritesheet-main_2
67 | rect:
68 | serializedVersion: 2
69 | x: 32
70 | y: 240
71 | width: 16
72 | height: 16
73 | alignment: 0
74 | pivot: {x: .5, y: .5}
75 | - name: spritesheet-main_3
76 | rect:
77 | serializedVersion: 2
78 | x: 48
79 | y: 240
80 | width: 16
81 | height: 16
82 | alignment: 0
83 | pivot: {x: .5, y: .5}
84 | - name: spritesheet-main_4
85 | rect:
86 | serializedVersion: 2
87 | x: 64
88 | y: 240
89 | width: 16
90 | height: 16
91 | alignment: 0
92 | pivot: {x: .5, y: .5}
93 | - name: spritesheet-main_5
94 | rect:
95 | serializedVersion: 2
96 | x: 80
97 | y: 240
98 | width: 16
99 | height: 16
100 | alignment: 0
101 | pivot: {x: .5, y: .5}
102 | - name: spritesheet-main_6
103 | rect:
104 | serializedVersion: 2
105 | x: 96
106 | y: 240
107 | width: 16
108 | height: 16
109 | alignment: 0
110 | pivot: {x: .5, y: .5}
111 | - name: spritesheet-main_7
112 | rect:
113 | serializedVersion: 2
114 | x: 112
115 | y: 240
116 | width: 16
117 | height: 16
118 | alignment: 0
119 | pivot: {x: .5, y: .5}
120 | - name: spritesheet-main_8
121 | rect:
122 | serializedVersion: 2
123 | x: 128
124 | y: 240
125 | width: 16
126 | height: 16
127 | alignment: 0
128 | pivot: {x: .5, y: .5}
129 | - name: spritesheet-main_9
130 | rect:
131 | serializedVersion: 2
132 | x: 144
133 | y: 240
134 | width: 16
135 | height: 16
136 | alignment: 0
137 | pivot: {x: .5, y: .5}
138 | - name: spritesheet-main_10
139 | rect:
140 | serializedVersion: 2
141 | x: 160
142 | y: 240
143 | width: 16
144 | height: 16
145 | alignment: 0
146 | pivot: {x: .5, y: .5}
147 | - name: spritesheet-main_11
148 | rect:
149 | serializedVersion: 2
150 | x: 176
151 | y: 240
152 | width: 16
153 | height: 16
154 | alignment: 0
155 | pivot: {x: .5, y: .5}
156 | - name: spritesheet-main_12
157 | rect:
158 | serializedVersion: 2
159 | x: 192
160 | y: 240
161 | width: 16
162 | height: 16
163 | alignment: 0
164 | pivot: {x: .5, y: .5}
165 | - name: spritesheet-main_13
166 | rect:
167 | serializedVersion: 2
168 | x: 208
169 | y: 240
170 | width: 16
171 | height: 16
172 | alignment: 0
173 | pivot: {x: .5, y: .5}
174 | - name: spritesheet-main_14
175 | rect:
176 | serializedVersion: 2
177 | x: 224
178 | y: 240
179 | width: 16
180 | height: 16
181 | alignment: 0
182 | pivot: {x: .5, y: .5}
183 | - name: spritesheet-main_15
184 | rect:
185 | serializedVersion: 2
186 | x: 240
187 | y: 240
188 | width: 16
189 | height: 16
190 | alignment: 0
191 | pivot: {x: .5, y: .5}
192 | - name: spritesheet-main_16
193 | rect:
194 | serializedVersion: 2
195 | x: 0
196 | y: 224
197 | width: 16
198 | height: 16
199 | alignment: 0
200 | pivot: {x: .5, y: .5}
201 | - name: spritesheet-main_17
202 | rect:
203 | serializedVersion: 2
204 | x: 16
205 | y: 224
206 | width: 16
207 | height: 16
208 | alignment: 0
209 | pivot: {x: .5, y: .5}
210 | - name: spritesheet-main_18
211 | rect:
212 | serializedVersion: 2
213 | x: 32
214 | y: 224
215 | width: 16
216 | height: 16
217 | alignment: 0
218 | pivot: {x: .5, y: .5}
219 | - name: spritesheet-main_19
220 | rect:
221 | serializedVersion: 2
222 | x: 48
223 | y: 224
224 | width: 16
225 | height: 16
226 | alignment: 0
227 | pivot: {x: .5, y: .5}
228 | - name: spritesheet-main_20
229 | rect:
230 | serializedVersion: 2
231 | x: 64
232 | y: 224
233 | width: 16
234 | height: 16
235 | alignment: 0
236 | pivot: {x: .5, y: .5}
237 | - name: spritesheet-main_21
238 | rect:
239 | serializedVersion: 2
240 | x: 80
241 | y: 224
242 | width: 16
243 | height: 16
244 | alignment: 0
245 | pivot: {x: .5, y: .5}
246 | - name: spritesheet-main_22
247 | rect:
248 | serializedVersion: 2
249 | x: 96
250 | y: 224
251 | width: 16
252 | height: 16
253 | alignment: 0
254 | pivot: {x: .5, y: .5}
255 | - name: spritesheet-main_23
256 | rect:
257 | serializedVersion: 2
258 | x: 112
259 | y: 224
260 | width: 16
261 | height: 16
262 | alignment: 0
263 | pivot: {x: .5, y: .5}
264 | - name: spritesheet-main_24
265 | rect:
266 | serializedVersion: 2
267 | x: 128
268 | y: 224
269 | width: 16
270 | height: 16
271 | alignment: 0
272 | pivot: {x: .5, y: .5}
273 | - name: spritesheet-main_25
274 | rect:
275 | serializedVersion: 2
276 | x: 144
277 | y: 224
278 | width: 16
279 | height: 16
280 | alignment: 0
281 | pivot: {x: .5, y: .5}
282 | - name: spritesheet-main_26
283 | rect:
284 | serializedVersion: 2
285 | x: 160
286 | y: 224
287 | width: 16
288 | height: 16
289 | alignment: 0
290 | pivot: {x: .5, y: .5}
291 | - name: spritesheet-main_27
292 | rect:
293 | serializedVersion: 2
294 | x: 176
295 | y: 224
296 | width: 16
297 | height: 16
298 | alignment: 0
299 | pivot: {x: .5, y: .5}
300 | - name: spritesheet-main_28
301 | rect:
302 | serializedVersion: 2
303 | x: 192
304 | y: 224
305 | width: 16
306 | height: 16
307 | alignment: 0
308 | pivot: {x: .5, y: .5}
309 | - name: spritesheet-main_29
310 | rect:
311 | serializedVersion: 2
312 | x: 208
313 | y: 224
314 | width: 16
315 | height: 16
316 | alignment: 0
317 | pivot: {x: .5, y: .5}
318 | - name: spritesheet-main_30
319 | rect:
320 | serializedVersion: 2
321 | x: 224
322 | y: 224
323 | width: 16
324 | height: 16
325 | alignment: 0
326 | pivot: {x: .5, y: .5}
327 | - name: spritesheet-main_31
328 | rect:
329 | serializedVersion: 2
330 | x: 240
331 | y: 224
332 | width: 16
333 | height: 16
334 | alignment: 0
335 | pivot: {x: .5, y: .5}
336 | - name: spritesheet-main_32
337 | rect:
338 | serializedVersion: 2
339 | x: 0
340 | y: 208
341 | width: 16
342 | height: 16
343 | alignment: 0
344 | pivot: {x: .5, y: .5}
345 | - name: spritesheet-main_33
346 | rect:
347 | serializedVersion: 2
348 | x: 16
349 | y: 208
350 | width: 16
351 | height: 16
352 | alignment: 0
353 | pivot: {x: .5, y: .5}
354 | - name: spritesheet-main_34
355 | rect:
356 | serializedVersion: 2
357 | x: 32
358 | y: 208
359 | width: 16
360 | height: 16
361 | alignment: 0
362 | pivot: {x: .5, y: .5}
363 | - name: spritesheet-main_35
364 | rect:
365 | serializedVersion: 2
366 | x: 48
367 | y: 208
368 | width: 16
369 | height: 16
370 | alignment: 0
371 | pivot: {x: .5, y: .5}
372 | - name: spritesheet-main_36
373 | rect:
374 | serializedVersion: 2
375 | x: 64
376 | y: 208
377 | width: 16
378 | height: 16
379 | alignment: 0
380 | pivot: {x: .5, y: .5}
381 | - name: spritesheet-main_37
382 | rect:
383 | serializedVersion: 2
384 | x: 80
385 | y: 208
386 | width: 16
387 | height: 16
388 | alignment: 0
389 | pivot: {x: .5, y: .5}
390 | - name: spritesheet-main_38
391 | rect:
392 | serializedVersion: 2
393 | x: 96
394 | y: 208
395 | width: 16
396 | height: 16
397 | alignment: 0
398 | pivot: {x: .5, y: .5}
399 | - name: spritesheet-main_39
400 | rect:
401 | serializedVersion: 2
402 | x: 112
403 | y: 208
404 | width: 16
405 | height: 16
406 | alignment: 0
407 | pivot: {x: .5, y: .5}
408 | - name: spritesheet-main_40
409 | rect:
410 | serializedVersion: 2
411 | x: 128
412 | y: 208
413 | width: 16
414 | height: 16
415 | alignment: 0
416 | pivot: {x: .5, y: .5}
417 | - name: spritesheet-main_41
418 | rect:
419 | serializedVersion: 2
420 | x: 144
421 | y: 208
422 | width: 16
423 | height: 16
424 | alignment: 0
425 | pivot: {x: .5, y: .5}
426 | - name: spritesheet-main_42
427 | rect:
428 | serializedVersion: 2
429 | x: 160
430 | y: 208
431 | width: 16
432 | height: 16
433 | alignment: 0
434 | pivot: {x: .5, y: .5}
435 | - name: spritesheet-main_43
436 | rect:
437 | serializedVersion: 2
438 | x: 176
439 | y: 208
440 | width: 16
441 | height: 16
442 | alignment: 0
443 | pivot: {x: .5, y: .5}
444 | - name: spritesheet-main_44
445 | rect:
446 | serializedVersion: 2
447 | x: 192
448 | y: 208
449 | width: 16
450 | height: 16
451 | alignment: 0
452 | pivot: {x: .5, y: .5}
453 | - name: spritesheet-main_45
454 | rect:
455 | serializedVersion: 2
456 | x: 208
457 | y: 208
458 | width: 16
459 | height: 16
460 | alignment: 0
461 | pivot: {x: .5, y: .5}
462 | - name: spritesheet-main_46
463 | rect:
464 | serializedVersion: 2
465 | x: 224
466 | y: 208
467 | width: 16
468 | height: 16
469 | alignment: 0
470 | pivot: {x: .5, y: .5}
471 | - name: spritesheet-main_47
472 | rect:
473 | serializedVersion: 2
474 | x: 240
475 | y: 208
476 | width: 16
477 | height: 16
478 | alignment: 0
479 | pivot: {x: .5, y: .5}
480 | - name: spritesheet-main_48
481 | rect:
482 | serializedVersion: 2
483 | x: 0
484 | y: 192
485 | width: 16
486 | height: 16
487 | alignment: 0
488 | pivot: {x: .5, y: .5}
489 | - name: spritesheet-main_49
490 | rect:
491 | serializedVersion: 2
492 | x: 16
493 | y: 192
494 | width: 16
495 | height: 16
496 | alignment: 9
497 | pivot: {x: .25, y: .25}
498 | - name: spritesheet-main_50
499 | rect:
500 | serializedVersion: 2
501 | x: 32
502 | y: 192
503 | width: 16
504 | height: 16
505 | alignment: 0
506 | pivot: {x: .5, y: .5}
507 | - name: spritesheet-main_51
508 | rect:
509 | serializedVersion: 2
510 | x: 48
511 | y: 192
512 | width: 16
513 | height: 16
514 | alignment: 0
515 | pivot: {x: .5, y: .5}
516 | - name: spritesheet-main_52
517 | rect:
518 | serializedVersion: 2
519 | x: 64
520 | y: 192
521 | width: 16
522 | height: 16
523 | alignment: 0
524 | pivot: {x: .5, y: .5}
525 | - name: spritesheet-main_53
526 | rect:
527 | serializedVersion: 2
528 | x: 80
529 | y: 192
530 | width: 16
531 | height: 16
532 | alignment: 0
533 | pivot: {x: .5, y: .5}
534 | - name: spritesheet-main_54
535 | rect:
536 | serializedVersion: 2
537 | x: 96
538 | y: 192
539 | width: 16
540 | height: 16
541 | alignment: 0
542 | pivot: {x: .5, y: .5}
543 | - name: spritesheet-main_55
544 | rect:
545 | serializedVersion: 2
546 | x: 112
547 | y: 192
548 | width: 16
549 | height: 16
550 | alignment: 0
551 | pivot: {x: .5, y: .5}
552 | - name: spritesheet-main_56
553 | rect:
554 | serializedVersion: 2
555 | x: 128
556 | y: 192
557 | width: 16
558 | height: 16
559 | alignment: 0
560 | pivot: {x: .5, y: .5}
561 | - name: spritesheet-main_57
562 | rect:
563 | serializedVersion: 2
564 | x: 144
565 | y: 192
566 | width: 16
567 | height: 16
568 | alignment: 0
569 | pivot: {x: .5, y: .5}
570 | - name: spritesheet-main_58
571 | rect:
572 | serializedVersion: 2
573 | x: 160
574 | y: 192
575 | width: 16
576 | height: 16
577 | alignment: 0
578 | pivot: {x: .5, y: .5}
579 | - name: spritesheet-main_59
580 | rect:
581 | serializedVersion: 2
582 | x: 176
583 | y: 192
584 | width: 16
585 | height: 16
586 | alignment: 0
587 | pivot: {x: .5, y: .5}
588 | - name: spritesheet-main_60
589 | rect:
590 | serializedVersion: 2
591 | x: 192
592 | y: 192
593 | width: 16
594 | height: 16
595 | alignment: 0
596 | pivot: {x: .5, y: .5}
597 | - name: spritesheet-main_61
598 | rect:
599 | serializedVersion: 2
600 | x: 208
601 | y: 192
602 | width: 16
603 | height: 16
604 | alignment: 0
605 | pivot: {x: .5, y: .5}
606 | - name: spritesheet-main_62
607 | rect:
608 | serializedVersion: 2
609 | x: 224
610 | y: 192
611 | width: 16
612 | height: 16
613 | alignment: 0
614 | pivot: {x: .5, y: .5}
615 | - name: spritesheet-main_63
616 | rect:
617 | serializedVersion: 2
618 | x: 240
619 | y: 192
620 | width: 16
621 | height: 16
622 | alignment: 0
623 | pivot: {x: .5, y: .5}
624 | - name: spritesheet-main_64
625 | rect:
626 | serializedVersion: 2
627 | x: 0
628 | y: 176
629 | width: 16
630 | height: 16
631 | alignment: 0
632 | pivot: {x: .5, y: .5}
633 | - name: spritesheet-main_65
634 | rect:
635 | serializedVersion: 2
636 | x: 16
637 | y: 176
638 | width: 16
639 | height: 16
640 | alignment: 0
641 | pivot: {x: .5, y: .5}
642 | - name: spritesheet-main_66
643 | rect:
644 | serializedVersion: 2
645 | x: 32
646 | y: 176
647 | width: 16
648 | height: 16
649 | alignment: 0
650 | pivot: {x: .5, y: .5}
651 | - name: spritesheet-main_67
652 | rect:
653 | serializedVersion: 2
654 | x: 48
655 | y: 176
656 | width: 16
657 | height: 16
658 | alignment: 0
659 | pivot: {x: .5, y: .5}
660 | - name: spritesheet-main_68
661 | rect:
662 | serializedVersion: 2
663 | x: 64
664 | y: 176
665 | width: 16
666 | height: 16
667 | alignment: 0
668 | pivot: {x: .5, y: .5}
669 | - name: spritesheet-main_69
670 | rect:
671 | serializedVersion: 2
672 | x: 80
673 | y: 176
674 | width: 16
675 | height: 16
676 | alignment: 0
677 | pivot: {x: .5, y: .5}
678 | - name: spritesheet-main_70
679 | rect:
680 | serializedVersion: 2
681 | x: 96
682 | y: 176
683 | width: 16
684 | height: 16
685 | alignment: 0
686 | pivot: {x: .5, y: .5}
687 | - name: spritesheet-main_71
688 | rect:
689 | serializedVersion: 2
690 | x: 112
691 | y: 176
692 | width: 16
693 | height: 16
694 | alignment: 0
695 | pivot: {x: .5, y: .5}
696 | - name: spritesheet-main_72
697 | rect:
698 | serializedVersion: 2
699 | x: 128
700 | y: 176
701 | width: 16
702 | height: 16
703 | alignment: 0
704 | pivot: {x: .5, y: .5}
705 | - name: spritesheet-main_73
706 | rect:
707 | serializedVersion: 2
708 | x: 144
709 | y: 176
710 | width: 16
711 | height: 16
712 | alignment: 0
713 | pivot: {x: .5, y: .5}
714 | - name: spritesheet-main_74
715 | rect:
716 | serializedVersion: 2
717 | x: 160
718 | y: 176
719 | width: 16
720 | height: 16
721 | alignment: 0
722 | pivot: {x: .5, y: .5}
723 | - name: spritesheet-main_75
724 | rect:
725 | serializedVersion: 2
726 | x: 176
727 | y: 176
728 | width: 16
729 | height: 16
730 | alignment: 0
731 | pivot: {x: .5, y: .5}
732 | - name: spritesheet-main_76
733 | rect:
734 | serializedVersion: 2
735 | x: 192
736 | y: 176
737 | width: 16
738 | height: 16
739 | alignment: 0
740 | pivot: {x: .5, y: .5}
741 | - name: spritesheet-main_77
742 | rect:
743 | serializedVersion: 2
744 | x: 208
745 | y: 176
746 | width: 16
747 | height: 16
748 | alignment: 0
749 | pivot: {x: .5, y: .5}
750 | - name: spritesheet-main_78
751 | rect:
752 | serializedVersion: 2
753 | x: 224
754 | y: 176
755 | width: 16
756 | height: 16
757 | alignment: 0
758 | pivot: {x: .5, y: .5}
759 | - name: spritesheet-main_79
760 | rect:
761 | serializedVersion: 2
762 | x: 240
763 | y: 176
764 | width: 16
765 | height: 16
766 | alignment: 0
767 | pivot: {x: .5, y: .5}
768 | - name: spritesheet-main_80
769 | rect:
770 | serializedVersion: 2
771 | x: 0
772 | y: 160
773 | width: 16
774 | height: 16
775 | alignment: 0
776 | pivot: {x: .5, y: .5}
777 | - name: spritesheet-main_81
778 | rect:
779 | serializedVersion: 2
780 | x: 16
781 | y: 160
782 | width: 16
783 | height: 16
784 | alignment: 0
785 | pivot: {x: .5, y: .5}
786 | - name: spritesheet-main_82
787 | rect:
788 | serializedVersion: 2
789 | x: 32
790 | y: 160
791 | width: 16
792 | height: 16
793 | alignment: 0
794 | pivot: {x: .5, y: .5}
795 | - name: spritesheet-main_83
796 | rect:
797 | serializedVersion: 2
798 | x: 48
799 | y: 160
800 | width: 16
801 | height: 16
802 | alignment: 0
803 | pivot: {x: .5, y: .5}
804 | - name: spritesheet-main_84
805 | rect:
806 | serializedVersion: 2
807 | x: 64
808 | y: 160
809 | width: 16
810 | height: 16
811 | alignment: 0
812 | pivot: {x: .5, y: .5}
813 | - name: spritesheet-main_85
814 | rect:
815 | serializedVersion: 2
816 | x: 80
817 | y: 160
818 | width: 16
819 | height: 16
820 | alignment: 0
821 | pivot: {x: .5, y: .5}
822 | - name: spritesheet-main_86
823 | rect:
824 | serializedVersion: 2
825 | x: 96
826 | y: 160
827 | width: 16
828 | height: 16
829 | alignment: 0
830 | pivot: {x: .5, y: .5}
831 | - name: spritesheet-main_87
832 | rect:
833 | serializedVersion: 2
834 | x: 112
835 | y: 160
836 | width: 16
837 | height: 16
838 | alignment: 0
839 | pivot: {x: .5, y: .5}
840 | - name: spritesheet-main_88
841 | rect:
842 | serializedVersion: 2
843 | x: 128
844 | y: 160
845 | width: 16
846 | height: 16
847 | alignment: 0
848 | pivot: {x: .5, y: .5}
849 | - name: spritesheet-main_89
850 | rect:
851 | serializedVersion: 2
852 | x: 144
853 | y: 160
854 | width: 16
855 | height: 16
856 | alignment: 0
857 | pivot: {x: .5, y: .5}
858 | - name: spritesheet-main_90
859 | rect:
860 | serializedVersion: 2
861 | x: 160
862 | y: 160
863 | width: 16
864 | height: 16
865 | alignment: 0
866 | pivot: {x: .5, y: .5}
867 | - name: spritesheet-main_91
868 | rect:
869 | serializedVersion: 2
870 | x: 176
871 | y: 160
872 | width: 16
873 | height: 16
874 | alignment: 0
875 | pivot: {x: .5, y: .5}
876 | - name: spritesheet-main_92
877 | rect:
878 | serializedVersion: 2
879 | x: 192
880 | y: 160
881 | width: 16
882 | height: 16
883 | alignment: 0
884 | pivot: {x: .5, y: .5}
885 | - name: spritesheet-main_93
886 | rect:
887 | serializedVersion: 2
888 | x: 208
889 | y: 160
890 | width: 16
891 | height: 16
892 | alignment: 0
893 | pivot: {x: .5, y: .5}
894 | - name: spritesheet-main_94
895 | rect:
896 | serializedVersion: 2
897 | x: 224
898 | y: 160
899 | width: 16
900 | height: 16
901 | alignment: 0
902 | pivot: {x: .5, y: .5}
903 | - name: spritesheet-main_95
904 | rect:
905 | serializedVersion: 2
906 | x: 240
907 | y: 160
908 | width: 16
909 | height: 16
910 | alignment: 0
911 | pivot: {x: .5, y: .5}
912 | - name: spritesheet-main_96
913 | rect:
914 | serializedVersion: 2
915 | x: 0
916 | y: 144
917 | width: 16
918 | height: 16
919 | alignment: 0
920 | pivot: {x: .5, y: .5}
921 | - name: spritesheet-main_97
922 | rect:
923 | serializedVersion: 2
924 | x: 16
925 | y: 144
926 | width: 16
927 | height: 16
928 | alignment: 0
929 | pivot: {x: .5, y: .5}
930 | - name: spritesheet-main_98
931 | rect:
932 | serializedVersion: 2
933 | x: 32
934 | y: 144
935 | width: 16
936 | height: 16
937 | alignment: 0
938 | pivot: {x: .5, y: .5}
939 | - name: spritesheet-main_99
940 | rect:
941 | serializedVersion: 2
942 | x: 48
943 | y: 144
944 | width: 16
945 | height: 16
946 | alignment: 0
947 | pivot: {x: .5, y: .5}
948 | - name: spritesheet-main_100
949 | rect:
950 | serializedVersion: 2
951 | x: 64
952 | y: 144
953 | width: 16
954 | height: 16
955 | alignment: 0
956 | pivot: {x: .5, y: .5}
957 | - name: spritesheet-main_101
958 | rect:
959 | serializedVersion: 2
960 | x: 80
961 | y: 144
962 | width: 16
963 | height: 16
964 | alignment: 0
965 | pivot: {x: .5, y: .5}
966 | - name: spritesheet-main_102
967 | rect:
968 | serializedVersion: 2
969 | x: 96
970 | y: 144
971 | width: 16
972 | height: 16
973 | alignment: 0
974 | pivot: {x: .5, y: .5}
975 | - name: spritesheet-main_103
976 | rect:
977 | serializedVersion: 2
978 | x: 112
979 | y: 144
980 | width: 16
981 | height: 16
982 | alignment: 0
983 | pivot: {x: .5, y: .5}
984 | - name: spritesheet-main_104
985 | rect:
986 | serializedVersion: 2
987 | x: 128
988 | y: 144
989 | width: 16
990 | height: 16
991 | alignment: 0
992 | pivot: {x: .5, y: .5}
993 | - name: spritesheet-main_105
994 | rect:
995 | serializedVersion: 2
996 | x: 144
997 | y: 144
998 | width: 16
999 | height: 16
1000 | alignment: 0
1001 | pivot: {x: .5, y: .5}
1002 | - name: spritesheet-main_106
1003 | rect:
1004 | serializedVersion: 2
1005 | x: 160
1006 | y: 144
1007 | width: 16
1008 | height: 16
1009 | alignment: 0
1010 | pivot: {x: .5, y: .5}
1011 | - name: spritesheet-main_107
1012 | rect:
1013 | serializedVersion: 2
1014 | x: 176
1015 | y: 144
1016 | width: 16
1017 | height: 16
1018 | alignment: 0
1019 | pivot: {x: .5, y: .5}
1020 | - name: spritesheet-main_108
1021 | rect:
1022 | serializedVersion: 2
1023 | x: 192
1024 | y: 144
1025 | width: 16
1026 | height: 16
1027 | alignment: 0
1028 | pivot: {x: .5, y: .5}
1029 | - name: spritesheet-main_109
1030 | rect:
1031 | serializedVersion: 2
1032 | x: 208
1033 | y: 144
1034 | width: 16
1035 | height: 16
1036 | alignment: 0
1037 | pivot: {x: .5, y: .5}
1038 | - name: spritesheet-main_110
1039 | rect:
1040 | serializedVersion: 2
1041 | x: 224
1042 | y: 144
1043 | width: 16
1044 | height: 16
1045 | alignment: 0
1046 | pivot: {x: .5, y: .5}
1047 | - name: spritesheet-main_111
1048 | rect:
1049 | serializedVersion: 2
1050 | x: 240
1051 | y: 144
1052 | width: 16
1053 | height: 16
1054 | alignment: 0
1055 | pivot: {x: .5, y: .5}
1056 | - name: spritesheet-main_112
1057 | rect:
1058 | serializedVersion: 2
1059 | x: 0
1060 | y: 128
1061 | width: 16
1062 | height: 16
1063 | alignment: 0
1064 | pivot: {x: .5, y: .5}
1065 | - name: spritesheet-main_113
1066 | rect:
1067 | serializedVersion: 2
1068 | x: 16
1069 | y: 128
1070 | width: 16
1071 | height: 16
1072 | alignment: 0
1073 | pivot: {x: .5, y: .5}
1074 | - name: spritesheet-main_114
1075 | rect:
1076 | serializedVersion: 2
1077 | x: 32
1078 | y: 128
1079 | width: 16
1080 | height: 16
1081 | alignment: 0
1082 | pivot: {x: .5, y: .5}
1083 | - name: spritesheet-main_115
1084 | rect:
1085 | serializedVersion: 2
1086 | x: 48
1087 | y: 128
1088 | width: 16
1089 | height: 16
1090 | alignment: 0
1091 | pivot: {x: .5, y: .5}
1092 | - name: spritesheet-main_116
1093 | rect:
1094 | serializedVersion: 2
1095 | x: 64
1096 | y: 128
1097 | width: 16
1098 | height: 16
1099 | alignment: 0
1100 | pivot: {x: .5, y: .5}
1101 | - name: spritesheet-main_117
1102 | rect:
1103 | serializedVersion: 2
1104 | x: 80
1105 | y: 128
1106 | width: 16
1107 | height: 16
1108 | alignment: 0
1109 | pivot: {x: .5, y: .5}
1110 | - name: spritesheet-main_118
1111 | rect:
1112 | serializedVersion: 2
1113 | x: 96
1114 | y: 128
1115 | width: 16
1116 | height: 16
1117 | alignment: 0
1118 | pivot: {x: .5, y: .5}
1119 | - name: spritesheet-main_119
1120 | rect:
1121 | serializedVersion: 2
1122 | x: 112
1123 | y: 128
1124 | width: 16
1125 | height: 16
1126 | alignment: 0
1127 | pivot: {x: .5, y: .5}
1128 | - name: spritesheet-main_120
1129 | rect:
1130 | serializedVersion: 2
1131 | x: 128
1132 | y: 128
1133 | width: 16
1134 | height: 16
1135 | alignment: 0
1136 | pivot: {x: .5, y: .5}
1137 | - name: spritesheet-main_121
1138 | rect:
1139 | serializedVersion: 2
1140 | x: 144
1141 | y: 128
1142 | width: 16
1143 | height: 16
1144 | alignment: 0
1145 | pivot: {x: .5, y: .5}
1146 | - name: spritesheet-main_122
1147 | rect:
1148 | serializedVersion: 2
1149 | x: 160
1150 | y: 128
1151 | width: 16
1152 | height: 16
1153 | alignment: 0
1154 | pivot: {x: .5, y: .5}
1155 | - name: spritesheet-main_123
1156 | rect:
1157 | serializedVersion: 2
1158 | x: 176
1159 | y: 128
1160 | width: 16
1161 | height: 16
1162 | alignment: 0
1163 | pivot: {x: .5, y: .5}
1164 | - name: spritesheet-main_124
1165 | rect:
1166 | serializedVersion: 2
1167 | x: 192
1168 | y: 128
1169 | width: 16
1170 | height: 16
1171 | alignment: 0
1172 | pivot: {x: .5, y: .5}
1173 | - name: spritesheet-main_125
1174 | rect:
1175 | serializedVersion: 2
1176 | x: 208
1177 | y: 128
1178 | width: 16
1179 | height: 16
1180 | alignment: 0
1181 | pivot: {x: .5, y: .5}
1182 | - name: spritesheet-main_126
1183 | rect:
1184 | serializedVersion: 2
1185 | x: 224
1186 | y: 128
1187 | width: 16
1188 | height: 16
1189 | alignment: 0
1190 | pivot: {x: .5, y: .5}
1191 | - name: spritesheet-main_127
1192 | rect:
1193 | serializedVersion: 2
1194 | x: 240
1195 | y: 128
1196 | width: 16
1197 | height: 16
1198 | alignment: 0
1199 | pivot: {x: .5, y: .5}
1200 | - name: spritesheet-main_128
1201 | rect:
1202 | serializedVersion: 2
1203 | x: 0
1204 | y: 112
1205 | width: 16
1206 | height: 16
1207 | alignment: 0
1208 | pivot: {x: .5, y: .5}
1209 | - name: spritesheet-main_129
1210 | rect:
1211 | serializedVersion: 2
1212 | x: 16
1213 | y: 112
1214 | width: 16
1215 | height: 16
1216 | alignment: 0
1217 | pivot: {x: .5, y: .5}
1218 | - name: spritesheet-main_130
1219 | rect:
1220 | serializedVersion: 2
1221 | x: 32
1222 | y: 112
1223 | width: 16
1224 | height: 16
1225 | alignment: 0
1226 | pivot: {x: .5, y: .5}
1227 | - name: spritesheet-main_131
1228 | rect:
1229 | serializedVersion: 2
1230 | x: 48
1231 | y: 112
1232 | width: 16
1233 | height: 16
1234 | alignment: 0
1235 | pivot: {x: .5, y: .5}
1236 | - name: spritesheet-main_132
1237 | rect:
1238 | serializedVersion: 2
1239 | x: 64
1240 | y: 112
1241 | width: 16
1242 | height: 16
1243 | alignment: 0
1244 | pivot: {x: .5, y: .5}
1245 | - name: spritesheet-main_133
1246 | rect:
1247 | serializedVersion: 2
1248 | x: 80
1249 | y: 112
1250 | width: 16
1251 | height: 16
1252 | alignment: 0
1253 | pivot: {x: .5, y: .5}
1254 | - name: spritesheet-main_134
1255 | rect:
1256 | serializedVersion: 2
1257 | x: 96
1258 | y: 112
1259 | width: 16
1260 | height: 16
1261 | alignment: 0
1262 | pivot: {x: .5, y: .5}
1263 | - name: spritesheet-main_135
1264 | rect:
1265 | serializedVersion: 2
1266 | x: 112
1267 | y: 112
1268 | width: 16
1269 | height: 16
1270 | alignment: 0
1271 | pivot: {x: .5, y: .5}
1272 | - name: spritesheet-main_136
1273 | rect:
1274 | serializedVersion: 2
1275 | x: 128
1276 | y: 112
1277 | width: 16
1278 | height: 16
1279 | alignment: 0
1280 | pivot: {x: .5, y: .5}
1281 | - name: spritesheet-main_137
1282 | rect:
1283 | serializedVersion: 2
1284 | x: 144
1285 | y: 112
1286 | width: 16
1287 | height: 16
1288 | alignment: 0
1289 | pivot: {x: .5, y: .5}
1290 | - name: spritesheet-main_138
1291 | rect:
1292 | serializedVersion: 2
1293 | x: 160
1294 | y: 112
1295 | width: 16
1296 | height: 16
1297 | alignment: 0
1298 | pivot: {x: .5, y: .5}
1299 | - name: spritesheet-main_139
1300 | rect:
1301 | serializedVersion: 2
1302 | x: 176
1303 | y: 112
1304 | width: 16
1305 | height: 16
1306 | alignment: 0
1307 | pivot: {x: .5, y: .5}
1308 | - name: spritesheet-main_140
1309 | rect:
1310 | serializedVersion: 2
1311 | x: 192
1312 | y: 112
1313 | width: 16
1314 | height: 16
1315 | alignment: 0
1316 | pivot: {x: .5, y: .5}
1317 | - name: spritesheet-main_141
1318 | rect:
1319 | serializedVersion: 2
1320 | x: 208
1321 | y: 112
1322 | width: 16
1323 | height: 16
1324 | alignment: 0
1325 | pivot: {x: .5, y: .5}
1326 | - name: spritesheet-main_142
1327 | rect:
1328 | serializedVersion: 2
1329 | x: 224
1330 | y: 112
1331 | width: 16
1332 | height: 16
1333 | alignment: 0
1334 | pivot: {x: .5, y: .5}
1335 | - name: spritesheet-main_143
1336 | rect:
1337 | serializedVersion: 2
1338 | x: 240
1339 | y: 112
1340 | width: 16
1341 | height: 16
1342 | alignment: 0
1343 | pivot: {x: .5, y: .5}
1344 | - name: spritesheet-main_144
1345 | rect:
1346 | serializedVersion: 2
1347 | x: 0
1348 | y: 96
1349 | width: 16
1350 | height: 16
1351 | alignment: 0
1352 | pivot: {x: .5, y: .5}
1353 | - name: spritesheet-main_145
1354 | rect:
1355 | serializedVersion: 2
1356 | x: 16
1357 | y: 96
1358 | width: 16
1359 | height: 16
1360 | alignment: 0
1361 | pivot: {x: .5, y: .5}
1362 | - name: spritesheet-main_146
1363 | rect:
1364 | serializedVersion: 2
1365 | x: 32
1366 | y: 96
1367 | width: 16
1368 | height: 16
1369 | alignment: 0
1370 | pivot: {x: .5, y: .5}
1371 | - name: spritesheet-main_147
1372 | rect:
1373 | serializedVersion: 2
1374 | x: 48
1375 | y: 96
1376 | width: 16
1377 | height: 16
1378 | alignment: 0
1379 | pivot: {x: .5, y: .5}
1380 | - name: spritesheet-main_148
1381 | rect:
1382 | serializedVersion: 2
1383 | x: 64
1384 | y: 96
1385 | width: 16
1386 | height: 16
1387 | alignment: 0
1388 | pivot: {x: .5, y: .5}
1389 | - name: spritesheet-main_149
1390 | rect:
1391 | serializedVersion: 2
1392 | x: 80
1393 | y: 96
1394 | width: 16
1395 | height: 16
1396 | alignment: 0
1397 | pivot: {x: .5, y: .5}
1398 | - name: spritesheet-main_150
1399 | rect:
1400 | serializedVersion: 2
1401 | x: 96
1402 | y: 96
1403 | width: 16
1404 | height: 16
1405 | alignment: 0
1406 | pivot: {x: .5, y: .5}
1407 | - name: spritesheet-main_151
1408 | rect:
1409 | serializedVersion: 2
1410 | x: 112
1411 | y: 96
1412 | width: 16
1413 | height: 16
1414 | alignment: 0
1415 | pivot: {x: .5, y: .5}
1416 | - name: spritesheet-main_152
1417 | rect:
1418 | serializedVersion: 2
1419 | x: 128
1420 | y: 96
1421 | width: 16
1422 | height: 16
1423 | alignment: 0
1424 | pivot: {x: .5, y: .5}
1425 | - name: spritesheet-main_153
1426 | rect:
1427 | serializedVersion: 2
1428 | x: 144
1429 | y: 96
1430 | width: 16
1431 | height: 16
1432 | alignment: 0
1433 | pivot: {x: .5, y: .5}
1434 | - name: spritesheet-main_154
1435 | rect:
1436 | serializedVersion: 2
1437 | x: 160
1438 | y: 96
1439 | width: 16
1440 | height: 16
1441 | alignment: 0
1442 | pivot: {x: .5, y: .5}
1443 | - name: spritesheet-main_155
1444 | rect:
1445 | serializedVersion: 2
1446 | x: 176
1447 | y: 96
1448 | width: 16
1449 | height: 16
1450 | alignment: 0
1451 | pivot: {x: .5, y: .5}
1452 | - name: spritesheet-main_156
1453 | rect:
1454 | serializedVersion: 2
1455 | x: 192
1456 | y: 96
1457 | width: 16
1458 | height: 16
1459 | alignment: 0
1460 | pivot: {x: .5, y: .5}
1461 | - name: spritesheet-main_157
1462 | rect:
1463 | serializedVersion: 2
1464 | x: 208
1465 | y: 96
1466 | width: 16
1467 | height: 16
1468 | alignment: 0
1469 | pivot: {x: .5, y: .5}
1470 | - name: spritesheet-main_158
1471 | rect:
1472 | serializedVersion: 2
1473 | x: 224
1474 | y: 96
1475 | width: 16
1476 | height: 16
1477 | alignment: 0
1478 | pivot: {x: .5, y: .5}
1479 | - name: spritesheet-main_159
1480 | rect:
1481 | serializedVersion: 2
1482 | x: 240
1483 | y: 96
1484 | width: 16
1485 | height: 16
1486 | alignment: 0
1487 | pivot: {x: .5, y: .5}
1488 | - name: spritesheet-main_162
1489 | rect:
1490 | serializedVersion: 2
1491 | x: 32
1492 | y: 80
1493 | width: 16
1494 | height: 16
1495 | alignment: 0
1496 | pivot: {x: .5, y: .5}
1497 | - name: spritesheet-main_163
1498 | rect:
1499 | serializedVersion: 2
1500 | x: 48
1501 | y: 80
1502 | width: 16
1503 | height: 16
1504 | alignment: 0
1505 | pivot: {x: .5, y: .5}
1506 | - name: spritesheet-main_164
1507 | rect:
1508 | serializedVersion: 2
1509 | x: 64
1510 | y: 80
1511 | width: 16
1512 | height: 16
1513 | alignment: 0
1514 | pivot: {x: .5, y: .5}
1515 | - name: spritesheet-main_165
1516 | rect:
1517 | serializedVersion: 2
1518 | x: 80
1519 | y: 80
1520 | width: 16
1521 | height: 16
1522 | alignment: 0
1523 | pivot: {x: .5, y: .5}
1524 | - name: spritesheet-main_166
1525 | rect:
1526 | serializedVersion: 2
1527 | x: 96
1528 | y: 80
1529 | width: 16
1530 | height: 16
1531 | alignment: 0
1532 | pivot: {x: .5, y: .5}
1533 | - name: spritesheet-main_167
1534 | rect:
1535 | serializedVersion: 2
1536 | x: 112
1537 | y: 80
1538 | width: 16
1539 | height: 16
1540 | alignment: 0
1541 | pivot: {x: .5, y: .5}
1542 | - name: spritesheet-main_168
1543 | rect:
1544 | serializedVersion: 2
1545 | x: 128
1546 | y: 80
1547 | width: 16
1548 | height: 16
1549 | alignment: 0
1550 | pivot: {x: .5, y: .5}
1551 | - name: spritesheet-main_169
1552 | rect:
1553 | serializedVersion: 2
1554 | x: 144
1555 | y: 80
1556 | width: 16
1557 | height: 16
1558 | alignment: 0
1559 | pivot: {x: .5, y: .5}
1560 | - name: spritesheet-main_170
1561 | rect:
1562 | serializedVersion: 2
1563 | x: 160
1564 | y: 80
1565 | width: 16
1566 | height: 16
1567 | alignment: 0
1568 | pivot: {x: .5, y: .5}
1569 | - name: spritesheet-main_171
1570 | rect:
1571 | serializedVersion: 2
1572 | x: 176
1573 | y: 80
1574 | width: 16
1575 | height: 16
1576 | alignment: 0
1577 | pivot: {x: .5, y: .5}
1578 | - name: spritesheet-main_172
1579 | rect:
1580 | serializedVersion: 2
1581 | x: 192
1582 | y: 80
1583 | width: 16
1584 | height: 16
1585 | alignment: 0
1586 | pivot: {x: .5, y: .5}
1587 | - name: spritesheet-main_173
1588 | rect:
1589 | serializedVersion: 2
1590 | x: 208
1591 | y: 80
1592 | width: 16
1593 | height: 16
1594 | alignment: 0
1595 | pivot: {x: .5, y: .5}
1596 | - name: spritesheet-main_174
1597 | rect:
1598 | serializedVersion: 2
1599 | x: 224
1600 | y: 80
1601 | width: 16
1602 | height: 16
1603 | alignment: 0
1604 | pivot: {x: .5, y: .5}
1605 | - name: spritesheet-main_175
1606 | rect:
1607 | serializedVersion: 2
1608 | x: 240
1609 | y: 80
1610 | width: 16
1611 | height: 16
1612 | alignment: 0
1613 | pivot: {x: .5, y: .5}
1614 | - name: spritesheet-main_176
1615 | rect:
1616 | serializedVersion: 2
1617 | x: 0
1618 | y: 64
1619 | width: 32
1620 | height: 32
1621 | alignment: 0
1622 | pivot: {x: .5, y: .5}
1623 | - name: spritesheet-main_178
1624 | rect:
1625 | serializedVersion: 2
1626 | x: 32
1627 | y: 64
1628 | width: 16
1629 | height: 16
1630 | alignment: 0
1631 | pivot: {x: .5, y: .5}
1632 | - name: spritesheet-main_179
1633 | rect:
1634 | serializedVersion: 2
1635 | x: 48
1636 | y: 64
1637 | width: 16
1638 | height: 16
1639 | alignment: 0
1640 | pivot: {x: .5, y: .5}
1641 | - name: spritesheet-main_180
1642 | rect:
1643 | serializedVersion: 2
1644 | x: 64
1645 | y: 64
1646 | width: 16
1647 | height: 16
1648 | alignment: 0
1649 | pivot: {x: .5, y: .5}
1650 | - name: spritesheet-main_181
1651 | rect:
1652 | serializedVersion: 2
1653 | x: 80
1654 | y: 64
1655 | width: 16
1656 | height: 16
1657 | alignment: 0
1658 | pivot: {x: .5, y: .5}
1659 | - name: spritesheet-main_182
1660 | rect:
1661 | serializedVersion: 2
1662 | x: 96
1663 | y: 64
1664 | width: 16
1665 | height: 16
1666 | alignment: 0
1667 | pivot: {x: .5, y: .5}
1668 | - name: spritesheet-main_183
1669 | rect:
1670 | serializedVersion: 2
1671 | x: 112
1672 | y: 64
1673 | width: 16
1674 | height: 16
1675 | alignment: 0
1676 | pivot: {x: .5, y: .5}
1677 | - name: spritesheet-main_184
1678 | rect:
1679 | serializedVersion: 2
1680 | x: 128
1681 | y: 64
1682 | width: 16
1683 | height: 16
1684 | alignment: 0
1685 | pivot: {x: .5, y: .5}
1686 | - name: spritesheet-main_185
1687 | rect:
1688 | serializedVersion: 2
1689 | x: 144
1690 | y: 64
1691 | width: 16
1692 | height: 16
1693 | alignment: 0
1694 | pivot: {x: .5, y: .5}
1695 | - name: spritesheet-main_186
1696 | rect:
1697 | serializedVersion: 2
1698 | x: 160
1699 | y: 64
1700 | width: 16
1701 | height: 16
1702 | alignment: 0
1703 | pivot: {x: .5, y: .5}
1704 | - name: spritesheet-main_187
1705 | rect:
1706 | serializedVersion: 2
1707 | x: 176
1708 | y: 64
1709 | width: 16
1710 | height: 16
1711 | alignment: 0
1712 | pivot: {x: .5, y: .5}
1713 | - name: spritesheet-main_188
1714 | rect:
1715 | serializedVersion: 2
1716 | x: 192
1717 | y: 64
1718 | width: 16
1719 | height: 16
1720 | alignment: 0
1721 | pivot: {x: .5, y: .5}
1722 | - name: spritesheet-main_194
1723 | rect:
1724 | serializedVersion: 2
1725 | x: 32
1726 | y: 48
1727 | width: 16
1728 | height: 16
1729 | alignment: 0
1730 | pivot: {x: .5, y: .5}
1731 | - name: spritesheet-main_195
1732 | rect:
1733 | serializedVersion: 2
1734 | x: 48
1735 | y: 48
1736 | width: 16
1737 | height: 16
1738 | alignment: 0
1739 | pivot: {x: .5, y: .5}
1740 | - name: spritesheet-main_196
1741 | rect:
1742 | serializedVersion: 2
1743 | x: 64
1744 | y: 48
1745 | width: 16
1746 | height: 16
1747 | alignment: 0
1748 | pivot: {x: .5, y: .5}
1749 | - name: spritesheet-main_197
1750 | rect:
1751 | serializedVersion: 2
1752 | x: 80
1753 | y: 48
1754 | width: 16
1755 | height: 16
1756 | alignment: 0
1757 | pivot: {x: .5, y: .5}
1758 | - name: spritesheet-main_198
1759 | rect:
1760 | serializedVersion: 2
1761 | x: 96
1762 | y: 48
1763 | width: 16
1764 | height: 16
1765 | alignment: 0
1766 | pivot: {x: .5, y: .5}
1767 | - name: spritesheet-main_199
1768 | rect:
1769 | serializedVersion: 2
1770 | x: 112
1771 | y: 48
1772 | width: 16
1773 | height: 16
1774 | alignment: 0
1775 | pivot: {x: .5, y: .5}
1776 | - name: spritesheet-main_200
1777 | rect:
1778 | serializedVersion: 2
1779 | x: 128
1780 | y: 48
1781 | width: 16
1782 | height: 16
1783 | alignment: 0
1784 | pivot: {x: .5, y: .5}
1785 | - name: spritesheet-main_201
1786 | rect:
1787 | serializedVersion: 2
1788 | x: 144
1789 | y: 48
1790 | width: 16
1791 | height: 16
1792 | alignment: 0
1793 | pivot: {x: .5, y: .5}
1794 | - name: spritesheet-main_202
1795 | rect:
1796 | serializedVersion: 2
1797 | x: 160
1798 | y: 48
1799 | width: 16
1800 | height: 16
1801 | alignment: 0
1802 | pivot: {x: .5, y: .5}
1803 | - name: spritesheet-main_203
1804 | rect:
1805 | serializedVersion: 2
1806 | x: 176
1807 | y: 48
1808 | width: 16
1809 | height: 16
1810 | alignment: 0
1811 | pivot: {x: .5, y: .5}
1812 | - name: spritesheet-main_204
1813 | rect:
1814 | serializedVersion: 2
1815 | x: 192
1816 | y: 48
1817 | width: 16
1818 | height: 16
1819 | alignment: 0
1820 | pivot: {x: .5, y: .5}
1821 | - name: spritesheet-main_205
1822 | rect:
1823 | serializedVersion: 2
1824 | x: 208
1825 | y: 48
1826 | width: 48
1827 | height: 32
1828 | alignment: 0
1829 | pivot: {x: .5, y: .5}
1830 | - name: spritesheet-main_208
1831 | rect:
1832 | serializedVersion: 2
1833 | x: 0
1834 | y: 32
1835 | width: 32
1836 | height: 32
1837 | alignment: 0
1838 | pivot: {x: .5, y: .5}
1839 | - name: spritesheet-main_210
1840 | rect:
1841 | serializedVersion: 2
1842 | x: 32
1843 | y: 32
1844 | width: 16
1845 | height: 16
1846 | alignment: 0
1847 | pivot: {x: .5, y: .5}
1848 | - name: spritesheet-main_211
1849 | rect:
1850 | serializedVersion: 2
1851 | x: 48
1852 | y: 32
1853 | width: 16
1854 | height: 16
1855 | alignment: 0
1856 | pivot: {x: .5, y: .5}
1857 | - name: spritesheet-main_212
1858 | rect:
1859 | serializedVersion: 2
1860 | x: 64
1861 | y: 32
1862 | width: 16
1863 | height: 16
1864 | alignment: 0
1865 | pivot: {x: .5, y: .5}
1866 | - name: spritesheet-main_213
1867 | rect:
1868 | serializedVersion: 2
1869 | x: 80
1870 | y: 32
1871 | width: 16
1872 | height: 16
1873 | alignment: 0
1874 | pivot: {x: .5, y: .5}
1875 | - name: spritesheet-main_214
1876 | rect:
1877 | serializedVersion: 2
1878 | x: 96
1879 | y: 32
1880 | width: 16
1881 | height: 16
1882 | alignment: 0
1883 | pivot: {x: .5, y: .5}
1884 | - name: spritesheet-main_215
1885 | rect:
1886 | serializedVersion: 2
1887 | x: 112
1888 | y: 32
1889 | width: 16
1890 | height: 16
1891 | alignment: 0
1892 | pivot: {x: .5, y: .5}
1893 | - name: spritesheet-main_216
1894 | rect:
1895 | serializedVersion: 2
1896 | x: 128
1897 | y: 32
1898 | width: 16
1899 | height: 16
1900 | alignment: 0
1901 | pivot: {x: .5, y: .5}
1902 | - name: spritesheet-main_217
1903 | rect:
1904 | serializedVersion: 2
1905 | x: 144
1906 | y: 32
1907 | width: 16
1908 | height: 16
1909 | alignment: 0
1910 | pivot: {x: .5, y: .5}
1911 | - name: spritesheet-main_218
1912 | rect:
1913 | serializedVersion: 2
1914 | x: 160
1915 | y: 32
1916 | width: 16
1917 | height: 16
1918 | alignment: 0
1919 | pivot: {x: .5, y: .5}
1920 | - name: spritesheet-main_219
1921 | rect:
1922 | serializedVersion: 2
1923 | x: 176
1924 | y: 32
1925 | width: 16
1926 | height: 16
1927 | alignment: 0
1928 | pivot: {x: .5, y: .5}
1929 | - name: spritesheet-main_220
1930 | rect:
1931 | serializedVersion: 2
1932 | x: 192
1933 | y: 32
1934 | width: 16
1935 | height: 16
1936 | alignment: 0
1937 | pivot: {x: .5, y: .5}
1938 | - name: spritesheet-main_232
1939 | rect:
1940 | serializedVersion: 2
1941 | x: 128
1942 | y: 16
1943 | width: 16
1944 | height: 16
1945 | alignment: 0
1946 | pivot: {x: .5, y: .5}
1947 | - name: spritesheet-main_233
1948 | rect:
1949 | serializedVersion: 2
1950 | x: 144
1951 | y: 16
1952 | width: 16
1953 | height: 16
1954 | alignment: 0
1955 | pivot: {x: .5, y: .5}
1956 | - name: spritesheet-main_234
1957 | rect:
1958 | serializedVersion: 2
1959 | x: 160
1960 | y: 16
1961 | width: 16
1962 | height: 16
1963 | alignment: 0
1964 | pivot: {x: .5, y: .5}
1965 | - name: spritesheet-main_235
1966 | rect:
1967 | serializedVersion: 2
1968 | x: 176
1969 | y: 16
1970 | width: 16
1971 | height: 16
1972 | alignment: 0
1973 | pivot: {x: .5, y: .5}
1974 | - name: spritesheet-main_236
1975 | rect:
1976 | serializedVersion: 2
1977 | x: 192
1978 | y: 16
1979 | width: 16
1980 | height: 16
1981 | alignment: 0
1982 | pivot: {x: .5, y: .5}
1983 | - name: spritesheet-main_240
1984 | rect:
1985 | serializedVersion: 2
1986 | x: 0
1987 | y: 0
1988 | width: 32
1989 | height: 32
1990 | alignment: 0
1991 | pivot: {x: .5, y: .5}
1992 | - name: spritesheet-main_242
1993 | rect:
1994 | serializedVersion: 2
1995 | x: 32
1996 | y: 0
1997 | width: 32
1998 | height: 32
1999 | alignment: 0
2000 | pivot: {x: .5, y: .5}
2001 | - name: spritesheet-main_244
2002 | rect:
2003 | serializedVersion: 2
2004 | x: 64
2005 | y: 0
2006 | width: 32
2007 | height: 32
2008 | alignment: 0
2009 | pivot: {x: .5, y: .5}
2010 | - name: spritesheet-main_246
2011 | rect:
2012 | serializedVersion: 2
2013 | x: 96
2014 | y: 0
2015 | width: 32
2016 | height: 32
2017 | alignment: 0
2018 | pivot: {x: .5, y: .5}
2019 | - name: spritesheet-main_248
2020 | rect:
2021 | serializedVersion: 2
2022 | x: 128
2023 | y: 0
2024 | width: 16
2025 | height: 16
2026 | alignment: 0
2027 | pivot: {x: .5, y: .5}
2028 | - name: spritesheet-main_249
2029 | rect:
2030 | serializedVersion: 2
2031 | x: 144
2032 | y: 0
2033 | width: 16
2034 | height: 16
2035 | alignment: 0
2036 | pivot: {x: .5, y: .5}
2037 | - name: spritesheet-main_250
2038 | rect:
2039 | serializedVersion: 2
2040 | x: 160
2041 | y: 0
2042 | width: 16
2043 | height: 16
2044 | alignment: 0
2045 | pivot: {x: .5, y: .5}
2046 | - name: spritesheet-main_251
2047 | rect:
2048 | serializedVersion: 2
2049 | x: 176
2050 | y: 0
2051 | width: 16
2052 | height: 16
2053 | alignment: 0
2054 | pivot: {x: .5, y: .5}
2055 | - name: spritesheet-main_252
2056 | rect:
2057 | serializedVersion: 2
2058 | x: 192
2059 | y: 0
2060 | width: 16
2061 | height: 16
2062 | alignment: 0
2063 | pivot: {x: .5, y: .5}
2064 | - name: spritesheet-main_253
2065 | rect:
2066 | serializedVersion: 2
2067 | x: 208
2068 | y: 0
2069 | width: 48
2070 | height: 48
2071 | alignment: 0
2072 | pivot: {x: .5, y: .5}
2073 | spritePackingTag:
2074 | userData:
2075 |
--------------------------------------------------------------------------------
/Game/Game-csharp.sln:
--------------------------------------------------------------------------------
1 | Microsoft Visual Studio Solution File, Format Version 11.00
2 | # Visual Studio 2008
3 |
4 | Project("{63D72051-E901-C069-F8AA-1B32AA0C43BB}") = "Game", "Assembly-CSharp-vs.csproj", "{DDFBC18F-9396-3137-9CFE-DEB2CDB74636}"
5 | EndProject
6 | Global
7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
8 | Debug|Any CPU = Debug|Any CPU
9 | Release|Any CPU = Release|Any CPU
10 | EndGlobalSection
11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
12 | {DDFBC18F-9396-3137-9CFE-DEB2CDB74636}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
13 | {DDFBC18F-9396-3137-9CFE-DEB2CDB74636}.Debug|Any CPU.Build.0 = Debug|Any CPU
14 | {DDFBC18F-9396-3137-9CFE-DEB2CDB74636}.Release|Any CPU.ActiveCfg = Release|Any CPU
15 | {DDFBC18F-9396-3137-9CFE-DEB2CDB74636}.Release|Any CPU.Build.0 = Release|Any CPU
16 | EndGlobalSection
17 | GlobalSection(SolutionProperties) = preSolution
18 | HideSolutionNode = FALSE
19 | EndGlobalSection
20 | GlobalSection(MonoDevelopProperties) = preSolution
21 | StartupItem = Assembly-CSharp.csproj
22 | Policies = $0
23 | $0.TextStylePolicy = $1
24 | $1.inheritsSet = null
25 | $1.scope = text/x-csharp
26 | $0.CSharpFormattingPolicy = $2
27 | $2.inheritsSet = Mono
28 | $2.inheritsScope = text/x-csharp
29 | $2.scope = text/x-csharp
30 | $0.TextStylePolicy = $3
31 | $3.FileWidth = 120
32 | $3.TabWidth = 4
33 | $3.EolMarker = Unix
34 | $3.inheritsSet = Mono
35 | $3.inheritsScope = text/plain
36 | $3.scope = text/plain
37 | EndGlobalSection
38 |
39 | EndGlobal
40 |
--------------------------------------------------------------------------------
/Game/Game.sln:
--------------------------------------------------------------------------------
1 | Microsoft Visual Studio Solution File, Format Version 11.00
2 | # Visual Studio 2008
3 |
4 | Project("{63D72051-E901-C069-F8AA-1B32AA0C43BB}") = "Game", "Assembly-CSharp.csproj", "{DDFBC18F-9396-3137-9CFE-DEB2CDB74636}"
5 | EndProject
6 | Global
7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
8 | Debug|Any CPU = Debug|Any CPU
9 | Release|Any CPU = Release|Any CPU
10 | EndGlobalSection
11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
12 | {DDFBC18F-9396-3137-9CFE-DEB2CDB74636}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
13 | {DDFBC18F-9396-3137-9CFE-DEB2CDB74636}.Debug|Any CPU.Build.0 = Debug|Any CPU
14 | {DDFBC18F-9396-3137-9CFE-DEB2CDB74636}.Release|Any CPU.ActiveCfg = Release|Any CPU
15 | {DDFBC18F-9396-3137-9CFE-DEB2CDB74636}.Release|Any CPU.Build.0 = Release|Any CPU
16 | EndGlobalSection
17 | GlobalSection(SolutionProperties) = preSolution
18 | HideSolutionNode = FALSE
19 | EndGlobalSection
20 | GlobalSection(MonoDevelopProperties) = preSolution
21 | StartupItem = Assembly-CSharp.csproj
22 | Policies = $0
23 | $0.TextStylePolicy = $1
24 | $1.inheritsSet = null
25 | $1.scope = text/x-csharp
26 | $0.CSharpFormattingPolicy = $2
27 | $2.inheritsSet = Mono
28 | $2.inheritsScope = text/x-csharp
29 | $2.scope = text/x-csharp
30 | $0.TextStylePolicy = $3
31 | $3.FileWidth = 120
32 | $3.TabWidth = 4
33 | $3.EolMarker = Unix
34 | $3.inheritsSet = Mono
35 | $3.inheritsScope = text/plain
36 | $3.scope = text/plain
37 | EndGlobalSection
38 |
39 | EndGlobal
40 |
--------------------------------------------------------------------------------
/Game/Game.userprefs:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/Game/ProjectSettings/AudioManager.asset:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Orangejuice724/Unity-Top-Down-2D-RPG-Tutorial/f4af21bcc01649127caf495185418aa6ab29015e/Game/ProjectSettings/AudioManager.asset
--------------------------------------------------------------------------------
/Game/ProjectSettings/DynamicsManager.asset:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Orangejuice724/Unity-Top-Down-2D-RPG-Tutorial/f4af21bcc01649127caf495185418aa6ab29015e/Game/ProjectSettings/DynamicsManager.asset
--------------------------------------------------------------------------------
/Game/ProjectSettings/EditorBuildSettings.asset:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Orangejuice724/Unity-Top-Down-2D-RPG-Tutorial/f4af21bcc01649127caf495185418aa6ab29015e/Game/ProjectSettings/EditorBuildSettings.asset
--------------------------------------------------------------------------------
/Game/ProjectSettings/EditorSettings.asset:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Orangejuice724/Unity-Top-Down-2D-RPG-Tutorial/f4af21bcc01649127caf495185418aa6ab29015e/Game/ProjectSettings/EditorSettings.asset
--------------------------------------------------------------------------------
/Game/ProjectSettings/GraphicsSettings.asset:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Orangejuice724/Unity-Top-Down-2D-RPG-Tutorial/f4af21bcc01649127caf495185418aa6ab29015e/Game/ProjectSettings/GraphicsSettings.asset
--------------------------------------------------------------------------------
/Game/ProjectSettings/InputManager.asset:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Orangejuice724/Unity-Top-Down-2D-RPG-Tutorial/f4af21bcc01649127caf495185418aa6ab29015e/Game/ProjectSettings/InputManager.asset
--------------------------------------------------------------------------------
/Game/ProjectSettings/NavMeshLayers.asset:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Orangejuice724/Unity-Top-Down-2D-RPG-Tutorial/f4af21bcc01649127caf495185418aa6ab29015e/Game/ProjectSettings/NavMeshLayers.asset
--------------------------------------------------------------------------------
/Game/ProjectSettings/NetworkManager.asset:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Orangejuice724/Unity-Top-Down-2D-RPG-Tutorial/f4af21bcc01649127caf495185418aa6ab29015e/Game/ProjectSettings/NetworkManager.asset
--------------------------------------------------------------------------------
/Game/ProjectSettings/Physics2DSettings.asset:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Orangejuice724/Unity-Top-Down-2D-RPG-Tutorial/f4af21bcc01649127caf495185418aa6ab29015e/Game/ProjectSettings/Physics2DSettings.asset
--------------------------------------------------------------------------------
/Game/ProjectSettings/ProjectSettings.asset:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Orangejuice724/Unity-Top-Down-2D-RPG-Tutorial/f4af21bcc01649127caf495185418aa6ab29015e/Game/ProjectSettings/ProjectSettings.asset
--------------------------------------------------------------------------------
/Game/ProjectSettings/QualitySettings.asset:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Orangejuice724/Unity-Top-Down-2D-RPG-Tutorial/f4af21bcc01649127caf495185418aa6ab29015e/Game/ProjectSettings/QualitySettings.asset
--------------------------------------------------------------------------------
/Game/ProjectSettings/TagManager.asset:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Orangejuice724/Unity-Top-Down-2D-RPG-Tutorial/f4af21bcc01649127caf495185418aa6ab29015e/Game/ProjectSettings/TagManager.asset
--------------------------------------------------------------------------------
/Game/ProjectSettings/TimeManager.asset:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Orangejuice724/Unity-Top-Down-2D-RPG-Tutorial/f4af21bcc01649127caf495185418aa6ab29015e/Game/ProjectSettings/TimeManager.asset
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | GNU GENERAL PUBLIC LICENSE
2 | Version 2, June 1991
3 |
4 | Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
5 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
6 | Everyone is permitted to copy and distribute verbatim copies
7 | of this license document, but changing it is not allowed.
8 |
9 | Preamble
10 |
11 | The licenses for most software are designed to take away your
12 | freedom to share and change it. By contrast, the GNU General Public
13 | License is intended to guarantee your freedom to share and change free
14 | software--to make sure the software is free for all its users. This
15 | General Public License applies to most of the Free Software
16 | Foundation's software and to any other program whose authors commit to
17 | using it. (Some other Free Software Foundation software is covered by
18 | the GNU Lesser General Public License instead.) You can apply it to
19 | your programs, too.
20 |
21 | When we speak of free software, we are referring to freedom, not
22 | price. Our General Public Licenses are designed to make sure that you
23 | have the freedom to distribute copies of free software (and charge for
24 | this service if you wish), that you receive source code or can get it
25 | if you want it, that you can change the software or use pieces of it
26 | in new free programs; and that you know you can do these things.
27 |
28 | To protect your rights, we need to make restrictions that forbid
29 | anyone to deny you these rights or to ask you to surrender the rights.
30 | These restrictions translate to certain responsibilities for you if you
31 | distribute copies of the software, or if you modify it.
32 |
33 | For example, if you distribute copies of such a program, whether
34 | gratis or for a fee, you must give the recipients all the rights that
35 | you have. You must make sure that they, too, receive or can get the
36 | source code. And you must show them these terms so they know their
37 | rights.
38 |
39 | We protect your rights with two steps: (1) copyright the software, and
40 | (2) offer you this license which gives you legal permission to copy,
41 | distribute and/or modify the software.
42 |
43 | Also, for each author's protection and ours, we want to make certain
44 | that everyone understands that there is no warranty for this free
45 | software. If the software is modified by someone else and passed on, we
46 | want its recipients to know that what they have is not the original, so
47 | that any problems introduced by others will not reflect on the original
48 | authors' reputations.
49 |
50 | Finally, any free program is threatened constantly by software
51 | patents. We wish to avoid the danger that redistributors of a free
52 | program will individually obtain patent licenses, in effect making the
53 | program proprietary. To prevent this, we have made it clear that any
54 | patent must be licensed for everyone's free use or not licensed at all.
55 |
56 | The precise terms and conditions for copying, distribution and
57 | modification follow.
58 |
59 | GNU GENERAL PUBLIC LICENSE
60 | TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
61 |
62 | 0. This License applies to any program or other work which contains
63 | a notice placed by the copyright holder saying it may be distributed
64 | under the terms of this General Public License. The "Program", below,
65 | refers to any such program or work, and a "work based on the Program"
66 | means either the Program or any derivative work under copyright law:
67 | that is to say, a work containing the Program or a portion of it,
68 | either verbatim or with modifications and/or translated into another
69 | language. (Hereinafter, translation is included without limitation in
70 | the term "modification".) Each licensee is addressed as "you".
71 |
72 | Activities other than copying, distribution and modification are not
73 | covered by this License; they are outside its scope. The act of
74 | running the Program is not restricted, and the output from the Program
75 | is covered only if its contents constitute a work based on the
76 | Program (independent of having been made by running the Program).
77 | Whether that is true depends on what the Program does.
78 |
79 | 1. You may copy and distribute verbatim copies of the Program's
80 | source code as you receive it, in any medium, provided that you
81 | conspicuously and appropriately publish on each copy an appropriate
82 | copyright notice and disclaimer of warranty; keep intact all the
83 | notices that refer to this License and to the absence of any warranty;
84 | and give any other recipients of the Program a copy of this License
85 | along with the Program.
86 |
87 | You may charge a fee for the physical act of transferring a copy, and
88 | you may at your option offer warranty protection in exchange for a fee.
89 |
90 | 2. You may modify your copy or copies of the Program or any portion
91 | of it, thus forming a work based on the Program, and copy and
92 | distribute such modifications or work under the terms of Section 1
93 | above, provided that you also meet all of these conditions:
94 |
95 | a) You must cause the modified files to carry prominent notices
96 | stating that you changed the files and the date of any change.
97 |
98 | b) You must cause any work that you distribute or publish, that in
99 | whole or in part contains or is derived from the Program or any
100 | part thereof, to be licensed as a whole at no charge to all third
101 | parties under the terms of this License.
102 |
103 | c) If the modified program normally reads commands interactively
104 | when run, you must cause it, when started running for such
105 | interactive use in the most ordinary way, to print or display an
106 | announcement including an appropriate copyright notice and a
107 | notice that there is no warranty (or else, saying that you provide
108 | a warranty) and that users may redistribute the program under
109 | these conditions, and telling the user how to view a copy of this
110 | License. (Exception: if the Program itself is interactive but
111 | does not normally print such an announcement, your work based on
112 | the Program is not required to print an announcement.)
113 |
114 | These requirements apply to the modified work as a whole. If
115 | identifiable sections of that work are not derived from the Program,
116 | and can be reasonably considered independent and separate works in
117 | themselves, then this License, and its terms, do not apply to those
118 | sections when you distribute them as separate works. But when you
119 | distribute the same sections as part of a whole which is a work based
120 | on the Program, the distribution of the whole must be on the terms of
121 | this License, whose permissions for other licensees extend to the
122 | entire whole, and thus to each and every part regardless of who wrote it.
123 |
124 | Thus, it is not the intent of this section to claim rights or contest
125 | your rights to work written entirely by you; rather, the intent is to
126 | exercise the right to control the distribution of derivative or
127 | collective works based on the Program.
128 |
129 | In addition, mere aggregation of another work not based on the Program
130 | with the Program (or with a work based on the Program) on a volume of
131 | a storage or distribution medium does not bring the other work under
132 | the scope of this License.
133 |
134 | 3. You may copy and distribute the Program (or a work based on it,
135 | under Section 2) in object code or executable form under the terms of
136 | Sections 1 and 2 above provided that you also do one of the following:
137 |
138 | a) Accompany it with the complete corresponding machine-readable
139 | source code, which must be distributed under the terms of Sections
140 | 1 and 2 above on a medium customarily used for software interchange; or,
141 |
142 | b) Accompany it with a written offer, valid for at least three
143 | years, to give any third party, for a charge no more than your
144 | cost of physically performing source distribution, a complete
145 | machine-readable copy of the corresponding source code, to be
146 | distributed under the terms of Sections 1 and 2 above on a medium
147 | customarily used for software interchange; or,
148 |
149 | c) Accompany it with the information you received as to the offer
150 | to distribute corresponding source code. (This alternative is
151 | allowed only for noncommercial distribution and only if you
152 | received the program in object code or executable form with such
153 | an offer, in accord with Subsection b above.)
154 |
155 | The source code for a work means the preferred form of the work for
156 | making modifications to it. For an executable work, complete source
157 | code means all the source code for all modules it contains, plus any
158 | associated interface definition files, plus the scripts used to
159 | control compilation and installation of the executable. However, as a
160 | special exception, the source code distributed need not include
161 | anything that is normally distributed (in either source or binary
162 | form) with the major components (compiler, kernel, and so on) of the
163 | operating system on which the executable runs, unless that component
164 | itself accompanies the executable.
165 |
166 | If distribution of executable or object code is made by offering
167 | access to copy from a designated place, then offering equivalent
168 | access to copy the source code from the same place counts as
169 | distribution of the source code, even though third parties are not
170 | compelled to copy the source along with the object code.
171 |
172 | 4. You may not copy, modify, sublicense, or distribute the Program
173 | except as expressly provided under this License. Any attempt
174 | otherwise to copy, modify, sublicense or distribute the Program is
175 | void, and will automatically terminate your rights under this License.
176 | However, parties who have received copies, or rights, from you under
177 | this License will not have their licenses terminated so long as such
178 | parties remain in full compliance.
179 |
180 | 5. You are not required to accept this License, since you have not
181 | signed it. However, nothing else grants you permission to modify or
182 | distribute the Program or its derivative works. These actions are
183 | prohibited by law if you do not accept this License. Therefore, by
184 | modifying or distributing the Program (or any work based on the
185 | Program), you indicate your acceptance of this License to do so, and
186 | all its terms and conditions for copying, distributing or modifying
187 | the Program or works based on it.
188 |
189 | 6. Each time you redistribute the Program (or any work based on the
190 | Program), the recipient automatically receives a license from the
191 | original licensor to copy, distribute or modify the Program subject to
192 | these terms and conditions. You may not impose any further
193 | restrictions on the recipients' exercise of the rights granted herein.
194 | You are not responsible for enforcing compliance by third parties to
195 | this License.
196 |
197 | 7. If, as a consequence of a court judgment or allegation of patent
198 | infringement or for any other reason (not limited to patent issues),
199 | conditions are imposed on you (whether by court order, agreement or
200 | otherwise) that contradict the conditions of this License, they do not
201 | excuse you from the conditions of this License. If you cannot
202 | distribute so as to satisfy simultaneously your obligations under this
203 | License and any other pertinent obligations, then as a consequence you
204 | may not distribute the Program at all. For example, if a patent
205 | license would not permit royalty-free redistribution of the Program by
206 | all those who receive copies directly or indirectly through you, then
207 | the only way you could satisfy both it and this License would be to
208 | refrain entirely from distribution of the Program.
209 |
210 | If any portion of this section is held invalid or unenforceable under
211 | any particular circumstance, the balance of the section is intended to
212 | apply and the section as a whole is intended to apply in other
213 | circumstances.
214 |
215 | It is not the purpose of this section to induce you to infringe any
216 | patents or other property right claims or to contest validity of any
217 | such claims; this section has the sole purpose of protecting the
218 | integrity of the free software distribution system, which is
219 | implemented by public license practices. Many people have made
220 | generous contributions to the wide range of software distributed
221 | through that system in reliance on consistent application of that
222 | system; it is up to the author/donor to decide if he or she is willing
223 | to distribute software through any other system and a licensee cannot
224 | impose that choice.
225 |
226 | This section is intended to make thoroughly clear what is believed to
227 | be a consequence of the rest of this License.
228 |
229 | 8. If the distribution and/or use of the Program is restricted in
230 | certain countries either by patents or by copyrighted interfaces, the
231 | original copyright holder who places the Program under this License
232 | may add an explicit geographical distribution limitation excluding
233 | those countries, so that distribution is permitted only in or among
234 | countries not thus excluded. In such case, this License incorporates
235 | the limitation as if written in the body of this License.
236 |
237 | 9. The Free Software Foundation may publish revised and/or new versions
238 | of the General Public License from time to time. Such new versions will
239 | be similar in spirit to the present version, but may differ in detail to
240 | address new problems or concerns.
241 |
242 | Each version is given a distinguishing version number. If the Program
243 | specifies a version number of this License which applies to it and "any
244 | later version", you have the option of following the terms and conditions
245 | either of that version or of any later version published by the Free
246 | Software Foundation. If the Program does not specify a version number of
247 | this License, you may choose any version ever published by the Free Software
248 | Foundation.
249 |
250 | 10. If you wish to incorporate parts of the Program into other free
251 | programs whose distribution conditions are different, write to the author
252 | to ask for permission. For software which is copyrighted by the Free
253 | Software Foundation, write to the Free Software Foundation; we sometimes
254 | make exceptions for this. Our decision will be guided by the two goals
255 | of preserving the free status of all derivatives of our free software and
256 | of promoting the sharing and reuse of software generally.
257 |
258 | NO WARRANTY
259 |
260 | 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
261 | FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
262 | OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
263 | PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
264 | OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
265 | MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
266 | TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
267 | PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
268 | REPAIR OR CORRECTION.
269 |
270 | 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
271 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
272 | REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
273 | INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
274 | OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
275 | TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
276 | YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
277 | PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
278 | POSSIBILITY OF SUCH DAMAGES.
279 |
280 | END OF TERMS AND CONDITIONS
281 |
282 | How to Apply These Terms to Your New Programs
283 |
284 | If you develop a new program, and you want it to be of the greatest
285 | possible use to the public, the best way to achieve this is to make it
286 | free software which everyone can redistribute and change under these terms.
287 |
288 | To do so, attach the following notices to the program. It is safest
289 | to attach them to the start of each source file to most effectively
290 | convey the exclusion of warranty; and each file should have at least
291 | the "copyright" line and a pointer to where the full notice is found.
292 |
293 | {description}
294 | Copyright (C) {year} {fullname}
295 |
296 | This program is free software; you can redistribute it and/or modify
297 | it under the terms of the GNU General Public License as published by
298 | the Free Software Foundation; either version 2 of the License, or
299 | (at your option) any later version.
300 |
301 | This program is distributed in the hope that it will be useful,
302 | but WITHOUT ANY WARRANTY; without even the implied warranty of
303 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
304 | GNU General Public License for more details.
305 |
306 | You should have received a copy of the GNU General Public License along
307 | with this program; if not, write to the Free Software Foundation, Inc.,
308 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
309 |
310 | Also add information on how to contact you by electronic and paper mail.
311 |
312 | If the program is interactive, make it output a short notice like this
313 | when it starts in an interactive mode:
314 |
315 | Gnomovision version 69, Copyright (C) year name of author
316 | Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
317 | This is free software, and you are welcome to redistribute it
318 | under certain conditions; type `show c' for details.
319 |
320 | The hypothetical commands `show w' and `show c' should show the appropriate
321 | parts of the General Public License. Of course, the commands you use may
322 | be called something other than `show w' and `show c'; they could even be
323 | mouse-clicks or menu items--whatever suits your program.
324 |
325 | You should also get your employer (if you work as a programmer) or your
326 | school, if any, to sign a "copyright disclaimer" for the program, if
327 | necessary. Here is a sample; alter the names:
328 |
329 | Yoyodyne, Inc., hereby disclaims all copyright interest in the program
330 | `Gnomovision' (which makes passes at compilers) written by James Hacker.
331 |
332 | {signature of Ty Coon}, 1 April 1989
333 | Ty Coon, President of Vice
334 |
335 | This General Public License does not permit incorporating your program into
336 | proprietary programs. If your program is a subroutine library, you may
337 | consider it more useful to permit linking proprietary applications with the
338 | library. If this is what you want to do, use the GNU Lesser General
339 | Public License instead of this License.
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | Unity-Top-Down-2D-RPG-Tutorial
2 | ==============================
3 |
4 | The source files for our unity 2d top down rpg tutorial
5 |
--------------------------------------------------------------------------------