1
Fork 0

Commit stuff?

This commit is contained in:
Steffo 2019-04-27 20:13:28 +02:00
parent 147f063d3f
commit a23d6a3134
12 changed files with 325 additions and 53 deletions

8
Assets/Animations.meta Normal file
View file

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: ef3d86d84c224344a94715cdfa9fe32c
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

8
Assets/Animators.meta Normal file
View file

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 043f304edcc831c4ea9fcf0e1a2e520d
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

8
Assets/Assets.meta Normal file
View file

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 0460346d99d385241a6d87bbd10aceb8
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

8
Assets/PhysMats.meta Normal file
View file

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: e823a56cb429e4b49becdc740fba66b9
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,51 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &1164136568549368904
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 2043533519980591455}
- component: {fileID: 7440667849060313208}
m_Layer: 0
m_Name: Enemy
m_TagString: Untagged
m_Icon: {fileID: 7174288486110832750, guid: 0000000000000000d000000000000000, type: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &2043533519980591455
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1164136568549368904}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 1.7943853, y: 1.0483005, z: -91.41211}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &7440667849060313208
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1164136568549368904}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: a72ad0eb2136f284bab78f19fa561bb8, type: 3}
m_Name:
m_EditorClassIdentifier:
hpMax: 0
hp: 0
isUndead: 0
movesPerTurn: 0
hasSpottedPlayer: 0
sprite: {fileID: 0}

View file

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: a4aeecfb369f0974490d158ef9489335
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -23,10 +23,168 @@ Transform:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2866215097817665852}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0.18855336, y: 0.26111984, z: 34.533203}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Children:
- {fileID: 5874724150191971617}
- {fileID: 368318821130531976}
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1001 &1819628990077898199
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 3211721187637284538}
m_Modifications:
- target: {fileID: 1164136568549368904, guid: a4aeecfb369f0974490d158ef9489335,
type: 3}
propertyPath: m_Name
value: Enemy
objectReference: {fileID: 0}
- target: {fileID: 2043533519980591455, guid: a4aeecfb369f0974490d158ef9489335,
type: 3}
propertyPath: m_LocalPosition.x
value: 1
objectReference: {fileID: 0}
- target: {fileID: 2043533519980591455, guid: a4aeecfb369f0974490d158ef9489335,
type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2043533519980591455, guid: a4aeecfb369f0974490d158ef9489335,
type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2043533519980591455, guid: a4aeecfb369f0974490d158ef9489335,
type: 3}
propertyPath: m_LocalRotation.x
value: -0
objectReference: {fileID: 0}
- target: {fileID: 2043533519980591455, guid: a4aeecfb369f0974490d158ef9489335,
type: 3}
propertyPath: m_LocalRotation.y
value: -0
objectReference: {fileID: 0}
- target: {fileID: 2043533519980591455, guid: a4aeecfb369f0974490d158ef9489335,
type: 3}
propertyPath: m_LocalRotation.z
value: -0
objectReference: {fileID: 0}
- target: {fileID: 2043533519980591455, guid: a4aeecfb369f0974490d158ef9489335,
type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 2043533519980591455, guid: a4aeecfb369f0974490d158ef9489335,
type: 3}
propertyPath: m_RootOrder
value: 1
objectReference: {fileID: 0}
- target: {fileID: 2043533519980591455, guid: a4aeecfb369f0974490d158ef9489335,
type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2043533519980591455, guid: a4aeecfb369f0974490d158ef9489335,
type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2043533519980591455, guid: a4aeecfb369f0974490d158ef9489335,
type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: a4aeecfb369f0974490d158ef9489335, type: 3}
--- !u!4 &368318821130531976 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 2043533519980591455, guid: a4aeecfb369f0974490d158ef9489335,
type: 3}
m_PrefabInstance: {fileID: 1819628990077898199}
m_PrefabAsset: {fileID: 0}
--- !u!1001 &8735699022713547399
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 3211721187637284538}
m_Modifications:
- target: {fileID: 2935319493830293412, guid: e8ff38be23e53db40a793f6959c6f4ec,
type: 3}
propertyPath: m_Name
value: Player
objectReference: {fileID: 0}
- target: {fileID: 2935319493830293412, guid: e8ff38be23e53db40a793f6959c6f4ec,
type: 3}
propertyPath: m_Icon
value:
objectReference: {fileID: -5397416234189338067, guid: 0000000000000000d000000000000000,
type: 0}
- target: {fileID: 2935319493830293414, guid: e8ff38be23e53db40a793f6959c6f4ec,
type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2935319493830293414, guid: e8ff38be23e53db40a793f6959c6f4ec,
type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2935319493830293414, guid: e8ff38be23e53db40a793f6959c6f4ec,
type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2935319493830293414, guid: e8ff38be23e53db40a793f6959c6f4ec,
type: 3}
propertyPath: m_LocalRotation.x
value: -0
objectReference: {fileID: 0}
- target: {fileID: 2935319493830293414, guid: e8ff38be23e53db40a793f6959c6f4ec,
type: 3}
propertyPath: m_LocalRotation.y
value: -0
objectReference: {fileID: 0}
- target: {fileID: 2935319493830293414, guid: e8ff38be23e53db40a793f6959c6f4ec,
type: 3}
propertyPath: m_LocalRotation.z
value: -0
objectReference: {fileID: 0}
- target: {fileID: 2935319493830293414, guid: e8ff38be23e53db40a793f6959c6f4ec,
type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 2935319493830293414, guid: e8ff38be23e53db40a793f6959c6f4ec,
type: 3}
propertyPath: m_RootOrder
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2935319493830293414, guid: e8ff38be23e53db40a793f6959c6f4ec,
type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2935319493830293414, guid: e8ff38be23e53db40a793f6959c6f4ec,
type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2935319493830293414, guid: e8ff38be23e53db40a793f6959c6f4ec,
type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: e8ff38be23e53db40a793f6959c6f4ec, type: 3}
--- !u!4 &5874724150191971617 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 2935319493830293414, guid: e8ff38be23e53db40a793f6959c6f4ec,
type: 3}
m_PrefabInstance: {fileID: 8735699022713547399}
m_PrefabAsset: {fileID: 0}

View file

@ -0,0 +1,49 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &2935319493830293412
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 2935319493830293414}
- component: {fileID: 2935319493830293413}
m_Layer: 0
m_Name: Player
m_TagString: Player
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &2935319493830293414
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2935319493830293412}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &2935319493830293413
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2935319493830293412}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 4de6b97c3d785d146a0df2c1c078fe91, type: 3}
m_Name:
m_EditorClassIdentifier:
exp: 0
level: 0
hpMax: 0
hp: 0

View file

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: e8ff38be23e53db40a793f6959c6f4ec
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -201,9 +201,9 @@ Transform:
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 1
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1001 &5874724150884597007
--- !u!1001 &1591665583
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
@ -218,32 +218,32 @@ PrefabInstance:
- target: {fileID: 3211721187637284538, guid: 4c25f33cb89f6624db48fc49d353a7f2,
type: 3}
propertyPath: m_LocalPosition.x
value: 0.18855336
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3211721187637284538, guid: 4c25f33cb89f6624db48fc49d353a7f2,
type: 3}
propertyPath: m_LocalPosition.y
value: 0.26111984
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3211721187637284538, guid: 4c25f33cb89f6624db48fc49d353a7f2,
type: 3}
propertyPath: m_LocalPosition.z
value: 34.533203
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3211721187637284538, guid: 4c25f33cb89f6624db48fc49d353a7f2,
type: 3}
propertyPath: m_LocalRotation.x
value: -0
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3211721187637284538, guid: 4c25f33cb89f6624db48fc49d353a7f2,
type: 3}
propertyPath: m_LocalRotation.y
value: -0
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3211721187637284538, guid: 4c25f33cb89f6624db48fc49d353a7f2,
type: 3}
propertyPath: m_LocalRotation.z
value: -0
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3211721187637284538, guid: 4c25f33cb89f6624db48fc49d353a7f2,
type: 3}
@ -253,7 +253,7 @@ PrefabInstance:
- target: {fileID: 3211721187637284538, guid: 4c25f33cb89f6624db48fc49d353a7f2,
type: 3}
propertyPath: m_RootOrder
value: 0
value: 1
objectReference: {fileID: 0}
- target: {fileID: 3211721187637284538, guid: 4c25f33cb89f6624db48fc49d353a7f2,
type: 3}
@ -339,45 +339,5 @@ PrefabInstance:
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6907631410461015020, guid: cd714ea41cb7c454994bf0f5ad99abd1,
type: 3}
propertyPath: floorSprites.Array.size
value: 6
objectReference: {fileID: 0}
- target: {fileID: 6907631410461015020, guid: cd714ea41cb7c454994bf0f5ad99abd1,
type: 3}
propertyPath: roomsToGenerate
value: 10
objectReference: {fileID: 0}
- target: {fileID: 6907631410461015020, guid: cd714ea41cb7c454994bf0f5ad99abd1,
type: 3}
propertyPath: floorSprites.Array.data[2]
value:
objectReference: {fileID: 21300000, guid: fa4c9841fd8a5fb4f94ff78c95301065,
type: 3}
- target: {fileID: 6907631410461015020, guid: cd714ea41cb7c454994bf0f5ad99abd1,
type: 3}
propertyPath: floorSprites.Array.data[3]
value:
objectReference: {fileID: 21300000, guid: fa4c9841fd8a5fb4f94ff78c95301065,
type: 3}
- target: {fileID: 6907631410461015020, guid: cd714ea41cb7c454994bf0f5ad99abd1,
type: 3}
propertyPath: floorSprites.Array.data[4]
value:
objectReference: {fileID: 21300000, guid: fa4c9841fd8a5fb4f94ff78c95301065,
type: 3}
- target: {fileID: 6907631410461015020, guid: cd714ea41cb7c454994bf0f5ad99abd1,
type: 3}
propertyPath: floorSprites.Array.data[5]
value:
objectReference: {fileID: 21300000, guid: fa4c9841fd8a5fb4f94ff78c95301065,
type: 3}
- target: {fileID: 6907631410461015020, guid: cd714ea41cb7c454994bf0f5ad99abd1,
type: 3}
propertyPath: floorSprites.Array.data[1]
value:
objectReference: {fileID: 21300000, guid: e0e60c9a4ff0b8e429e6cfe316da9bbf,
type: 3}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: cd714ea41cb7c454994bf0f5ad99abd1, type: 3}

View file

@ -120,7 +120,7 @@ public class Map : MonoBehaviour
Tile tile = GetTile(position);
tile.walkable = walkable;
tile.sprite = tileSprite;
tile.roomPart = roomPart;
tile.roomPart |= roomPart;
}
private void FillWithWalls() {

8
Assets/Sounds.meta Normal file
View file

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 19c0d85909aede34bb371863f187b9e0
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant: