Browse Source

after playtest with Nik

master
Josh 2 years ago
parent
commit
116ceb7ac5
  1. 663
      unity/Assets/Scenes/SampleScene.unity
  2. 8
      unity/Assets/Scripts/DragonMovement.cs
  3. BIN
      unity/Assets/Sprites/cloud.png
  4. 14
      unity/Assets/Sprites/cloud.png.meta

663
unity/Assets/Scenes/SampleScene.unity

@ -123,6 +123,143 @@ NavMeshSettings:
debug:
m_Flags: 0
m_NavMeshData: {fileID: 0}
--- !u!1001 &477056225
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: 8093627333698608786, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_Color.a
value: 0.654902
objectReference: {fileID: 0}
- target: {fileID: 8093627333698608786, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_SortingOrder
value: 26
objectReference: {fileID: 0}
- target: {fileID: 8093627333698608787, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_RootOrder
value: 7
objectReference: {fileID: 0}
- target: {fileID: 8093627333698608787, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_LocalScale.x
value: 1.5063
objectReference: {fileID: 0}
- target: {fileID: 8093627333698608787, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_LocalScale.y
value: 1.5063
objectReference: {fileID: 0}
- target: {fileID: 8093627333698608787, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_LocalScale.z
value: 1.5063
objectReference: {fileID: 0}
- target: {fileID: 8093627333698608787, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_LocalPosition.x
value: 988
objectReference: {fileID: 0}
- target: {fileID: 8093627333698608787, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_LocalPosition.y
value: 182
objectReference: {fileID: 0}
- target: {fileID: 8093627333698608787, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8093627333698608787, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 8093627333698608787, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8093627333698608787, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8093627333698608787, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8093627333698608787, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8093627333698608787, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8093627333698608787, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8093627333698608788, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_Size.x
value: 195.02
objectReference: {fileID: 0}
- target: {fileID: 8093627333698608788, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_Size.y
value: 51.1
objectReference: {fileID: 0}
- target: {fileID: 8093627333698608788, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_Offset.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8093627333698608788, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_Offset.y
value: -5.1
objectReference: {fileID: 0}
- target: {fileID: 8093627333698608799, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_Name
value: Cloud (10)
objectReference: {fileID: 0}
m_RemovedComponents:
- {fileID: 8093627333698608784, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
m_SourcePrefab: {fileID: 100100000, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
--- !u!1 &477056226 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 8093627333698608799, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
m_PrefabInstance: {fileID: 477056225}
m_PrefabAsset: {fileID: 0}
--- !u!114 &477056227
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 477056226}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 0688d5c8286e7bf46981061fd36ed817, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!61 &477056228
BoxCollider2D:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 477056226}
m_Enabled: 1
m_Density: 1
m_Material: {fileID: 0}
m_IsTrigger: 1
m_UsedByEffector: 0
m_UsedByComposite: 0
m_Offset: {x: -12.1, y: 28.8}
m_SpriteTilingProperty:
border: {x: 0, y: 0, z: 0, w: 0}
pivot: {x: 0.5, y: 0.5}
oldSize: {x: 238.66667, y: 90.666664}
newSize: {x: 763, y: 328}
adaptiveTilingThreshold: 0.5
drawMode: 0
adaptiveTiling: 0
m_AutoTiling: 0
serializedVersion: 2
m_Size: {x: 111.25, y: 28.93}
m_EdgeRadius: 0
--- !u!1 &480143053
GameObject:
m_ObjectHideFlags: 0
@ -263,7 +400,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 215fa8664178e8d409e5d9e40cc77cf2, type: 3}
m_Name:
m_EditorClassIdentifier:
FlapKey: 32
FlapKey: 122
FlapForce: 3000
FlapLength: 0.1
_fireballPrefab: {fileID: 3013654646655086450, guid: a0ff208e909d8cd469c02ed1f8eda034, type: 3}
@ -382,16 +519,24 @@ Transform:
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1001 &551529386
--- !u!1001 &519450578
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: 8093627333698608786, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_Color.a
value: 0.654902
objectReference: {fileID: 0}
- target: {fileID: 8093627333698608786, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_SortingOrder
value: 26
objectReference: {fileID: 0}
- target: {fileID: 8093627333698608787, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_RootOrder
value: 6
value: 9
objectReference: {fileID: 0}
- target: {fileID: 8093627333698608787, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_LocalScale.x
@ -407,11 +552,11 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 8093627333698608787, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_LocalPosition.x
value: 929
value: 1796
objectReference: {fileID: 0}
- target: {fileID: 8093627333698608787, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_LocalPosition.y
value: 844
value: 809
objectReference: {fileID: 0}
- target: {fileID: 8093627333698608787, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_LocalPosition.z
@ -445,64 +590,72 @@ PrefabInstance:
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8093627333698608788, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_Size.x
value: 195.02
objectReference: {fileID: 0}
- target: {fileID: 8093627333698608788, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_Size.y
value: 67.3
value: 51.1
objectReference: {fileID: 0}
- target: {fileID: 8093627333698608788, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_Offset.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8093627333698608788, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_Offset.y
value: -18.5
value: -5.1
objectReference: {fileID: 0}
- target: {fileID: 8093627333698608799, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_Name
value: Cloud (9)
value: Cloud (13)
objectReference: {fileID: 0}
m_RemovedComponents:
- {fileID: 8093627333698608784, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
m_SourcePrefab: {fileID: 100100000, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
--- !u!1 &551529387 stripped
--- !u!1 &519450579 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 8093627333698608799, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
m_PrefabInstance: {fileID: 551529386}
m_PrefabInstance: {fileID: 519450578}
m_PrefabAsset: {fileID: 0}
--- !u!61 &551529388
--- !u!114 &519450580
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 519450579}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 0688d5c8286e7bf46981061fd36ed817, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!61 &519450581
BoxCollider2D:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 551529387}
m_GameObject: {fileID: 519450579}
m_Enabled: 1
m_Density: 1
m_Material: {fileID: 0}
m_IsTrigger: 1
m_UsedByEffector: 0
m_UsedByComposite: 0
m_Offset: {x: -9.1, y: 28.8}
m_Offset: {x: -12.1, y: 28.8}
m_SpriteTilingProperty:
border: {x: 0, y: 0, z: 0, w: 0}
pivot: {x: 0.5, y: 0.5}
oldSize: {x: 254.33333, y: 109.333336}
oldSize: {x: 238.66667, y: 90.666664}
newSize: {x: 763, y: 328}
adaptiveTilingThreshold: 0.5
drawMode: 0
adaptiveTiling: 0
m_AutoTiling: 0
serializedVersion: 2
m_Size: {x: 97.31, y: 48.83}
m_Size: {x: 111.25, y: 28.93}
m_EdgeRadius: 0
--- !u!114 &551529389
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 551529387}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 0688d5c8286e7bf46981061fd36ed817, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!1 &629347643
GameObject:
m_ObjectHideFlags: 0
@ -587,7 +740,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 215fa8664178e8d409e5d9e40cc77cf2, type: 3}
m_Name:
m_EditorClassIdentifier:
FlapKey: 271
FlapKey: 91
FlapForce: 3000
FlapLength: 0.1
_fireballPrefab: {fileID: 3013654646655086450, guid: cd9f6311325042848a69aead7b010b4e, type: 3}
@ -672,7 +825,7 @@ Transform:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 629347643}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 95, y: 616.8, z: 0}
m_LocalPosition: {x: 181, y: 433, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 702048808}
@ -680,6 +833,143 @@ Transform:
m_Father: {fileID: 0}
m_RootOrder: 3
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1001 &654025763
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: 8093627333698608786, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_Color.a
value: 0.654902
objectReference: {fileID: 0}
- target: {fileID: 8093627333698608786, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_SortingOrder
value: 26
objectReference: {fileID: 0}
- target: {fileID: 8093627333698608787, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_RootOrder
value: 10
objectReference: {fileID: 0}
- target: {fileID: 8093627333698608787, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_LocalScale.x
value: 1.5063
objectReference: {fileID: 0}
- target: {fileID: 8093627333698608787, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_LocalScale.y
value: 1.5063
objectReference: {fileID: 0}
- target: {fileID: 8093627333698608787, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_LocalScale.z
value: 1.5063
objectReference: {fileID: 0}
- target: {fileID: 8093627333698608787, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_LocalPosition.x
value: 1088
objectReference: {fileID: 0}
- target: {fileID: 8093627333698608787, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_LocalPosition.y
value: 514
objectReference: {fileID: 0}
- target: {fileID: 8093627333698608787, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8093627333698608787, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 8093627333698608787, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8093627333698608787, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8093627333698608787, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8093627333698608787, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8093627333698608787, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8093627333698608787, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8093627333698608788, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_Size.x
value: 195.02
objectReference: {fileID: 0}
- target: {fileID: 8093627333698608788, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_Size.y
value: 51.1
objectReference: {fileID: 0}
- target: {fileID: 8093627333698608788, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_Offset.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8093627333698608788, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_Offset.y
value: -5.1
objectReference: {fileID: 0}
- target: {fileID: 8093627333698608799, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_Name
value: Cloud (12)
objectReference: {fileID: 0}
m_RemovedComponents:
- {fileID: 8093627333698608784, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
m_SourcePrefab: {fileID: 100100000, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
--- !u!1 &654025764 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 8093627333698608799, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
m_PrefabInstance: {fileID: 654025763}
m_PrefabAsset: {fileID: 0}
--- !u!114 &654025765
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 654025764}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 0688d5c8286e7bf46981061fd36ed817, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!61 &654025766
BoxCollider2D:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 654025764}
m_Enabled: 1
m_Density: 1
m_Material: {fileID: 0}
m_IsTrigger: 1
m_UsedByEffector: 0
m_UsedByComposite: 0
m_Offset: {x: -12.1, y: 28.8}
m_SpriteTilingProperty:
border: {x: 0, y: 0, z: 0, w: 0}
pivot: {x: 0.5, y: 0.5}
oldSize: {x: 238.66667, y: 90.666664}
newSize: {x: 763, y: 328}
adaptiveTilingThreshold: 0.5
drawMode: 0
adaptiveTiling: 0
m_AutoTiling: 0
serializedVersion: 2
m_Size: {x: 111.25, y: 28.93}
m_EdgeRadius: 0
--- !u!1 &702048807
GameObject:
m_ObjectHideFlags: 0
@ -770,59 +1060,37 @@ BoxCollider2D:
m_IsTrigger: 1
m_UsedByEffector: 0
m_UsedByComposite: 0
m_Offset: {x: -9.1, y: 28.8}
m_Offset: {x: -12.1, y: 28.8}
m_SpriteTilingProperty:
border: {x: 0, y: 0, z: 0, w: 0}
pivot: {x: 0.5, y: 0.5}
oldSize: {x: 254.33333, y: 109.333336}
oldSize: {x: 238.66667, y: 90.666664}
newSize: {x: 763, y: 328}
adaptiveTilingThreshold: 0.5
drawMode: 0
adaptiveTiling: 0
m_AutoTiling: 0
serializedVersion: 2
m_Size: {x: 97.31, y: 48.83}
m_Size: {x: 111.25, y: 28.93}
m_EdgeRadius: 0
--- !u!1 &1094877703
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1094877704}
m_Layer: 0
m_Name: ConeSpawnPoint
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &1094877704
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1094877703}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 37.3, y: -5.3, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 629347650}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1001 &1183140413
--- !u!1001 &1060111564
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: 8093627333698608786, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_Color.a
value: 0.654902
objectReference: {fileID: 0}
- target: {fileID: 8093627333698608786, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_SortingOrder
value: 26
objectReference: {fileID: 0}
- target: {fileID: 8093627333698608787, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_RootOrder
value: 9
value: 8
objectReference: {fileID: 0}
- target: {fileID: 8093627333698608787, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_LocalScale.x
@ -838,11 +1106,11 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 8093627333698608787, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_LocalPosition.x
value: 1936
value: 2514
objectReference: {fileID: 0}
- target: {fileID: 8093627333698608787, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_LocalPosition.y
value: 244
value: 477
objectReference: {fileID: 0}
- target: {fileID: 8093627333698608787, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_LocalPosition.z
@ -876,64 +1144,102 @@ PrefabInstance:
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8093627333698608788, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_Size.x
value: 195.02
objectReference: {fileID: 0}
- target: {fileID: 8093627333698608788, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_Size.y
value: 67.3
value: 51.1
objectReference: {fileID: 0}
- target: {fileID: 8093627333698608788, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_Offset.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8093627333698608788, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_Offset.y
value: -18.5
value: -5.1
objectReference: {fileID: 0}
- target: {fileID: 8093627333698608799, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_Name
value: Cloud (12)
value: Cloud (11)
objectReference: {fileID: 0}
m_RemovedComponents:
- {fileID: 8093627333698608784, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
m_SourcePrefab: {fileID: 100100000, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
--- !u!1 &1183140414 stripped
--- !u!1 &1060111565 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 8093627333698608799, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
m_PrefabInstance: {fileID: 1183140413}
m_PrefabInstance: {fileID: 1060111564}
m_PrefabAsset: {fileID: 0}
--- !u!61 &1183140415
--- !u!114 &1060111566
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1060111565}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 0688d5c8286e7bf46981061fd36ed817, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!61 &1060111567
BoxCollider2D:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1183140414}
m_GameObject: {fileID: 1060111565}
m_Enabled: 1
m_Density: 1
m_Material: {fileID: 0}
m_IsTrigger: 1
m_UsedByEffector: 0
m_UsedByComposite: 0
m_Offset: {x: -9.1, y: 28.8}
m_Offset: {x: -12.1, y: 28.8}
m_SpriteTilingProperty:
border: {x: 0, y: 0, z: 0, w: 0}
pivot: {x: 0.5, y: 0.5}
oldSize: {x: 254.33333, y: 109.333336}
oldSize: {x: 238.66667, y: 90.666664}
newSize: {x: 763, y: 328}
adaptiveTilingThreshold: 0.5
drawMode: 0
adaptiveTiling: 0
m_AutoTiling: 0
serializedVersion: 2
m_Size: {x: 97.31, y: 48.83}
m_Size: {x: 111.25, y: 28.93}
m_EdgeRadius: 0
--- !u!114 &1183140416
MonoBehaviour:
--- !u!1 &1094877703
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1183140414}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 0688d5c8286e7bf46981061fd36ed817, type: 3}
m_Name:
m_EditorClassIdentifier:
serializedVersion: 6
m_Component:
- component: {fileID: 1094877704}
m_Layer: 0
m_Name: ConeSpawnPoint
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &1094877704
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1094877703}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 37.3, y: -5.3, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 629347650}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &1208042745
GameObject:
m_ObjectHideFlags: 0
@ -1110,16 +1416,24 @@ Transform:
m_Father: {fileID: 0}
m_RootOrder: 4
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1001 &1481847789
--- !u!1001 &1817051803
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: 8093627333698608786, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_Color.a
value: 0.654902
objectReference: {fileID: 0}
- target: {fileID: 8093627333698608786, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_SortingOrder
value: 26
objectReference: {fileID: 0}
- target: {fileID: 8093627333698608787, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_RootOrder
value: 7
value: 6
objectReference: {fileID: 0}
- target: {fileID: 8093627333698608787, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_LocalScale.x
@ -1135,11 +1449,11 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 8093627333698608787, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_LocalPosition.x
value: 1170
value: 2119
objectReference: {fileID: 0}
- target: {fileID: 8093627333698608787, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_LocalPosition.y
value: 394
value: 721
objectReference: {fileID: 0}
- target: {fileID: 8093627333698608787, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_LocalPosition.z
@ -1173,185 +1487,72 @@ PrefabInstance:
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8093627333698608788, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_Size.x
value: 195.02
objectReference: {fileID: 0}
- target: {fileID: 8093627333698608788, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_Size.y
value: 67.3
value: 51.1
objectReference: {fileID: 0}
- target: {fileID: 8093627333698608788, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_Offset.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8093627333698608788, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_Offset.y
value: -18.5
value: -5.1
objectReference: {fileID: 0}
- target: {fileID: 8093627333698608799, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_Name
value: Cloud (10)
value: Cloud (9)
objectReference: {fileID: 0}
m_RemovedComponents:
- {fileID: 8093627333698608784, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
m_SourcePrefab: {fileID: 100100000, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
--- !u!1 &1481847790 stripped
--- !u!1 &1817051804 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 8093627333698608799, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
m_PrefabInstance: {fileID: 1481847789}
m_PrefabAsset: {fileID: 0}
--- !u!61 &1481847791
BoxCollider2D:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabInstance: {fileID: 1817051803}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1481847790}
m_Enabled: 1
m_Density: 1
m_Material: {fileID: 0}
m_IsTrigger: 1
m_UsedByEffector: 0
m_UsedByComposite: 0
m_Offset: {x: -9.1, y: 28.8}
m_SpriteTilingProperty:
border: {x: 0, y: 0, z: 0, w: 0}
pivot: {x: 0.5, y: 0.5}
oldSize: {x: 254.33333, y: 109.333336}
newSize: {x: 763, y: 328}
adaptiveTilingThreshold: 0.5
drawMode: 0
adaptiveTiling: 0
m_AutoTiling: 0
serializedVersion: 2
m_Size: {x: 97.31, y: 48.83}
m_EdgeRadius: 0
--- !u!114 &1481847792
--- !u!114 &1817051805
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1481847790}
m_GameObject: {fileID: 1817051804}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 0688d5c8286e7bf46981061fd36ed817, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!1001 &1543138277
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: 8093627333698608787, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_RootOrder
value: 8
objectReference: {fileID: 0}
- target: {fileID: 8093627333698608787, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_LocalScale.x
value: 1.5063
objectReference: {fileID: 0}
- target: {fileID: 8093627333698608787, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_LocalScale.y
value: 1.5063
objectReference: {fileID: 0}
- target: {fileID: 8093627333698608787, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_LocalScale.z
value: 1.5063
objectReference: {fileID: 0}
- target: {fileID: 8093627333698608787, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_LocalPosition.x
value: 1506
objectReference: {fileID: 0}
- target: {fileID: 8093627333698608787, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_LocalPosition.y
value: 694
objectReference: {fileID: 0}
- target: {fileID: 8093627333698608787, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8093627333698608787, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 8093627333698608787, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8093627333698608787, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8093627333698608787, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8093627333698608787, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8093627333698608787, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8093627333698608787, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8093627333698608788, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_Size.y
value: 67.3
objectReference: {fileID: 0}
- target: {fileID: 8093627333698608788, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_Offset.y
value: -18.5
objectReference: {fileID: 0}
- target: {fileID: 8093627333698608799, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_Name
value: Cloud (11)
objectReference: {fileID: 0}
m_RemovedComponents:
- {fileID: 8093627333698608784, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
m_SourcePrefab: {fileID: 100100000, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
--- !u!1 &1543138278 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 8093627333698608799, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
m_PrefabInstance: {fileID: 1543138277}
m_PrefabAsset: {fileID: 0}
--- !u!61 &1543138279
--- !u!61 &1817051806
BoxCollider2D:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1543138278}
m_GameObject: {fileID: 1817051804}
m_Enabled: 1
m_Density: 1
m_Material: {fileID: 0}
m_IsTrigger: 1
m_UsedByEffector: 0
m_UsedByComposite: 0
m_Offset: {x: -9.1, y: 28.8}
m_Offset: {x: -12.1, y: 28.8}
m_SpriteTilingProperty:
border: {x: 0, y: 0, z: 0, w: 0}
pivot: {x: 0.5, y: 0.5}
oldSize: {x: 254.33333, y: 109.333336}
oldSize: {x: 238.66667, y: 90.666664}
newSize: {x: 763, y: 328}
adaptiveTilingThreshold: 0.5
drawMode: 0
adaptiveTiling: 0
m_AutoTiling: 0
serializedVersion: 2
m_Size: {x: 97.31, y: 48.83}
m_Size: {x: 111.25, y: 28.93}
m_EdgeRadius: 0
--- !u!114 &1543138280
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1543138278}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 0688d5c8286e7bf46981061fd36ed817, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!1 &1850103814
GameObject:
m_ObjectHideFlags: 0
@ -1389,6 +1590,14 @@ PrefabInstance:
m_Modification:
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: 8093627333698608786, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_Color.a
value: 0.654902
objectReference: {fileID: 0}
- target: {fileID: 8093627333698608786, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_SortingOrder
value: 26
objectReference: {fileID: 0}
- target: {fileID: 8093627333698608787, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_RootOrder
value: 5
@ -1445,13 +1654,21 @@ PrefabInstance:
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8093627333698608788, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_Size.x
value: 195.02
objectReference: {fileID: 0}
- target: {fileID: 8093627333698608788, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_Size.y
value: 67.3
value: 51.1
objectReference: {fileID: 0}
- target: {fileID: 8093627333698608788, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_Offset.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8093627333698608788, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_Offset.y
value: -18.5
value: -5.1
objectReference: {fileID: 0}
- target: {fileID: 8093627333698608799, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_Name

8
unity/Assets/Scripts/DragonMovement.cs

@ -106,14 +106,14 @@ public class DragonMovement : MonoBehaviour
_flapTime -= Time.deltaTime;
_stunTime -= Time.deltaTime;
float horizontalSpeed = .4f;
float horizontalSpeed = .6f;
float verticalSpeed = 0f;
const float GLIDE_TIME = 2f;
const float GLIDE_TIME = 0.7f;
if (_flapTime < - GLIDE_TIME)
{
_animator.Play("speedup");
horizontalSpeed += (_flapTime + GLIDE_TIME) * -1f;
horizontalSpeed += (_flapTime + GLIDE_TIME) * -2f;
}
@ -127,7 +127,7 @@ public class DragonMovement : MonoBehaviour
_animator.Play("glide");
}
horizontalSpeed = -2f;
horizontalSpeed = -3f;
if (_rigidbody.velocity.y > 0)
verticalSpeed = -2f;

BIN
unity/Assets/Sprites/cloud.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 29 KiB

After

Width:  |  Height:  |  Size: 29 KiB

14
unity/Assets/Sprites/cloud.png.meta

@ -46,7 +46,7 @@ TextureImporter:
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 3
spritePixelsToUnits: 1.5
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
@ -87,6 +87,18 @@ TextureImporter:
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: WebGL
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
spriteSheet:
serializedVersion: 2
sprites: []

Loading…
Cancel
Save