Browse Source

cloud improvements plus I clearly forgot to commit earlier

master
Josh 2 years ago
parent
commit
80d3ff1790
  1. 114
      unity/Assets/Prefabs/Cone.prefab
  2. 7
      unity/Assets/Prefabs/Cone.prefab.meta
  3. 2
      unity/Assets/Prefabs/Fireball.prefab
  4. 655
      unity/Assets/Scenes/SampleScene.unity
  5. 11
      unity/Assets/Scripts/Cloud.cs
  6. 40
      unity/Assets/Scripts/CloudWraparound.cs
  7. 11
      unity/Assets/Scripts/CloudWraparound.cs.meta
  8. 66
      unity/Assets/Scripts/DragonMovement.cs
  9. 20
      unity/Assets/Scripts/Fireball.cs
  10. 2
      unity/Assets/Scripts/Wraparound.cs
  11. BIN
      unity/Assets/Sprites/acid_bolt.png
  12. 18
      unity/Assets/Sprites/acid_bolt.png.meta
  13. 8
      unity/Assets/Sprites/babydragon_sheets/blue.meta
  14. 205
      unity/Assets/Sprites/babydragon_sheets/blue/Dragon_Green.controller
  15. 8
      unity/Assets/Sprites/babydragon_sheets/blue/Dragon_Green.controller.meta
  16. 0
      unity/Assets/Sprites/babydragon_sheets/blue/dragon_blue.png
  17. 1188
      unity/Assets/Sprites/babydragon_sheets/blue/dragon_blue.png.meta
  18. 80
      unity/Assets/Sprites/babydragon_sheets/blue/fall.anim
  19. 2
      unity/Assets/Sprites/babydragon_sheets/blue/fall.anim.meta
  20. 89
      unity/Assets/Sprites/babydragon_sheets/blue/fly.anim
  21. 8
      unity/Assets/Sprites/babydragon_sheets/blue/fly.anim.meta
  22. 4
      unity/Assets/Sprites/babydragon_sheets/blue/glide.anim
  23. 8
      unity/Assets/Sprites/babydragon_sheets/blue/glide.anim.meta
  24. 18
      unity/Assets/Sprites/babydragon_sheets/dragon_black.png.meta
  25. 18
      unity/Assets/Sprites/babydragon_sheets/dragon_bronze.png.meta
  26. 18
      unity/Assets/Sprites/babydragon_sheets/dragon_gold.png.meta
  27. 1102
      unity/Assets/Sprites/babydragon_sheets/dragon_green.png.meta
  28. 18
      unity/Assets/Sprites/babydragon_sheets/dragon_night.png.meta
  29. 18
      unity/Assets/Sprites/babydragon_sheets/dragon_sliver.png.meta
  30. 8
      unity/Assets/Sprites/babydragon_sheets/green.meta
  31. 205
      unity/Assets/Sprites/babydragon_sheets/green/Dragon_Green.controller
  32. 8
      unity/Assets/Sprites/babydragon_sheets/green/Dragon_Green.controller.meta
  33. BIN
      unity/Assets/Sprites/babydragon_sheets/green/dragon_green.png
  34. 1188
      unity/Assets/Sprites/babydragon_sheets/green/dragon_green.png.meta
  35. 80
      unity/Assets/Sprites/babydragon_sheets/green/fall.anim
  36. 8
      unity/Assets/Sprites/babydragon_sheets/green/fall.anim.meta
  37. 89
      unity/Assets/Sprites/babydragon_sheets/green/fly.anim
  38. 8
      unity/Assets/Sprites/babydragon_sheets/green/fly.anim.meta
  39. 25
      unity/Assets/Sprites/babydragon_sheets/green/glide.anim
  40. 8
      unity/Assets/Sprites/babydragon_sheets/green/glide.anim.meta
  41. 8
      unity/Assets/Sprites/babydragon_sheets/red.meta
  42. 52
      unity/Assets/Sprites/babydragon_sheets/red/Dragon_Red.controller
  43. 0
      unity/Assets/Sprites/babydragon_sheets/red/Dragon_Red.controller.meta
  44. 0
      unity/Assets/Sprites/babydragon_sheets/red/dragon_red.png
  45. 0
      unity/Assets/Sprites/babydragon_sheets/red/dragon_red.png.meta
  46. 80
      unity/Assets/Sprites/babydragon_sheets/red/fall.anim
  47. 8
      unity/Assets/Sprites/babydragon_sheets/red/fall.anim.meta
  48. 4
      unity/Assets/Sprites/babydragon_sheets/red/fly.anim
  49. 0
      unity/Assets/Sprites/babydragon_sheets/red/fly.anim.meta
  50. 68
      unity/Assets/Sprites/babydragon_sheets/red/glide.anim
  51. 0
      unity/Assets/Sprites/babydragon_sheets/red/glide.anim.meta
  52. 3
      unity/ProjectSettings/TagManager.asset

114
unity/Assets/Prefabs/Cone.prefab

@ -0,0 +1,114 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &3013654646655086450
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 3013654646655086460}
- component: {fileID: 3013654646655086451}
- component: {fileID: 3013654646655086461}
- component: {fileID: 3013654646655086462}
m_Layer: 0
m_Name: Cone
m_TagString: Fireball
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &3013654646655086460
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3013654646655086450}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 163.4, y: 960.6649, 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!212 &3013654646655086451
SpriteRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3013654646655086450}
m_Enabled: 1
m_CastShadows: 0
m_ReceiveShadows: 0
m_DynamicOccludee: 1
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RayTracingMode: 0
m_RayTraceProcedural: 0
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
m_StaticBatchRoot: {fileID: 0}
m_ProbeAnchor: {fileID: 0}
m_LightProbeVolumeOverride: {fileID: 0}
m_ScaleInLightmap: 1
m_ReceiveGI: 1
m_PreserveUVs: 0
m_IgnoreNormalsForChartDetection: 0
m_ImportantGI: 0
m_StitchLightmapSeams: 1
m_SelectedEditorRenderState: 0
m_MinimumChartSize: 4
m_AutoUVMaxDistance: 0.5
m_AutoUVMaxAngle: 89
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
m_Sprite: {fileID: 21300000, guid: 3ea2a3c1c637b2a46b022017cd26fb6f, type: 3}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_FlipX: 0
m_FlipY: 0
m_DrawMode: 0
m_Size: {x: 120, y: 120}
m_AdaptiveModeThreshold: 0.5
m_SpriteTileMode: 0
m_WasSpriteAssigned: 1
m_MaskInteraction: 0
m_SpriteSortPoint: 0
--- !u!58 &3013654646655086461
CircleCollider2D:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3013654646655086450}
m_Enabled: 1
m_Density: 1
m_Material: {fileID: 0}
m_IsTrigger: 1
m_UsedByEffector: 0
m_UsedByComposite: 0
m_Offset: {x: -3.4, y: 1.36}
serializedVersion: 2
m_Radius: 11.3
--- !u!114 &3013654646655086462
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3013654646655086450}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 2a119ef73dcc6194c99e91dd07dcd3e2, type: 3}
m_Name:
m_EditorClassIdentifier:

7
unity/Assets/Prefabs/Cone.prefab.meta

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

2
unity/Assets/Prefabs/Fireball.prefab

@ -14,7 +14,7 @@ GameObject:
- component: {fileID: 3013654646655086462}
m_Layer: 0
m_Name: Fireball
m_TagString: Untagged
m_TagString: Fireball
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0

655
unity/Assets/Scenes/SampleScene.unity

@ -123,7 +123,7 @@ NavMeshSettings:
debug:
m_Flags: 0
m_NavMeshData: {fileID: 0}
--- !u!1001 &60773117
--- !u!1001 &198401002
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
@ -132,15 +132,27 @@ PrefabInstance:
m_Modifications:
- target: {fileID: 8093627333698608787, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_RootOrder
value: 7
value: 9
objectReference: {fileID: 0}
- target: {fileID: 8093627333698608787, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_LocalScale.x
value: 2.0108
objectReference: {fileID: 0}
- target: {fileID: 8093627333698608787, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_LocalScale.y
value: 2.0108
objectReference: {fileID: 0}
- target: {fileID: 8093627333698608787, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_LocalScale.z
value: 2.0108
objectReference: {fileID: 0}
- target: {fileID: 8093627333698608787, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_LocalPosition.x
value: 1676.97
value: 2111
objectReference: {fileID: 0}
- target: {fileID: 8093627333698608787, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_LocalPosition.y
value: 449
value: 555
objectReference: {fileID: 0}
- target: {fileID: 8093627333698608787, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_LocalPosition.z
@ -178,9 +190,27 @@ PrefabInstance:
propertyPath: m_Name
value: Cloud (4)
objectReference: {fileID: 0}
m_RemovedComponents: []
m_RemovedComponents:
- {fileID: 8093627333698608784, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
m_SourcePrefab: {fileID: 100100000, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
--- !u!1001 &440407123
--- !u!1 &198401003 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 8093627333698608799, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
m_PrefabInstance: {fileID: 198401002}
m_PrefabAsset: {fileID: 0}
--- !u!114 &198401004
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 198401003}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 0688d5c8286e7bf46981061fd36ed817, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!1001 &315244710
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
@ -189,15 +219,27 @@ PrefabInstance:
m_Modifications:
- target: {fileID: 8093627333698608787, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_RootOrder
value: 5
value: 8
objectReference: {fileID: 0}
- target: {fileID: 8093627333698608787, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_LocalScale.x
value: 1.4981
objectReference: {fileID: 0}
- target: {fileID: 8093627333698608787, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_LocalScale.y
value: 1.4981
objectReference: {fileID: 0}
- target: {fileID: 8093627333698608787, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_LocalScale.z
value: 1.4981
objectReference: {fileID: 0}
- target: {fileID: 8093627333698608787, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_LocalPosition.x
value: 403
value: 606.658
objectReference: {fileID: 0}
- target: {fileID: 8093627333698608787, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_LocalPosition.y
value: 406
value: 112
objectReference: {fileID: 0}
- target: {fileID: 8093627333698608787, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_LocalPosition.z
@ -233,9 +275,10 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 8093627333698608799, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_Name
value: Cloud (2)
value: Cloud (6)
objectReference: {fileID: 0}
m_RemovedComponents: []
m_RemovedComponents:
- {fileID: 8093627333698608784, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
m_SourcePrefab: {fileID: 100100000, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
--- !u!1 &480143053
GameObject:
@ -298,7 +341,7 @@ SpriteRenderer:
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
m_SortingOrder: 1
m_Sprite: {fileID: 4601113484269595429, guid: a0e17cad4342ba34eb84f9fd99fad50a, type: 3}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_FlipX: 0
@ -318,12 +361,12 @@ Transform:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 480143053}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 95, y: 966, z: 0}
m_LocalPosition: {x: 192.72, y: 966, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 1850103815}
m_Father: {fileID: 0}
m_RootOrder: 3
m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!95 &480143056
Animator:
@ -382,6 +425,8 @@ MonoBehaviour:
FlapLength: 0.1
_fireballPrefab: {fileID: 3013654646655086450, guid: a0ff208e909d8cd469c02ed1f8eda034, type: 3}
_fireballSpawnPoint: {fileID: 1850103814}
_coneSpawnPoint: {fileID: 0}
_attackType: 0
--- !u!114 &480143059
MonoBehaviour:
m_ObjectHideFlags: 0
@ -494,6 +539,183 @@ Transform:
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &629347643
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 629347650}
- component: {fileID: 629347649}
- component: {fileID: 629347648}
- component: {fileID: 629347647}
- component: {fileID: 629347646}
- component: {fileID: 629347645}
- component: {fileID: 629347644}
m_Layer: 0
m_Name: Dragon_Green
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!58 &629347644
CircleCollider2D:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 629347643}
m_Enabled: 1
m_Density: 1
m_Material: {fileID: 0}
m_IsTrigger: 0
m_UsedByEffector: 0
m_UsedByComposite: 0
m_Offset: {x: 0, y: 0}
serializedVersion: 2
m_Radius: 31.1
--- !u!114 &629347645
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 629347643}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 01a6f95bf180a2a45b1686ea222e1c17, type: 3}
m_Name:
m_EditorClassIdentifier:
_justVertical: 1
--- !u!50 &629347646
Rigidbody2D:
serializedVersion: 4
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 629347643}
m_BodyType: 0
m_Simulated: 1
m_UseFullKinematicContacts: 0
m_UseAutoMass: 0
m_Mass: 1
m_LinearDrag: 1
m_AngularDrag: 0.05
m_GravityScale: 1
m_Material: {fileID: 0}
m_Interpolate: 0
m_SleepingMode: 1
m_CollisionDetection: 0
m_Constraints: 4
--- !u!114 &629347647
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 629347643}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 215fa8664178e8d409e5d9e40cc77cf2, type: 3}
m_Name:
m_EditorClassIdentifier:
FlapKey: 271
FlapForce: 3000
FlapLength: 0.1
_fireballPrefab: {fileID: 3013654646655086450, guid: cd9f6311325042848a69aead7b010b4e, type: 3}
_fireballSpawnPoint: {fileID: 702048807}
_coneSpawnPoint: {fileID: 1094877703}
_attackType: 1
--- !u!95 &629347648
Animator:
serializedVersion: 3
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 629347643}
m_Enabled: 1
m_Avatar: {fileID: 0}
m_Controller: {fileID: 9100000, guid: 37877493097994f4e8ddcd01fc19d4cd, type: 2}
m_CullingMode: 0
m_UpdateMode: 0
m_ApplyRootMotion: 0
m_LinearVelocityBlending: 0
m_WarningMessage:
m_HasTransformHierarchy: 1
m_AllowConstantClipSamplingOptimization: 1
m_KeepAnimatorControllerStateOnDisable: 0
--- !u!212 &629347649
SpriteRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 629347643}
m_Enabled: 1
m_CastShadows: 0
m_ReceiveShadows: 0
m_DynamicOccludee: 1
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RayTracingMode: 0
m_RayTraceProcedural: 0
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
m_StaticBatchRoot: {fileID: 0}
m_ProbeAnchor: {fileID: 0}
m_LightProbeVolumeOverride: {fileID: 0}
m_ScaleInLightmap: 1
m_ReceiveGI: 1
m_PreserveUVs: 0
m_IgnoreNormalsForChartDetection: 0
m_ImportantGI: 0
m_StitchLightmapSeams: 1
m_SelectedEditorRenderState: 0
m_MinimumChartSize: 4
m_AutoUVMaxDistance: 0.5
m_AutoUVMaxAngle: 89
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 1
m_Sprite: {fileID: 6966338919225337642, guid: f1f52452aedff1d49a96e61902445920, type: 3}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_FlipX: 0
m_FlipY: 0
m_DrawMode: 0
m_Size: {x: 96, y: 96}
m_AdaptiveModeThreshold: 0.5
m_SpriteTileMode: 0
m_WasSpriteAssigned: 1
m_MaskInteraction: 0
m_SpriteSortPoint: 0
--- !u!4 &629347650
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
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_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 702048808}
- {fileID: 1094877704}
m_Father: {fileID: 0}
m_RootOrder: 5
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1001 &634183952
PrefabInstance:
m_ObjectHideFlags: 0
@ -503,15 +725,27 @@ PrefabInstance:
m_Modifications:
- target: {fileID: 8093627333698608787, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_RootOrder
value: 6
value: 4
objectReference: {fileID: 0}
- target: {fileID: 8093627333698608787, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_LocalScale.x
value: 2.0108
objectReference: {fileID: 0}
- target: {fileID: 8093627333698608787, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_LocalScale.y
value: 2.0108
objectReference: {fileID: 0}
- target: {fileID: 8093627333698608787, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_LocalScale.z
value: 2.0108
objectReference: {fileID: 0}
- target: {fileID: 8093627333698608787, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_LocalPosition.x
value: 1613
value: 1484.4617
objectReference: {fileID: 0}
- target: {fileID: 8093627333698608787, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_LocalPosition.y
value: 218
value: 273.2563
objectReference: {fileID: 0}
- target: {fileID: 8093627333698608787, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_LocalPosition.z
@ -549,8 +783,343 @@ PrefabInstance:
propertyPath: m_Name
value: Cloud (3)
objectReference: {fileID: 0}
m_RemovedComponents: []
m_RemovedComponents:
- {fileID: 8093627333698608784, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
m_SourcePrefab: {fileID: 100100000, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
--- !u!1 &638081260 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 8093627333698608799, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
m_PrefabInstance: {fileID: 315244710}
m_PrefabAsset: {fileID: 0}
--- !u!114 &638081261
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 638081260}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 0688d5c8286e7bf46981061fd36ed817, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!1 &702048807
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 702048808}
m_Layer: 0
m_Name: FireballSpawnPoint
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &702048808
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 702048807}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 66.2, y: -12.7, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 629347650}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &813645990 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 8093627333698608799, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
m_PrefabInstance: {fileID: 634183952}
m_PrefabAsset: {fileID: 0}
--- !u!114 &813645991
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 813645990}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 0688d5c8286e7bf46981061fd36ed817, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!1 &833231468
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 833231469}
m_Layer: 0
m_Name: FireballSpawnPoint
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &833231469
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 833231468}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 66.2, y: -12.7, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 1208042752}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &864714669 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 8093627333698608799, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
m_PrefabInstance: {fileID: 8093627334746431000}
m_PrefabAsset: {fileID: 0}
--- !u!114 &864714670
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 864714669}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 0688d5c8286e7bf46981061fd36ed817, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!1 &950892129 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 8093627333698608799, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
m_PrefabInstance: {fileID: 1900653967}
m_PrefabAsset: {fileID: 0}
--- !u!114 &950892130
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 950892129}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 0688d5c8286e7bf46981061fd36ed817, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !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!1 &1208042745
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1208042752}
- component: {fileID: 1208042751}
- component: {fileID: 1208042750}
- component: {fileID: 1208042749}
- component: {fileID: 1208042748}
- component: {fileID: 1208042747}
- component: {fileID: 1208042746}
m_Layer: 0
m_Name: Dragon_Blue
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!58 &1208042746
CircleCollider2D:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1208042745}
m_Enabled: 1
m_Density: 1
m_Material: {fileID: 0}
m_IsTrigger: 0
m_UsedByEffector: 0
m_UsedByComposite: 0
m_Offset: {x: 0, y: 0}
serializedVersion: 2
m_Radius: 31.1
--- !u!114 &1208042747
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1208042745}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 01a6f95bf180a2a45b1686ea222e1c17, type: 3}
m_Name:
m_EditorClassIdentifier:
_justVertical: 1
--- !u!50 &1208042748
Rigidbody2D:
serializedVersion: 4
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1208042745}
m_BodyType: 0
m_Simulated: 1
m_UseFullKinematicContacts: 0
m_UseAutoMass: 0
m_Mass: 1
m_LinearDrag: 1
m_AngularDrag: 0.05
m_GravityScale: 1
m_Material: {fileID: 0}
m_Interpolate: 0
m_SleepingMode: 1
m_CollisionDetection: 0
m_Constraints: 4
--- !u!114 &1208042749
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1208042745}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 215fa8664178e8d409e5d9e40cc77cf2, type: 3}
m_Name:
m_EditorClassIdentifier:
FlapKey: 305
FlapForce: 3000
FlapLength: 0.1
_fireballPrefab: {fileID: 3013654646655086450, guid: a0ff208e909d8cd469c02ed1f8eda034, type: 3}
_fireballSpawnPoint: {fileID: 833231468}
_coneSpawnPoint: {fileID: 0}
_attackType: 0
--- !u!95 &1208042750
Animator:
serializedVersion: 3
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1208042745}
m_Enabled: 1
m_Avatar: {fileID: 0}
m_Controller: {fileID: 9100000, guid: 7d855c691504bea4e850c697155d2570, type: 2}
m_CullingMode: 0
m_UpdateMode: 0
m_ApplyRootMotion: 0
m_LinearVelocityBlending: 0
m_WarningMessage:
m_HasTransformHierarchy: 1
m_AllowConstantClipSamplingOptimization: 1
m_KeepAnimatorControllerStateOnDisable: 0
--- !u!212 &1208042751
SpriteRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1208042745}
m_Enabled: 1
m_CastShadows: 0
m_ReceiveShadows: 0
m_DynamicOccludee: 1
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RayTracingMode: 0
m_RayTraceProcedural: 0
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
m_StaticBatchRoot: {fileID: 0}
m_ProbeAnchor: {fileID: 0}
m_LightProbeVolumeOverride: {fileID: 0}
m_ScaleInLightmap: 1
m_ReceiveGI: 1
m_PreserveUVs: 0
m_IgnoreNormalsForChartDetection: 0
m_ImportantGI: 0
m_StitchLightmapSeams: 1
m_SelectedEditorRenderState: 0
m_MinimumChartSize: 4
m_AutoUVMaxDistance: 0.5
m_AutoUVMaxAngle: 89
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 1
m_Sprite: {fileID: 5817231778664938184, guid: ffd02a844a873414d975517da88b67e9, type: 3}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_FlipX: 0
m_FlipY: 0
m_DrawMode: 0
m_Size: {x: 96, y: 96}
m_AdaptiveModeThreshold: 0.5
m_SpriteTileMode: 0
m_WasSpriteAssigned: 1
m_MaskInteraction: 0
m_SpriteSortPoint: 0
--- !u!4 &1208042752
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1208042745}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 295.8, y: 289, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 833231469}
m_Father: {fileID: 0}
m_RootOrder: 6
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &1850103814
GameObject:
m_ObjectHideFlags: 0
@ -575,13 +1144,13 @@ Transform:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1850103814}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 40, y: -14.5, z: 0}
m_LocalPosition: {x: 64.4, y: -16.3, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 480143055}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1001 &1973030820
--- !u!1001 &1900653967
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
@ -590,15 +1159,27 @@ PrefabInstance:
m_Modifications:
- target: {fileID: 8093627333698608787, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_RootOrder
value: 1
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: 1204.5117
value: 1421.616
objectReference: {fileID: 0}
- target: {fileID: 8093627333698608787, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_LocalPosition.y
value: 696.37427
value: 773.3224
objectReference: {fileID: 0}
- target: {fileID: 8093627333698608787, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_LocalPosition.z
@ -634,9 +1215,10 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 8093627333698608799, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_Name
value: Cloud (1)
value: Cloud (8)
objectReference: {fileID: 0}
m_RemovedComponents: []
m_RemovedComponents:
- {fileID: 8093627333698608784, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
m_SourcePrefab: {fileID: 100100000, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
--- !u!1 &2039228491
GameObject:
@ -718,7 +1300,7 @@ Transform:
m_LocalScale: {x: 2015.1439, y: 1240.0886, z: 1240.0886}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 2
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1001 &8093627334746431000
PrefabInstance:
@ -729,15 +1311,27 @@ PrefabInstance:
m_Modifications:
- target: {fileID: 8093627333698608787, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_RootOrder
value: 4
value: 3
objectReference: {fileID: 0}
- target: {fileID: 8093627333698608787, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_LocalScale.x
value: 2.2305
objectReference: {fileID: 0}
- target: {fileID: 8093627333698608787, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_LocalScale.y
value: 2.2305
objectReference: {fileID: 0}
- target: {fileID: 8093627333698608787, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_LocalScale.z
value: 2.2305
objectReference: {fileID: 0}
- target: {fileID: 8093627333698608787, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_LocalPosition.x
value: 704
value: 547.526
objectReference: {fileID: 0}
- target: {fileID: 8093627333698608787, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_LocalPosition.y
value: 936
value: 903
objectReference: {fileID: 0}
- target: {fileID: 8093627333698608787, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
propertyPath: m_LocalPosition.z
@ -775,5 +1369,6 @@ PrefabInstance:
propertyPath: m_Name
value: Cloud
objectReference: {fileID: 0}
m_RemovedComponents: []
m_RemovedComponents:
- {fileID: 8093627333698608784, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}
m_SourcePrefab: {fileID: 100100000, guid: 222963b5f45b20141bf7dd413f3342cd, type: 3}

11
unity/Assets/Scripts/Cloud.cs

@ -7,7 +7,7 @@ public class Cloud : MonoBehaviour
// Start is called before the first frame update
void Start()
{
ReInit();
}
// Update is called once per frame
@ -16,4 +16,13 @@ public class Cloud : MonoBehaviour
const float SPEED = 1f;
this.transform.position = new Vector3(transform.position.x - SPEED, transform.position.y, transform.position.z);
}
public void ReInit()
{
float scale = Random.Range(1.5f, 2.5f);
float x = Random.Range(-100f, 100f);
float y = Random.Range(95f, 975f);
transform.localScale = new Vector3(scale, scale, 2f);
transform.position = new Vector3(transform.position.x + x, y, transform.position.z);
}
}

40
unity/Assets/Scripts/CloudWraparound.cs

@ -0,0 +1,40 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CloudWraparound : MonoBehaviour
{
// Start is called before the first frame update
void Start()
{
}
public const int SCREEN_HEIGHT = 1080;
public const int SCREEN_WIDTH = 1920;
// Update is called once per frame
void Update()
{
if (this.transform.position.y < 0)
{
this.transform.position = new Vector3(transform.position.x, transform.position.y + SCREEN_HEIGHT, transform.position.z);
}
if (this.transform.position.y > SCREEN_HEIGHT)
{
this.transform.position = new Vector3(transform.position.x, transform.position.y - SCREEN_HEIGHT, transform.position.z);
}
float DISTANCE_OFF_LEFT_EDGE = -500f;
if (this.transform.position.x < DISTANCE_OFF_LEFT_EDGE)
{
this.transform.position = new Vector3(this.transform.position.x + SCREEN_WIDTH + (DISTANCE_OFF_LEFT_EDGE*-1) + 250f, transform.position.y, transform.position.z);
GetComponent<Cloud>().ReInit();
}
if (this.transform.position.y > SCREEN_WIDTH)
{
this.transform.position = new Vector3(transform.position.x - SCREEN_WIDTH, transform.position.y, transform.position.z);
}
}
}

11
unity/Assets/Scripts/CloudWraparound.cs.meta

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 0688d5c8286e7bf46981061fd36ed817
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

66
unity/Assets/Scripts/DragonMovement.cs

@ -13,12 +13,36 @@ public class DragonMovement : MonoBehaviour
bool _inCloud;
[SerializeField] GameObject _fireballPrefab;
[SerializeField] GameObject _fireballSpawnPoint;
[SerializeField] GameObject _coneSpawnPoint;
float _stunTime = 0f;
public enum AttackType
{
FIREBALL,
CONE
}
[SerializeField] AttackType _attackType = AttackType.FIREBALL;
private void OnTriggerEnter2D(Collider2D collision)
{
Debug.Log("ontriggerenter");
_inCloud = true;
if (collision.CompareTag("Fireball"))
{
Fireball fireball = collision.GetComponent<Fireball>();
if (fireball.AttackType == AttackType.CONE)
{
_stunTime = .6666f;
}
else
{
_stunTime = .3333f;
}
_animator.Play("fall");
}
}
private void OnTriggerExit2D(Collider2D collision)
@ -33,7 +57,7 @@ public class DragonMovement : MonoBehaviour
private void Update()
{
if (Input.GetKeyDown(FlapKey))
if (Input.GetKeyDown(FlapKey) && _stunTime <0f)
{
Flap();
Shoot();
@ -47,25 +71,57 @@ public class DragonMovement : MonoBehaviour
}
void Shoot()
{
if (_attackType == AttackType.FIREBALL)
{
GameObject.Instantiate(_fireballPrefab, _fireballSpawnPoint.transform.position, Quaternion.identity);
}
else if (_attackType == AttackType.CONE)
{
GameObject fireball = GameObject.Instantiate(_fireballPrefab, _coneSpawnPoint.transform.position, Quaternion.identity);
fireball.GetComponent<Fireball>().AttackType = AttackType.CONE;
fireball.transform.parent = this.transform;
}
}
void FixedUpdate()
{
if (_flapTime > 0f)
if (_flapTime > 0f && _stunTime < 0f)
{
_rigidbody.AddForce(new Vector2(0f, FlapForce));
}
if (_stunTime > 0f)
{
_rigidbody.AddForce(new Vector2(0f, FlapForce * -.5f));
}
_flapTime -= Time.deltaTime;
_stunTime -= Time.deltaTime;
float horizontalSpeed = .8f;
float verticalSpeed = 0f;
float horizontalSpeed = .4f;
if (_inCloud)
{
horizontalSpeed = -1f;
horizontalSpeed = -2f;
if (_rigidbody.velocity.y > 0)
verticalSpeed = -2f;
else if (_rigidbody.velocity.y < 0)
verticalSpeed = 2f;
}
if (_flapTime > 0f)
{
horizontalSpeed = -1.5f;
}
if (_stunTime > 0f)
{
horizontalSpeed = -2f;
}
transform.position = new Vector3(transform.position.x + horizontalSpeed, transform.position.y, transform.position.z);
transform.position = new Vector3(transform.position.x + horizontalSpeed, transform.position.y+ verticalSpeed, transform.position.z);
}
}

20
unity/Assets/Scripts/Fireball.cs

@ -4,6 +4,10 @@ using UnityEngine;
public class Fireball : MonoBehaviour
{
DragonMovement.AttackType _attackType = DragonMovement.AttackType.FIREBALL;
public DragonMovement.AttackType AttackType { get => _attackType; set => _attackType = value; }
// Start is called before the first frame update
void Start()
{
@ -13,8 +17,20 @@ public class Fireball : MonoBehaviour
// Update is called once per frame
void Update()
{
const float SPEED = 5f;
this.transform.position = new Vector3(transform.position.x + SPEED, transform.position.y, transform.position.z);
float speed = 1000f; //fireball
if (_attackType == DragonMovement.AttackType.CONE)
{
speed = 600f;
float growth = 8f * Time.deltaTime;
transform.localScale = transform.localScale + new Vector3(growth, growth, 0f);
if (transform.localPosition.x > 250f)
{
GameObject.Destroy(this.gameObject);
}
}
transform.position = new Vector3(transform.position.x + speed * Time.deltaTime, transform.position.y, transform.position.z);
if (transform.position.x > 2110f)
{

2
unity/Assets/Scripts/Wraparound.cs

@ -33,7 +33,7 @@ public class Wraparound : MonoBehaviour
this.transform.position = new Vector3(transform.position.x + SCREEN_WIDTH, transform.position.y, transform.position.z);
}
if (this.transform.position.y > SCREEN_WIDTH)
if (this.transform.position.x > SCREEN_WIDTH)
{
this.transform.position = new Vector3(transform.position.x - SCREEN_WIDTH, transform.position.y, transform.position.z);
}

BIN
unity/Assets/Sprites/acid_bolt.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 336 B

18
unity/Assets/Sprites/babydragon_sheets/dragon_blue.png.meta → unity/Assets/Sprites/acid_bolt.png.meta

@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 03e4b7eada6b494449ae122ab3cf6901
guid: 3ea2a3c1c637b2a46b022017cd26fb6f
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
@ -32,7 +32,7 @@ TextureImporter:
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: 1
filterMode: 0
aniso: 1
mipBias: 0
wrapU: 1
@ -46,7 +46,7 @@ TextureImporter:
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spritePixelsToUnits: 0.5
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
@ -75,6 +75,18 @@ TextureImporter:
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Standalone
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: []

8
unity/Assets/Sprites/babydragon_sheets/blue.meta

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

205
unity/Assets/Sprites/babydragon_sheets/blue/Dragon_Green.controller

@ -0,0 +1,205 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1102 &-4560172163980586792
AnimatorState:
serializedVersion: 6
m_ObjectHideFlags: 1
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: glide
m_Speed: 1
m_CycleOffset: 0
m_Transitions: []
m_StateMachineBehaviours: []
m_Position: {x: 50, y: 50, z: 0}
m_IKOnFeet: 0
m_WriteDefaultValues: 1
m_Mirror: 0
m_SpeedParameterActive: 0
m_MirrorParameterActive: 0
m_CycleOffsetParameterActive: 0
m_TimeParameterActive: 0
m_Motion: {fileID: 7400000, guid: ffc9aeb84bd797a4fbf7318c3549de7b, type: 2}
m_Tag:
m_SpeedParameter:
m_MirrorParameter:
m_CycleOffsetParameter:
m_TimeParameter:
--- !u!1101 &-3812328723082327589
AnimatorStateTransition:
m_ObjectHideFlags: 1
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name:
m_Conditions: []
m_DstStateMachine: {fileID: 0}
m_DstState: {fileID: -4560172163980586792}
m_Solo: 0
m_Mute: 0
m_IsExit: 0
serializedVersion: 3
m_TransitionDuration: 0.25
m_TransitionOffset: 0
m_ExitTime: 0.57142854
m_HasExitTime: 1
m_HasFixedDuration: 1
m_InterruptionSource: 0
m_OrderedInterruption: 1
m_CanTransitionToSelf: 1
--- !u!1101 &-1075176950340435703
AnimatorStateTransition:
m_ObjectHideFlags: 1
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name:
m_Conditions: []
m_DstStateMachine: {fileID: 0}
m_DstState: {fileID: -4560172163980586792}
m_Solo: 0
m_Mute: 0
m_IsExit: 0
serializedVersion: 3
m_TransitionDuration: 0.25
m_TransitionOffset: 0
m_ExitTime: 0.25
m_HasExitTime: 1
m_HasFixedDuration: 1
m_InterruptionSource: 0
m_OrderedInterruption: 1
m_CanTransitionToSelf: 1
--- !u!1102 &-465064992474642624
AnimatorState:
serializedVersion: 6
m_ObjectHideFlags: 1
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: fly
m_Speed: 1
m_CycleOffset: 0
m_Transitions:
- {fileID: -3812328723082327589}
m_StateMachineBehaviours: []
m_Position: {x: 50, y: 50, z: 0}
m_IKOnFeet: 0
m_WriteDefaultValues: 1
m_Mirror: 0
m_SpeedParameterActive: 0
m_MirrorParameterActive: 0
m_CycleOffsetParameterActive: 0
m_TimeParameterActive: 0
m_Motion: {fileID: 7400000, guid: c8e421891fae4af49acaad4870d82aa8, type: 2}
m_Tag:
m_SpeedParameter:
m_MirrorParameter:
m_CycleOffsetParameter:
m_TimeParameter:
--- !u!1107 &-188172644226913256
AnimatorStateMachine:
serializedVersion: 6
m_ObjectHideFlags: 1
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: Base Layer
m_ChildStates:
- serializedVersion: 1
m_State: {fileID: -465064992474642624}
m_Position: {x: 450, y: 0, z: 0}
- serializedVersion: 1
m_State: {fileID: -4560172163980586792}
m_Position: {x: 360, y: 250, z: 0}
- serializedVersion: 1
m_State: {fileID: 5088002357541956511}
m_Position: {x: 270, y: 130, z: 0}
- serializedVersion: 1
m_State: {fileID: 9110519029787187049}
m_Position: {x: 740, y: 170, z: 0}
m_ChildStateMachines: []
m_AnyStateTransitions: []
m_EntryTransitions: []
m_StateMachineTransitions: {}
m_StateMachineBehaviours: []
m_AnyStatePosition: {x: 50, y: 20, z: 0}
m_EntryPosition: {x: 60, y: 180, z: 0}
m_ExitPosition: {x: 800, y: 120, z: 0}
m_ParentStateMachinePosition: {x: 800, y: 20, z: 0}
m_DefaultState: {fileID: -4560172163980586792}
--- !u!91 &9100000
AnimatorController:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: Dragon_Green
serializedVersion: 5
m_AnimatorParameters: []
m_AnimatorLayers:
- serializedVersion: 5
m_Name: Base Layer
m_StateMachine: {fileID: -188172644226913256}
m_Mask: {fileID: 0}
m_Motions: []
m_Behaviours: []
m_BlendingMode: 0
m_SyncedLayerIndex: -1
m_DefaultWeight: 0
m_IKPass: 0
m_SyncedLayerAffectsTiming: 0
m_Controller: {fileID: 9100000}
--- !u!1102 &5088002357541956511
AnimatorState:
serializedVersion: 6
m_ObjectHideFlags: 1
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: shoot
m_Speed: 1
m_CycleOffset: 0
m_Transitions: []
m_StateMachineBehaviours: []
m_Position: {x: 50, y: 50, z: 0}
m_IKOnFeet: 0
m_WriteDefaultValues: 1
m_Mirror: 0
m_SpeedParameterActive: 0
m_MirrorParameterActive: 0
m_CycleOffsetParameterActive: 0
m_TimeParameterActive: 0
m_Motion: {fileID: 7400000, guid: 2f2ae815d640101418aa3aa0732c3691, type: 2}
m_Tag:
m_SpeedParameter:
m_MirrorParameter:
m_CycleOffsetParameter:
m_TimeParameter:
--- !u!1102 &9110519029787187049
AnimatorState:
serializedVersion: 6
m_ObjectHideFlags: 1
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: fall
m_Speed: 1
m_CycleOffset: 0
m_Transitions:
- {fileID: -1075176950340435703}
m_StateMachineBehaviours: []
m_Position: {x: 50, y: 50, z: 0}
m_IKOnFeet: 0
m_WriteDefaultValues: 1
m_Mirror: 0
m_SpeedParameterActive: 0
m_MirrorParameterActive: 0
m_CycleOffsetParameterActive: 0
m_TimeParameterActive: 0
m_Motion: {fileID: 7400000, guid: a7a22d2c099c21e47a23515fc37bd250, type: 2}
m_Tag:
m_SpeedParameter:
m_MirrorParameter:
m_CycleOffsetParameter:
m_TimeParameter:

8
unity/Assets/Sprites/babydragon_sheets/blue/Dragon_Green.controller.meta

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 7d855c691504bea4e850c697155d2570
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 9100000
userData:
assetBundleName:
assetBundleVariant:

0
unity/Assets/Sprites/babydragon_sheets/dragon_blue.png → unity/Assets/Sprites/babydragon_sheets/blue/dragon_blue.png

Before

Width:  |  Height:  |  Size: 68 KiB

After

Width:  |  Height:  |  Size: 68 KiB

1188
unity/Assets/Sprites/babydragon_sheets/blue/dragon_blue.png.meta

File diff suppressed because it is too large

80
unity/Assets/Sprites/babydragon_sheets/blue/fall.anim

@ -0,0 +1,80 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!74 &7400000
AnimationClip:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: fall
serializedVersion: 6
m_Legacy: 0
m_Compressed: 0
m_UseHighQualityCurve: 1
m_RotationCurves: []
m_CompressedRotationCurves: []
m_EulerCurves: []
m_PositionCurves: []
m_ScaleCurves: []
m_FloatCurves: []
m_PPtrCurves:
- curve:
- time: 0
value: {fileID: 597728766636192841, guid: f1f52452aedff1d49a96e61902445920, type: 3}
- time: 0.083333336
value: {fileID: -6307796605733679817, guid: f1f52452aedff1d49a96e61902445920, type: 3}
- time: 0.16666667
value: {fileID: -9092802306692181495, guid: f1f52452aedff1d49a96e61902445920, type: 3}
- time: 0.25
value: {fileID: 7852928783491107060, guid: f1f52452aedff1d49a96e61902445920, type: 3}
- time: 0.31666666
value: {fileID: 7852928783491107060, guid: f1f52452aedff1d49a96e61902445920, type: 3}
attribute: m_Sprite
path:
classID: 212
script: {fileID: 0}
m_SampleRate: 60
m_WrapMode: 0
m_Bounds:
m_Center: {x: 0, y: 0, z: 0}
m_Extent: {x: 0, y: 0, z: 0}
m_ClipBindingConstant:
genericBindings:
- serializedVersion: 2
path: 0
attribute: 0
script: {fileID: 0}
typeID: 212
customType: 23
isPPtrCurve: 1
pptrCurveMapping:
- {fileID: 597728766636192841, guid: f1f52452aedff1d49a96e61902445920, type: 3}
- {fileID: -6307796605733679817, guid: f1f52452aedff1d49a96e61902445920, type: 3}
- {fileID: -9092802306692181495, guid: f1f52452aedff1d49a96e61902445920, type: 3}
- {fileID: 7852928783491107060, guid: f1f52452aedff1d49a96e61902445920, type: 3}
- {fileID: 7852928783491107060, guid: f1f52452aedff1d49a96e61902445920, type: 3}
m_AnimationClipSettings:
serializedVersion: 2
m_AdditiveReferencePoseClip: {fileID: 0}
m_AdditiveReferencePoseTime: 0
m_StartTime: 0
m_StopTime: 0.33333334
m_OrientationOffsetY: 0
m_Level: 0
m_CycleOffset: 0
m_HasAdditiveReferencePose: 0
m_LoopTime: 1
m_LoopBlend: 0
m_LoopBlendOrientation: 0
m_LoopBlendPositionY: 0
m_LoopBlendPositionXZ: 0
m_KeepOriginalOrientation: 0
m_KeepOriginalPositionY: 1
m_KeepOriginalPositionXZ: 0
m_HeightFromFeet: 0
m_Mirror: 0
m_EditorCurves: []
m_EulerEditorCurves: []
m_HasGenericRootTransform: 0
m_HasMotionFloatCurves: 0
m_Events: []

2
unity/Assets/Sprites/babydragon_sheets/shoot.anim.meta → unity/Assets/Sprites/babydragon_sheets/blue/fall.anim.meta

@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 2f2ae815d640101418aa3aa0732c3691
guid: 2af520719b7e9674a96559145f38880a
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 7400000

89
unity/Assets/Sprites/babydragon_sheets/blue/fly.anim

@ -0,0 +1,89 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!74 &7400000
AnimationClip:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: fly
serializedVersion: 6
m_Legacy: 0
m_Compressed: 0
m_UseHighQualityCurve: 1
m_RotationCurves: []
m_CompressedRotationCurves: []
m_EulerCurves: []
m_PositionCurves: []
m_ScaleCurves: []
m_FloatCurves: []
m_PPtrCurves:
- curve:
- time: 0
value: {fileID: 6966338919225337642, guid: f1f52452aedff1d49a96e61902445920, type: 3}
- time: 0.05
value: {fileID: -8610051868067529591, guid: f1f52452aedff1d49a96e61902445920, type: 3}
- time: 0.1
value: {fileID: -7959995257238141358, guid: f1f52452aedff1d49a96e61902445920, type: 3}
- time: 0.15
value: {fileID: -3048739222437568706, guid: f1f52452aedff1d49a96e61902445920, type: 3}
- time: 0.2
value: {fileID: 5113624189145838928, guid: f1f52452aedff1d49a96e61902445920, type: 3}
- time: 0.25
value: {fileID: -1138075953606765517, guid: f1f52452aedff1d49a96e61902445920, type: 3}
- time: 0.3
value: {fileID: 6966338919225337642, guid: f1f52452aedff1d49a96e61902445920, type: 3}
- time: 0.33333334
value: {fileID: 6966338919225337642, guid: f1f52452aedff1d49a96e61902445920, type: 3}
attribute: m_Sprite
path:
classID: 212
script: {fileID: 0}
m_SampleRate: 60
m_WrapMode: 0
m_Bounds:
m_Center: {x: 0, y: 0, z: 0}
m_Extent: {x: 0, y: 0, z: 0}
m_ClipBindingConstant:
genericBindings:
- serializedVersion: 2
path: 0
attribute: 0
script: {fileID: 0}
typeID: 212
customType: 23
isPPtrCurve: 1
pptrCurveMapping:
- {fileID: 6966338919225337642, guid: f1f52452aedff1d49a96e61902445920, type: 3}
- {fileID: -8610051868067529591, guid: f1f52452aedff1d49a96e61902445920, type: 3}
- {fileID: -7959995257238141358, guid: f1f52452aedff1d49a96e61902445920, type: 3}
- {fileID: -3048739222437568706, guid: f1f52452aedff1d49a96e61902445920, type: 3}
- {fileID: 5113624189145838928, guid: f1f52452aedff1d49a96e61902445920, type: 3}
- {fileID: -1138075953606765517, guid: f1f52452aedff1d49a96e61902445920, type: 3}
- {fileID: 6966338919225337642, guid: f1f52452aedff1d49a96e61902445920, type: 3}
- {fileID: 6966338919225337642, guid: f1f52452aedff1d49a96e61902445920, type: 3}
m_AnimationClipSettings:
serializedVersion: 2
m_AdditiveReferencePoseClip: {fileID: 0}
m_AdditiveReferencePoseTime: 0
m_StartTime: 0
m_StopTime: 0.35000002
m_OrientationOffsetY: 0
m_Level: 0
m_CycleOffset: 0
m_HasAdditiveReferencePose: 0
m_LoopTime: 1
m_LoopBlend: 0
m_LoopBlendOrientation: 0
m_LoopBlendPositionY: 0
m_LoopBlendPositionXZ: 0
m_KeepOriginalOrientation: 0
m_KeepOriginalPositionY: 1
m_KeepOriginalPositionXZ: 0
m_HeightFromFeet: 0
m_Mirror: 0
m_EditorCurves: []
m_EulerEditorCurves: []
m_HasGenericRootTransform: 0
m_HasMotionFloatCurves: 0
m_Events: []

8
unity/Assets/Sprites/babydragon_sheets/blue/fly.anim.meta

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: e3ca0497284da7f4c91e2e169c6d46cd
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 7400000
userData:
assetBundleName:
assetBundleVariant:

4
unity/Assets/Sprites/babydragon_sheets/glide.anim → unity/Assets/Sprites/babydragon_sheets/blue/glide.anim

@ -20,7 +20,7 @@ AnimationClip:
m_PPtrCurves:
- curve:
- time: 0
value: {fileID: 529423214910536459, guid: a0e17cad4342ba34eb84f9fd99fad50a, type: 3}
value: {fileID: 6966338919225337642, guid: f1f52452aedff1d49a96e61902445920, type: 3}
attribute: m_Sprite
path:
classID: 212
@ -40,7 +40,7 @@ AnimationClip:
customType: 23
isPPtrCurve: 1
pptrCurveMapping:
- {fileID: 529423214910536459, guid: a0e17cad4342ba34eb84f9fd99fad50a, type: 3}
- {fileID: 6966338919225337642, guid: f1f52452aedff1d49a96e61902445920, type: 3}
m_AnimationClipSettings:
serializedVersion: 2
m_AdditiveReferencePoseClip: {fileID: 0}

8
unity/Assets/Sprites/babydragon_sheets/blue/glide.anim.meta

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 9dbaf53588249ea4fa520f0de4672e14
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 7400000
userData:
assetBundleName:
assetBundleVariant:

18
unity/Assets/Sprites/babydragon_sheets/dragon_black.png.meta

@ -32,7 +32,7 @@ TextureImporter:
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: 1
filterMode: 0
aniso: 1
mipBias: 0
wrapU: 1
@ -41,12 +41,12 @@ TextureImporter:
nPOTScale: 0
lightmap: 0
compressionQuality: 50
spriteMode: 1
spriteMode: 2
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spritePixelsToUnits: 0.5
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
@ -75,6 +75,18 @@ TextureImporter:
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Standalone
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: []

18
unity/Assets/Sprites/babydragon_sheets/dragon_bronze.png.meta

@ -32,7 +32,7 @@ TextureImporter:
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: 1
filterMode: 0
aniso: 1
mipBias: 0
wrapU: 1
@ -41,12 +41,12 @@ TextureImporter:
nPOTScale: 0
lightmap: 0
compressionQuality: 50
spriteMode: 1
spriteMode: 2
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spritePixelsToUnits: 0.5
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
@ -75,6 +75,18 @@ TextureImporter:
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Standalone
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: []

18
unity/Assets/Sprites/babydragon_sheets/dragon_gold.png.meta

@ -32,7 +32,7 @@ TextureImporter:
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: 1
filterMode: 0
aniso: 1
mipBias: 0
wrapU: 1
@ -41,12 +41,12 @@ TextureImporter:
nPOTScale: 0
lightmap: 0
compressionQuality: 50
spriteMode: 1
spriteMode: 2
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spritePixelsToUnits: 0.5
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
@ -75,6 +75,18 @@ TextureImporter:
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Standalone
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: []

1102
unity/Assets/Sprites/babydragon_sheets/dragon_green.png.meta

File diff suppressed because it is too large

18
unity/Assets/Sprites/babydragon_sheets/dragon_night.png.meta

@ -32,7 +32,7 @@ TextureImporter:
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: 1
filterMode: 0
aniso: 1
mipBias: 0
wrapU: 1
@ -41,12 +41,12 @@ TextureImporter:
nPOTScale: 0
lightmap: 0
compressionQuality: 50
spriteMode: 1
spriteMode: 2
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spritePixelsToUnits: 0.5
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
@ -75,6 +75,18 @@ TextureImporter:
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Standalone
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: []

18
unity/Assets/Sprites/babydragon_sheets/dragon_sliver.png.meta

@ -32,7 +32,7 @@ TextureImporter:
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: 1
filterMode: 0
aniso: 1
mipBias: 0
wrapU: 1
@ -41,12 +41,12 @@ TextureImporter:
nPOTScale: 0
lightmap: 0
compressionQuality: 50
spriteMode: 1
spriteMode: 2
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spritePixelsToUnits: 0.5
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
@ -75,6 +75,18 @@ TextureImporter:
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Standalone
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: []

8
unity/Assets/Sprites/babydragon_sheets/green.meta

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

205
unity/Assets/Sprites/babydragon_sheets/green/Dragon_Green.controller

@ -0,0 +1,205 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1102 &-4560172163980586792
AnimatorState:
serializedVersion: 6
m_ObjectHideFlags: 1
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: glide
m_Speed: 1
m_CycleOffset: 0
m_Transitions: []
m_StateMachineBehaviours: []
m_Position: {x: 50, y: 50, z: 0}
m_IKOnFeet: 0
m_WriteDefaultValues: 1
m_Mirror: 0
m_SpeedParameterActive: 0
m_MirrorParameterActive: 0
m_CycleOffsetParameterActive: 0
m_TimeParameterActive: 0
m_Motion: {fileID: 7400000, guid: 9dbaf53588249ea4fa520f0de4672e14, type: 2}
m_Tag:
m_SpeedParameter:
m_MirrorParameter:
m_CycleOffsetParameter:
m_TimeParameter:
--- !u!1101 &-3812328723082327589
AnimatorStateTransition:
m_ObjectHideFlags: 1
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name:
m_Conditions: []
m_DstStateMachine: {fileID: 0}
m_DstState: {fileID: -4560172163980586792}
m_Solo: 0
m_Mute: 0
m_IsExit: 0
serializedVersion: 3
m_TransitionDuration: 0.25
m_TransitionOffset: 0
m_ExitTime: 0.57142854
m_HasExitTime: 1
m_HasFixedDuration: 1
m_InterruptionSource: 0
m_OrderedInterruption: 1
m_CanTransitionToSelf: 1
--- !u!1101 &-1075176950340435703
AnimatorStateTransition:
m_ObjectHideFlags: 1
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name:
m_Conditions: []
m_DstStateMachine: {fileID: 0}
m_DstState: {fileID: -4560172163980586792}
m_Solo: 0
m_Mute: 0
m_IsExit: 0
serializedVersion: 3
m_TransitionDuration: 0.25
m_TransitionOffset: 0
m_ExitTime: 0.25
m_HasExitTime: 1
m_HasFixedDuration: 1
m_InterruptionSource: 0
m_OrderedInterruption: 1
m_CanTransitionToSelf: 1
--- !u!1102 &-465064992474642624
AnimatorState:
serializedVersion: 6
m_ObjectHideFlags: 1
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: fly
m_Speed: 1
m_CycleOffset: 0
m_Transitions:
- {fileID: -3812328723082327589}
m_StateMachineBehaviours: []
m_Position: {x: 50, y: 50, z: 0}
m_IKOnFeet: 0
m_WriteDefaultValues: 1
m_Mirror: 0
m_SpeedParameterActive: 0
m_MirrorParameterActive: 0
m_CycleOffsetParameterActive: 0
m_TimeParameterActive: 0
m_Motion: {fileID: 7400000, guid: e3ca0497284da7f4c91e2e169c6d46cd, type: 2}
m_Tag:
m_SpeedParameter:
m_MirrorParameter:
m_CycleOffsetParameter:
m_TimeParameter:
--- !u!1107 &-188172644226913256
AnimatorStateMachine:
serializedVersion: 6
m_ObjectHideFlags: 1
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: Base Layer
m_ChildStates:
- serializedVersion: 1
m_State: {fileID: -465064992474642624}
m_Position: {x: 450, y: 0, z: 0}
- serializedVersion: 1
m_State: {fileID: -4560172163980586792}
m_Position: {x: 360, y: 250, z: 0}
- serializedVersion: 1
m_State: {fileID: 5088002357541956511}
m_Position: {x: 270, y: 130, z: 0}
- serializedVersion: 1
m_State: {fileID: 9110519029787187049}
m_Position: {x: 740, y: 170, z: 0}
m_ChildStateMachines: []
m_AnyStateTransitions: []
m_EntryTransitions: []
m_StateMachineTransitions: {}
m_StateMachineBehaviours: []
m_AnyStatePosition: {x: 50, y: 20, z: 0}
m_EntryPosition: {x: 60, y: 180, z: 0}
m_ExitPosition: {x: 800, y: 120, z: 0}
m_ParentStateMachinePosition: {x: 800, y: 20, z: 0}
m_DefaultState: {fileID: -4560172163980586792}
--- !u!91 &9100000
AnimatorController:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: Dragon_Green
serializedVersion: 5
m_AnimatorParameters: []
m_AnimatorLayers:
- serializedVersion: 5
m_Name: Base Layer
m_StateMachine: {fileID: -188172644226913256}
m_Mask: {fileID: 0}
m_Motions: []
m_Behaviours: []
m_BlendingMode: 0
m_SyncedLayerIndex: -1
m_DefaultWeight: 0
m_IKPass: 0
m_SyncedLayerAffectsTiming: 0
m_Controller: {fileID: 9100000}
--- !u!1102 &5088002357541956511
AnimatorState:
serializedVersion: 6
m_ObjectHideFlags: 1
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: shoot
m_Speed: 1
m_CycleOffset: 0
m_Transitions: []
m_StateMachineBehaviours: []
m_Position: {x: 50, y: 50, z: 0}
m_IKOnFeet: 0
m_WriteDefaultValues: 1
m_Mirror: 0
m_SpeedParameterActive: 0
m_MirrorParameterActive: 0
m_CycleOffsetParameterActive: 0
m_TimeParameterActive: 0
m_Motion: {fileID: 7400000, guid: 2f2ae815d640101418aa3aa0732c3691, type: 2}
m_Tag:
m_SpeedParameter:
m_MirrorParameter:
m_CycleOffsetParameter:
m_TimeParameter:
--- !u!1102 &9110519029787187049
AnimatorState:
serializedVersion: 6
m_ObjectHideFlags: 1
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: fall
m_Speed: 1
m_CycleOffset: 0
m_Transitions:
- {fileID: -1075176950340435703}
m_StateMachineBehaviours: []
m_Position: {x: 50, y: 50, z: 0}
m_IKOnFeet: 0
m_WriteDefaultValues: 1
m_Mirror: 0
m_SpeedParameterActive: 0
m_MirrorParameterActive: 0
m_CycleOffsetParameterActive: 0
m_TimeParameterActive: 0
m_Motion: {fileID: 7400000, guid: 2af520719b7e9674a96559145f38880a, type: 2}
m_Tag:
m_SpeedParameter:
m_MirrorParameter:
m_CycleOffsetParameter:
m_TimeParameter:

8
unity/Assets/Sprites/babydragon_sheets/green/Dragon_Green.controller.meta

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 37877493097994f4e8ddcd01fc19d4cd
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 9100000
userData:
assetBundleName:
assetBundleVariant:

BIN
unity/Assets/Sprites/babydragon_sheets/green/dragon_green.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 68 KiB

1188
unity/Assets/Sprites/babydragon_sheets/green/dragon_green.png.meta

File diff suppressed because it is too large

80
unity/Assets/Sprites/babydragon_sheets/green/fall.anim

@ -0,0 +1,80 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!74 &7400000
AnimationClip:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: fall
serializedVersion: 6
m_Legacy: 0
m_Compressed: 0
m_UseHighQualityCurve: 1
m_RotationCurves: []
m_CompressedRotationCurves: []
m_EulerCurves: []
m_PositionCurves: []
m_ScaleCurves: []
m_FloatCurves: []
m_PPtrCurves:
- curve:
- time: 0
value: {fileID: -8986988153221815691, guid: 03e4b7eada6b494449ae122ab3cf6901, type: 3}
- time: 0.083333336
value: {fileID: -5166009076878997414, guid: 03e4b7eada6b494449ae122ab3cf6901, type: 3}
- time: 0.16666667
value: {fileID: -5596058192627678176, guid: 03e4b7eada6b494449ae122ab3cf6901, type: 3}
- time: 0.25
value: {fileID: -1711404345784450810, guid: 03e4b7eada6b494449ae122ab3cf6901, type: 3}
- time: 0.31666666
value: {fileID: -1711404345784450810, guid: 03e4b7eada6b494449ae122ab3cf6901, type: 3}
attribute: m_Sprite
path:
classID: 212
script: {fileID: 0}
m_SampleRate: 60
m_WrapMode: 0
m_Bounds:
m_Center: {x: 0, y: 0, z: 0}
m_Extent: {x: 0, y: 0, z: 0}
m_ClipBindingConstant:
genericBindings:
- serializedVersion: 2
path: 0
attribute: 0
script: {fileID: 0}
typeID: 212
customType: 23
isPPtrCurve: 1
pptrCurveMapping:
- {fileID: -8986988153221815691, guid: 03e4b7eada6b494449ae122ab3cf6901, type: 3}
- {fileID: -5166009076878997414, guid: 03e4b7eada6b494449ae122ab3cf6901, type: 3}
- {fileID: -5596058192627678176, guid: 03e4b7eada6b494449ae122ab3cf6901, type: 3}
- {fileID: -1711404345784450810, guid: 03e4b7eada6b494449ae122ab3cf6901, type: 3}
- {fileID: -1711404345784450810, guid: 03e4b7eada6b494449ae122ab3cf6901, type: 3}
m_AnimationClipSettings:
serializedVersion: 2
m_AdditiveReferencePoseClip: {fileID: 0}
m_AdditiveReferencePoseTime: 0
m_StartTime: 0
m_StopTime: 0.33333334
m_OrientationOffsetY: 0
m_Level: 0
m_CycleOffset: 0
m_HasAdditiveReferencePose: 0
m_LoopTime: 1
m_LoopBlend: 0
m_LoopBlendOrientation: 0
m_LoopBlendPositionY: 0
m_LoopBlendPositionXZ: 0
m_KeepOriginalOrientation: 0
m_KeepOriginalPositionY: 1
m_KeepOriginalPositionXZ: 0
m_HeightFromFeet: 0
m_Mirror: 0
m_EditorCurves: []
m_EulerEditorCurves: []
m_HasGenericRootTransform: 0
m_HasMotionFloatCurves: 0
m_Events: []

8
unity/Assets/Sprites/babydragon_sheets/green/fall.anim.meta

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: a7a22d2c099c21e47a23515fc37bd250
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 7400000
userData:
assetBundleName:
assetBundleVariant:

89
unity/Assets/Sprites/babydragon_sheets/green/fly.anim

@ -0,0 +1,89 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!74 &7400000
AnimationClip:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: fly
serializedVersion: 6
m_Legacy: 0
m_Compressed: 0
m_UseHighQualityCurve: 1
m_RotationCurves: []
m_CompressedRotationCurves: []
m_EulerCurves: []
m_PositionCurves: []
m_ScaleCurves: []
m_FloatCurves: []
m_PPtrCurves:
- curve:
- time: 0
value: {fileID: 5817231778664938184, guid: 03e4b7eada6b494449ae122ab3cf6901, type: 3}
- time: 0.05
value: {fileID: -7462714393214265970, guid: 03e4b7eada6b494449ae122ab3cf6901, type: 3}
- time: 0.1
value: {fileID: -4168063579330818173, guid: 03e4b7eada6b494449ae122ab3cf6901, type: 3}
- time: 0.15
value: {fileID: 914696075369662563, guid: 03e4b7eada6b494449ae122ab3cf6901, type: 3}
- time: 0.2
value: {fileID: 4649796251797997847, guid: 03e4b7eada6b494449ae122ab3cf6901, type: 3}
- time: 0.25
value: {fileID: -4595482698399005885, guid: 03e4b7eada6b494449ae122ab3cf6901, type: 3}
- time: 0.3
value: {fileID: 5817231778664938184, guid: 03e4b7eada6b494449ae122ab3cf6901, type: 3}
- time: 0.33333334
value: {fileID: 5817231778664938184, guid: 03e4b7eada6b494449ae122ab3cf6901, type: 3}
attribute: m_Sprite
path:
classID: 212
script: {fileID: 0}
m_SampleRate: 60
m_WrapMode: 0
m_Bounds:
m_Center: {x: 0, y: 0, z: 0}
m_Extent: {x: 0, y: 0, z: 0}
m_ClipBindingConstant:
genericBindings:
- serializedVersion: 2
path: 0
attribute: 0
script: {fileID: 0}
typeID: 212
customType: 23
isPPtrCurve: 1
pptrCurveMapping:
- {fileID: 5817231778664938184, guid: 03e4b7eada6b494449ae122ab3cf6901, type: 3}
- {fileID: -7462714393214265970, guid: 03e4b7eada6b494449ae122ab3cf6901, type: 3}
- {fileID: -4168063579330818173, guid: 03e4b7eada6b494449ae122ab3cf6901, type: 3}
- {fileID: 914696075369662563, guid: 03e4b7eada6b494449ae122ab3cf6901, type: 3}
- {fileID: 4649796251797997847, guid: 03e4b7eada6b494449ae122ab3cf6901, type: 3}
- {fileID: -4595482698399005885, guid: 03e4b7eada6b494449ae122ab3cf6901, type: 3}
- {fileID: 5817231778664938184, guid: 03e4b7eada6b494449ae122ab3cf6901, type: 3}
- {fileID: 5817231778664938184, guid: 03e4b7eada6b494449ae122ab3cf6901, type: 3}
m_AnimationClipSettings:
serializedVersion: 2
m_AdditiveReferencePoseClip: {fileID: 0}
m_AdditiveReferencePoseTime: 0
m_StartTime: 0
m_StopTime: 0.35000002
m_OrientationOffsetY: 0
m_Level: 0
m_CycleOffset: 0
m_HasAdditiveReferencePose: 0
m_LoopTime: 1
m_LoopBlend: 0
m_LoopBlendOrientation: 0
m_LoopBlendPositionY: 0
m_LoopBlendPositionXZ: 0
m_KeepOriginalOrientation: 0
m_KeepOriginalPositionY: 1
m_KeepOriginalPositionXZ: 0
m_HeightFromFeet: 0
m_Mirror: 0
m_EditorCurves: []
m_EulerEditorCurves: []
m_HasGenericRootTransform: 0
m_HasMotionFloatCurves: 0
m_Events: []

8
unity/Assets/Sprites/babydragon_sheets/green/fly.anim.meta

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: c8e421891fae4af49acaad4870d82aa8
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 7400000
userData:
assetBundleName:
assetBundleVariant:

25
unity/Assets/Sprites/babydragon_sheets/shoot.anim → unity/Assets/Sprites/babydragon_sheets/green/glide.anim

@ -6,7 +6,7 @@ AnimationClip:
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: shoot
m_Name: glide
serializedVersion: 6
m_Legacy: 0
m_Compressed: 0
@ -17,21 +17,36 @@ AnimationClip:
m_PositionCurves: []
m_ScaleCurves: []
m_FloatCurves: []
m_PPtrCurves: []
m_PPtrCurves:
- curve:
- time: 0
value: {fileID: 5817231778664938184, guid: 03e4b7eada6b494449ae122ab3cf6901, type: 3}
attribute: m_Sprite
path:
classID: 212
script: {fileID: 0}
m_SampleRate: 60
m_WrapMode: 0
m_Bounds:
m_Center: {x: 0, y: 0, z: 0}
m_Extent: {x: 0, y: 0, z: 0}
m_ClipBindingConstant:
genericBindings: []
pptrCurveMapping: []
genericBindings:
- serializedVersion: 2
path: 0
attribute: 0
script: {fileID: 0}
typeID: 212
customType: 23
isPPtrCurve: 1
pptrCurveMapping:
- {fileID: 5817231778664938184, guid: 03e4b7eada6b494449ae122ab3cf6901, type: 3}
m_AnimationClipSettings:
serializedVersion: 2
m_AdditiveReferencePoseClip: {fileID: 0}
m_AdditiveReferencePoseTime: 0
m_StartTime: 0
m_StopTime: 1
m_StopTime: 0.016666668
m_OrientationOffsetY: 0
m_Level: 0
m_CycleOffset: 0

8
unity/Assets/Sprites/babydragon_sheets/green/glide.anim.meta

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: ffc9aeb84bd797a4fbf7318c3549de7b
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 7400000
userData:
assetBundleName:
assetBundleVariant:

8
unity/Assets/Sprites/babydragon_sheets/red.meta

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

52
unity/Assets/Sprites/babydragon_sheets/Dragon_Red.controller → unity/Assets/Sprites/babydragon_sheets/red/Dragon_Red.controller

@ -1,5 +1,27 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1101 &-5591195661498699232
AnimatorStateTransition:
m_ObjectHideFlags: 1
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name:
m_Conditions: []
m_DstStateMachine: {fileID: 0}
m_DstState: {fileID: -4560172163980586792}
m_Solo: 0
m_Mute: 0
m_IsExit: 0
serializedVersion: 3
m_TransitionDuration: 0.25
m_TransitionOffset: 0
m_ExitTime: 0.25
m_HasExitTime: 1
m_HasFixedDuration: 1
m_InterruptionSource: 0
m_OrderedInterruption: 1
m_CanTransitionToSelf: 1
--- !u!1102 &-4560172163980586792
AnimatorState:
serializedVersion: 6
@ -93,6 +115,9 @@ AnimatorStateMachine:
- serializedVersion: 1
m_State: {fileID: 5088002357541956511}
m_Position: {x: 270, y: 130, z: 0}
- serializedVersion: 1
m_State: {fileID: 2202888483903257212}
m_Position: {x: 650, y: 80, z: 0}
m_ChildStateMachines: []
m_AnyStateTransitions: []
m_EntryTransitions: []
@ -125,6 +150,33 @@ AnimatorController:
m_IKPass: 0
m_SyncedLayerAffectsTiming: 0
m_Controller: {fileID: 9100000}
--- !u!1102 &2202888483903257212
AnimatorState:
serializedVersion: 6
m_ObjectHideFlags: 1
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: fall
m_Speed: 1
m_CycleOffset: 0
m_Transitions:
- {fileID: -5591195661498699232}
m_StateMachineBehaviours: []
m_Position: {x: 50, y: 50, z: 0}
m_IKOnFeet: 0
m_WriteDefaultValues: 1
m_Mirror: 0
m_SpeedParameterActive: 0
m_MirrorParameterActive: 0
m_CycleOffsetParameterActive: 0
m_TimeParameterActive: 0
m_Motion: {fileID: 7400000, guid: 1f64ec61c1e172743bdfe77f8877fd36, type: 2}
m_Tag:
m_SpeedParameter:
m_MirrorParameter:
m_CycleOffsetParameter:
m_TimeParameter:
--- !u!1102 &5088002357541956511
AnimatorState:
serializedVersion: 6

0
unity/Assets/Sprites/babydragon_sheets/Dragon_Red.controller.meta → unity/Assets/Sprites/babydragon_sheets/red/Dragon_Red.controller.meta

0
unity/Assets/Sprites/babydragon_sheets/dragon_red.png → unity/Assets/Sprites/babydragon_sheets/red/dragon_red.png

Before

Width:  |  Height:  |  Size: 69 KiB

After

Width:  |  Height:  |  Size: 69 KiB

0
unity/Assets/Sprites/babydragon_sheets/dragon_red.png.meta → unity/Assets/Sprites/babydragon_sheets/red/dragon_red.png.meta

80
unity/Assets/Sprites/babydragon_sheets/red/fall.anim

@ -0,0 +1,80 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!74 &7400000
AnimationClip:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: fall
serializedVersion: 6
m_Legacy: 0
m_Compressed: 0
m_UseHighQualityCurve: 1
m_RotationCurves: []
m_CompressedRotationCurves: []
m_EulerCurves: []
m_PositionCurves: []
m_ScaleCurves: []
m_FloatCurves: []
m_PPtrCurves:
- curve:
- time: 0
value: {fileID: -6049057457501052359, guid: a0e17cad4342ba34eb84f9fd99fad50a, type: 3}
- time: 0.083333336
value: {fileID: -5015637247106045528, guid: a0e17cad4342ba34eb84f9fd99fad50a, type: 3}
- time: 0.16666667
value: {fileID: -429297134293501380, guid: a0e17cad4342ba34eb84f9fd99fad50a, type: 3}
- time: 0.25
value: {fileID: 3564599523736874756, guid: a0e17cad4342ba34eb84f9fd99fad50a, type: 3}
- time: 0.31666666
value: {fileID: 3564599523736874756, guid: a0e17cad4342ba34eb84f9fd99fad50a, type: 3}
attribute: m_Sprite
path:
classID: 212
script: {fileID: 0}
m_SampleRate: 60
m_WrapMode: 0
m_Bounds:
m_Center: {x: 0, y: 0, z: 0}
m_Extent: {x: 0, y: 0, z: 0}
m_ClipBindingConstant:
genericBindings:
- serializedVersion: 2
path: 0
attribute: 0
script: {fileID: 0}
typeID: 212
customType: 23
isPPtrCurve: 1
pptrCurveMapping:
- {fileID: -6049057457501052359, guid: a0e17cad4342ba34eb84f9fd99fad50a, type: 3}
- {fileID: -5015637247106045528, guid: a0e17cad4342ba34eb84f9fd99fad50a, type: 3}
- {fileID: -429297134293501380, guid: a0e17cad4342ba34eb84f9fd99fad50a, type: 3}
- {fileID: 3564599523736874756, guid: a0e17cad4342ba34eb84f9fd99fad50a, type: 3}
- {fileID: 3564599523736874756, guid: a0e17cad4342ba34eb84f9fd99fad50a, type: 3}
m_AnimationClipSettings:
serializedVersion: 2
m_AdditiveReferencePoseClip: {fileID: 0}
m_AdditiveReferencePoseTime: 0
m_StartTime: 0
m_StopTime: 0.33333334
m_OrientationOffsetY: 0
m_Level: 0
m_CycleOffset: 0
m_HasAdditiveReferencePose: 0
m_LoopTime: 1
m_LoopBlend: 0
m_LoopBlendOrientation: 0
m_LoopBlendPositionY: 0
m_LoopBlendPositionXZ: 0
m_KeepOriginalOrientation: 0
m_KeepOriginalPositionY: 1
m_KeepOriginalPositionXZ: 0
m_HeightFromFeet: 0
m_Mirror: 0
m_EditorCurves: []
m_EulerEditorCurves: []
m_HasGenericRootTransform: 0
m_HasMotionFloatCurves: 0
m_Events: []

8
unity/Assets/Sprites/babydragon_sheets/red/fall.anim.meta

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 1f64ec61c1e172743bdfe77f8877fd36
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 7400000
userData:
assetBundleName:
assetBundleVariant:

4
unity/Assets/Sprites/babydragon_sheets/fly.anim → unity/Assets/Sprites/babydragon_sheets/red/fly.anim

@ -20,7 +20,7 @@ AnimationClip:
m_PPtrCurves:
- curve:
- time: 0
value: {fileID: 3947601404920457750, guid: a0e17cad4342ba34eb84f9fd99fad50a, type: 3}
value: {fileID: 4601113484269595429, guid: a0e17cad4342ba34eb84f9fd99fad50a, type: 3}
- time: 0.05
value: {fileID: -3632370436216186304, guid: a0e17cad4342ba34eb84f9fd99fad50a, type: 3}
- time: 0.1
@ -54,7 +54,7 @@ AnimationClip:
customType: 23
isPPtrCurve: 1
pptrCurveMapping:
- {fileID: 3947601404920457750, guid: a0e17cad4342ba34eb84f9fd99fad50a, type: 3}
- {fileID: 4601113484269595429, guid: a0e17cad4342ba34eb84f9fd99fad50a, type: 3}
- {fileID: -3632370436216186304, guid: a0e17cad4342ba34eb84f9fd99fad50a, type: 3}
- {fileID: 6619212068875895600, guid: a0e17cad4342ba34eb84f9fd99fad50a, type: 3}
- {fileID: 529423214910536459, guid: a0e17cad4342ba34eb84f9fd99fad50a, type: 3}

0
unity/Assets/Sprites/babydragon_sheets/fly.anim.meta → unity/Assets/Sprites/babydragon_sheets/red/fly.anim.meta

68
unity/Assets/Sprites/babydragon_sheets/red/glide.anim

@ -0,0 +1,68 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!74 &7400000
AnimationClip:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: glide
serializedVersion: 6
m_Legacy: 0
m_Compressed: 0
m_UseHighQualityCurve: 1
m_RotationCurves: []
m_CompressedRotationCurves: []
m_EulerCurves: []
m_PositionCurves: []
m_ScaleCurves: []
m_FloatCurves: []
m_PPtrCurves:
- curve:
- time: 0
value: {fileID: 4601113484269595429, guid: a0e17cad4342ba34eb84f9fd99fad50a, type: 3}
attribute: m_Sprite
path:
classID: 212
script: {fileID: 0}
m_SampleRate: 60
m_WrapMode: 0
m_Bounds:
m_Center: {x: 0, y: 0, z: 0}
m_Extent: {x: 0, y: 0, z: 0}
m_ClipBindingConstant:
genericBindings:
- serializedVersion: 2
path: 0
attribute: 0
script: {fileID: 0}
typeID: 212
customType: 23
isPPtrCurve: 1
pptrCurveMapping:
- {fileID: 4601113484269595429, guid: a0e17cad4342ba34eb84f9fd99fad50a, type: 3}
m_AnimationClipSettings:
serializedVersion: 2
m_AdditiveReferencePoseClip: {fileID: 0}
m_AdditiveReferencePoseTime: 0
m_StartTime: 0
m_StopTime: 0.016666668
m_OrientationOffsetY: 0
m_Level: 0
m_CycleOffset: 0
m_HasAdditiveReferencePose: 0
m_LoopTime: 1
m_LoopBlend: 0
m_LoopBlendOrientation: 0
m_LoopBlendPositionY: 0
m_LoopBlendPositionXZ: 0
m_KeepOriginalOrientation: 0
m_KeepOriginalPositionY: 1
m_KeepOriginalPositionXZ: 0
m_HeightFromFeet: 0
m_Mirror: 0
m_EditorCurves: []
m_EulerEditorCurves: []
m_HasGenericRootTransform: 0
m_HasMotionFloatCurves: 0
m_Events: []

0
unity/Assets/Sprites/babydragon_sheets/glide.anim.meta → unity/Assets/Sprites/babydragon_sheets/red/glide.anim.meta

3
unity/ProjectSettings/TagManager.asset

@ -3,7 +3,8 @@
--- !u!78 &1
TagManager:
serializedVersion: 2
tags: []
tags:
- Fireball
layers:
- Default
- TransparentFX

Loading…
Cancel
Save