Added Kenney art.

This commit is contained in:
twig 2021-02-15 21:37:04 -06:00
parent 4d5934d4a0
commit 07f08dc96f
32 changed files with 6546 additions and 9 deletions

View File

@ -23,6 +23,7 @@
<Path>ProjectSettings</Path>
</explicitIncludes>
<explicitExcludes>
<Path>.git</Path>
<Path>.idea</Path>
<Path>Library</Path>
<Path>Logs</Path>

View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$" vcs="Git" />
</component>
</project>

View File

@ -29,7 +29,7 @@ Transform:
m_GameObject: {fileID: 9204008304508852171}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: -3.77, y: 0, z: 0}
m_LocalScale: {x: 0.7, y: 1, z: 1}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 0
@ -74,8 +74,8 @@ SpriteRenderer:
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
m_Sprite: {fileID: 7482667652216324306, guid: db750325989564987a34393247d883b4, type: 3}
m_Color: {r: 0.39165226, g: 0.6792453, b: 0.3812745, a: 1}
m_Sprite: {fileID: -1114672025921173991, guid: f04b8998e68c0d44fb8fcdab13b6a653, type: 3}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_FlipX: 0
m_FlipY: 0
m_DrawMode: 0
@ -123,14 +123,14 @@ BoxCollider2D:
m_SpriteTilingProperty:
border: {x: 0, y: 0, z: 0, w: 0}
pivot: {x: 0.5, y: 0.5}
oldSize: {x: 1, y: 1}
oldSize: {x: 0.515625, y: 0.71875}
newSize: {x: 1, y: 1}
adaptiveTilingThreshold: 0.5
drawMode: 0
adaptiveTiling: 0
m_AutoTiling: 0
serializedVersion: 2
m_Size: {x: 1, y: 1}
m_Size: {x: 0.52, y: 0.73}
m_EdgeRadius: 0
--- !u!114 &9204008304508852166
MonoBehaviour:

View File

@ -0,0 +1,795 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!29 &1
OcclusionCullingSettings:
m_ObjectHideFlags: 0
serializedVersion: 2
m_OcclusionBakeSettings:
smallestOccluder: 5
smallestHole: 0.25
backfaceThreshold: 100
m_SceneGUID: 00000000000000000000000000000000
m_OcclusionCullingData: {fileID: 0}
--- !u!104 &2
RenderSettings:
m_ObjectHideFlags: 0
serializedVersion: 9
m_Fog: 0
m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1}
m_FogMode: 3
m_FogDensity: 0.01
m_LinearFogStart: 0
m_LinearFogEnd: 300
m_AmbientSkyColor: {r: 0.212, g: 0.227, b: 0.259, a: 1}
m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1}
m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1}
m_AmbientIntensity: 1
m_AmbientMode: 3
m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1}
m_SkyboxMaterial: {fileID: 0}
m_HaloStrength: 0.5
m_FlareStrength: 1
m_FlareFadeSpeed: 3
m_HaloTexture: {fileID: 0}
m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0}
m_DefaultReflectionMode: 0
m_DefaultReflectionResolution: 128
m_ReflectionBounces: 1
m_ReflectionIntensity: 1
m_CustomReflection: {fileID: 0}
m_Sun: {fileID: 0}
m_IndirectSpecularColor: {r: 0, g: 0, b: 0, a: 1}
m_UseRadianceAmbientProbe: 0
--- !u!157 &3
LightmapSettings:
m_ObjectHideFlags: 0
serializedVersion: 12
m_GIWorkflowMode: 1
m_GISettings:
serializedVersion: 2
m_BounceScale: 1
m_IndirectOutputScale: 1
m_AlbedoBoost: 1
m_EnvironmentLightingMode: 0
m_EnableBakedLightmaps: 0
m_EnableRealtimeLightmaps: 0
m_LightmapEditorSettings:
serializedVersion: 12
m_Resolution: 2
m_BakeResolution: 40
m_AtlasSize: 1024
m_AO: 0
m_AOMaxDistance: 1
m_CompAOExponent: 1
m_CompAOExponentDirect: 0
m_ExtractAmbientOcclusion: 0
m_Padding: 2
m_LightmapParameters: {fileID: 0}
m_LightmapsBakeMode: 1
m_TextureCompression: 1
m_FinalGather: 0
m_FinalGatherFiltering: 1
m_FinalGatherRayCount: 256
m_ReflectionCompression: 2
m_MixedBakeMode: 2
m_BakeBackend: 1
m_PVRSampling: 1
m_PVRDirectSampleCount: 32
m_PVRSampleCount: 512
m_PVRBounces: 2
m_PVREnvironmentSampleCount: 256
m_PVREnvironmentReferencePointCount: 2048
m_PVRFilteringMode: 1
m_PVRDenoiserTypeDirect: 1
m_PVRDenoiserTypeIndirect: 1
m_PVRDenoiserTypeAO: 1
m_PVRFilterTypeDirect: 0
m_PVRFilterTypeIndirect: 0
m_PVRFilterTypeAO: 0
m_PVREnvironmentMIS: 1
m_PVRCulling: 1
m_PVRFilteringGaussRadiusDirect: 1
m_PVRFilteringGaussRadiusIndirect: 5
m_PVRFilteringGaussRadiusAO: 2
m_PVRFilteringAtrousPositionSigmaDirect: 0.5
m_PVRFilteringAtrousPositionSigmaIndirect: 2
m_PVRFilteringAtrousPositionSigmaAO: 1
m_ExportTrainingData: 0
m_TrainingDataDestination: TrainingData
m_LightProbeSampleCountMultiplier: 4
m_LightingDataAsset: {fileID: 0}
m_LightingSettings: {fileID: 0}
--- !u!196 &4
NavMeshSettings:
serializedVersion: 2
m_ObjectHideFlags: 0
m_BuildSettings:
serializedVersion: 2
agentTypeID: 0
agentRadius: 0.5
agentHeight: 2
agentSlope: 45
agentClimb: 0.4
ledgeDropHeight: 0
maxJumpAcrossDistance: 0
minRegionArea: 2
manualCellSize: 0
cellSize: 0.16666667
manualTileSize: 0
tileSize: 256
accuratePlacement: 0
maxJobWorkers: 0
preserveTilesOutsideBounds: 0
debug:
m_Flags: 0
m_NavMeshData: {fileID: 0}
--- !u!1001 &85760614
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: 9204008304508852167, guid: 641b770d11eb6914cbfbd58520c064fe, type: 3}
propertyPath: m_RootOrder
value: 1
objectReference: {fileID: 0}
- target: {fileID: 9204008304508852167, guid: 641b770d11eb6914cbfbd58520c064fe, type: 3}
propertyPath: m_LocalPosition.x
value: -3.77
objectReference: {fileID: 0}
- target: {fileID: 9204008304508852167, guid: 641b770d11eb6914cbfbd58520c064fe, type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 9204008304508852167, guid: 641b770d11eb6914cbfbd58520c064fe, type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 9204008304508852167, guid: 641b770d11eb6914cbfbd58520c064fe, type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 9204008304508852167, guid: 641b770d11eb6914cbfbd58520c064fe, type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 9204008304508852167, guid: 641b770d11eb6914cbfbd58520c064fe, type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 9204008304508852167, guid: 641b770d11eb6914cbfbd58520c064fe, type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 9204008304508852167, guid: 641b770d11eb6914cbfbd58520c064fe, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 9204008304508852167, guid: 641b770d11eb6914cbfbd58520c064fe, type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 9204008304508852167, guid: 641b770d11eb6914cbfbd58520c064fe, type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 9204008304508852171, guid: 641b770d11eb6914cbfbd58520c064fe, type: 3}
propertyPath: m_Name
value: Player
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 641b770d11eb6914cbfbd58520c064fe, type: 3}
--- !u!1 &173912074
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 173912076}
- component: {fileID: 173912075}
m_Layer: 0
m_Name: Grid
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!156049354 &173912075
Grid:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 173912074}
m_Enabled: 1
m_CellSize: {x: 1, y: 1, z: 0}
m_CellGap: {x: 0, y: 0, z: 0}
m_CellLayout: 0
m_CellSwizzle: 0
--- !u!4 &173912076
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 173912074}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 1803244506}
m_Father: {fileID: 0}
m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &897371853
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 897371854}
m_Layer: 0
m_Name: colliders
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &897371854
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 897371853}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 1433064734}
- {fileID: 1254417950}
m_Father: {fileID: 0}
m_RootOrder: 3
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &1254417949
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1254417950}
- component: {fileID: 1254417951}
m_Layer: 0
m_Name: right
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &1254417950
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1254417949}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 8, y: -2.5, z: -1.619261}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 897371854}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!61 &1254417951
BoxCollider2D:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1254417949}
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}
m_SpriteTilingProperty:
border: {x: 0, y: 0, z: 0, w: 0}
pivot: {x: 0, y: 0}
oldSize: {x: 0, y: 0}
newSize: {x: 0, y: 0}
adaptiveTilingThreshold: 0
drawMode: 0
adaptiveTiling: 0
m_AutoTiling: 0
serializedVersion: 2
m_Size: {x: 8, y: 1}
m_EdgeRadius: 0
--- !u!1 &1433064733
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1433064734}
- component: {fileID: 1433064735}
m_Layer: 0
m_Name: left
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &1433064734
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1433064733}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: -4.5, y: -2.5, z: -1.619261}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 897371854}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!61 &1433064735
BoxCollider2D:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1433064733}
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}
m_SpriteTilingProperty:
border: {x: 0, y: 0, z: 0, w: 0}
pivot: {x: 0, y: 0}
oldSize: {x: 0, y: 0}
newSize: {x: 0, y: 0}
adaptiveTilingThreshold: 0
drawMode: 0
adaptiveTiling: 0
m_AutoTiling: 0
serializedVersion: 2
m_Size: {x: 11, y: 1}
m_EdgeRadius: 0
--- !u!1 &1531813922
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1531813925}
- component: {fileID: 1531813924}
- component: {fileID: 1531813923}
m_Layer: 0
m_Name: Main Camera
m_TagString: MainCamera
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!81 &1531813923
AudioListener:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1531813922}
m_Enabled: 1
--- !u!20 &1531813924
Camera:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1531813922}
m_Enabled: 1
serializedVersion: 2
m_ClearFlags: 2
m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0}
m_projectionMatrixMode: 1
m_GateFitMode: 2
m_FOVAxisMode: 0
m_SensorSize: {x: 36, y: 24}
m_LensShift: {x: 0, y: 0}
m_FocalLength: 50
m_NormalizedViewPortRect:
serializedVersion: 2
x: 0
y: 0
width: 1
height: 1
near clip plane: 0.3
far clip plane: 1000
field of view: 60
orthographic: 1
orthographic size: 5
m_Depth: -1
m_CullingMask:
serializedVersion: 2
m_Bits: 4294967295
m_RenderingPath: -1
m_TargetTexture: {fileID: 0}
m_TargetDisplay: 0
m_TargetEye: 3
m_HDR: 1
m_AllowMSAA: 1
m_AllowDynamicResolution: 0
m_ForceIntoRT: 0
m_OcclusionCulling: 1
m_StereoConvergence: 10
m_StereoSeparation: 0.022
--- !u!4 &1531813925
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1531813922}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: -10}
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!1 &1803244505
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1803244506}
- component: {fileID: 1803244508}
- component: {fileID: 1803244507}
m_Layer: 0
m_Name: Level
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &1803244506
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1803244505}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 173912076}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!483693784 &1803244507
TilemapRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1803244505}
m_Enabled: 1
m_CastShadows: 0
m_ReceiveShadows: 0
m_DynamicOccludee: 1
m_MotionVectors: 1
m_LightProbeUsage: 0
m_ReflectionProbeUsage: 0
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_ChunkSize: {x: 32, y: 32, z: 32}
m_ChunkCullingBounds: {x: 0, y: 0, z: 0}
m_MaxChunkCount: 16
m_MaxFrameAge: 16
m_SortOrder: 0
m_Mode: 0
m_DetectChunkCullingBounds: 0
m_MaskInteraction: 0
--- !u!1839735485 &1803244508
Tilemap:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1803244505}
m_Enabled: 1
m_Tiles:
- first: {x: -10, y: -3, z: 0}
second:
serializedVersion: 2
m_TileIndex: 2
m_TileSpriteIndex: 2
m_TileMatrixIndex: 0
m_TileColorIndex: 0
m_TileObjectToInstantiateIndex: 65535
dummyAlignment: 0
m_AllTileFlags: 1073741825
- first: {x: -9, y: -3, z: 0}
second:
serializedVersion: 2
m_TileIndex: 0
m_TileSpriteIndex: 0
m_TileMatrixIndex: 0
m_TileColorIndex: 0
m_TileObjectToInstantiateIndex: 65535
dummyAlignment: 0
m_AllTileFlags: 1073741825
- first: {x: -8, y: -3, z: 0}
second:
serializedVersion: 2
m_TileIndex: 0
m_TileSpriteIndex: 0
m_TileMatrixIndex: 0
m_TileColorIndex: 0
m_TileObjectToInstantiateIndex: 65535
dummyAlignment: 0
m_AllTileFlags: 1073741825
- first: {x: -7, y: -3, z: 0}
second:
serializedVersion: 2
m_TileIndex: 0
m_TileSpriteIndex: 0
m_TileMatrixIndex: 0
m_TileColorIndex: 0
m_TileObjectToInstantiateIndex: 65535
dummyAlignment: 0
m_AllTileFlags: 1073741825
- first: {x: -6, y: -3, z: 0}
second:
serializedVersion: 2
m_TileIndex: 0
m_TileSpriteIndex: 0
m_TileMatrixIndex: 0
m_TileColorIndex: 0
m_TileObjectToInstantiateIndex: 65535
dummyAlignment: 0
m_AllTileFlags: 1073741825
- first: {x: -5, y: -3, z: 0}
second:
serializedVersion: 2
m_TileIndex: 0
m_TileSpriteIndex: 0
m_TileMatrixIndex: 0
m_TileColorIndex: 0
m_TileObjectToInstantiateIndex: 65535
dummyAlignment: 0
m_AllTileFlags: 1073741825
- first: {x: -4, y: -3, z: 0}
second:
serializedVersion: 2
m_TileIndex: 0
m_TileSpriteIndex: 0
m_TileMatrixIndex: 0
m_TileColorIndex: 0
m_TileObjectToInstantiateIndex: 65535
dummyAlignment: 0
m_AllTileFlags: 1073741825
- first: {x: -3, y: -3, z: 0}
second:
serializedVersion: 2
m_TileIndex: 0
m_TileSpriteIndex: 0
m_TileMatrixIndex: 0
m_TileColorIndex: 0
m_TileObjectToInstantiateIndex: 65535
dummyAlignment: 0
m_AllTileFlags: 1073741825
- first: {x: -2, y: -3, z: 0}
second:
serializedVersion: 2
m_TileIndex: 0
m_TileSpriteIndex: 0
m_TileMatrixIndex: 0
m_TileColorIndex: 0
m_TileObjectToInstantiateIndex: 65535
dummyAlignment: 0
m_AllTileFlags: 1073741825
- first: {x: -1, y: -3, z: 0}
second:
serializedVersion: 2
m_TileIndex: 0
m_TileSpriteIndex: 0
m_TileMatrixIndex: 0
m_TileColorIndex: 0
m_TileObjectToInstantiateIndex: 65535
dummyAlignment: 0
m_AllTileFlags: 1073741825
- first: {x: 0, y: -3, z: 0}
second:
serializedVersion: 2
m_TileIndex: 1
m_TileSpriteIndex: 1
m_TileMatrixIndex: 0
m_TileColorIndex: 0
m_TileObjectToInstantiateIndex: 65535
dummyAlignment: 0
m_AllTileFlags: 1073741825
- first: {x: 4, y: -3, z: 0}
second:
serializedVersion: 2
m_TileIndex: 2
m_TileSpriteIndex: 2
m_TileMatrixIndex: 0
m_TileColorIndex: 0
m_TileObjectToInstantiateIndex: 65535
dummyAlignment: 0
m_AllTileFlags: 1073741825
- first: {x: 5, y: -3, z: 0}
second:
serializedVersion: 2
m_TileIndex: 0
m_TileSpriteIndex: 0
m_TileMatrixIndex: 0
m_TileColorIndex: 0
m_TileObjectToInstantiateIndex: 65535
dummyAlignment: 0
m_AllTileFlags: 1073741825
- first: {x: 6, y: -3, z: 0}
second:
serializedVersion: 2
m_TileIndex: 0
m_TileSpriteIndex: 0
m_TileMatrixIndex: 0
m_TileColorIndex: 0
m_TileObjectToInstantiateIndex: 65535
dummyAlignment: 0
m_AllTileFlags: 1073741825
- first: {x: 7, y: -3, z: 0}
second:
serializedVersion: 2
m_TileIndex: 0
m_TileSpriteIndex: 0
m_TileMatrixIndex: 0
m_TileColorIndex: 0
m_TileObjectToInstantiateIndex: 65535
dummyAlignment: 0
m_AllTileFlags: 1073741825
- first: {x: 8, y: -3, z: 0}
second:
serializedVersion: 2
m_TileIndex: 0
m_TileSpriteIndex: 0
m_TileMatrixIndex: 0
m_TileColorIndex: 0
m_TileObjectToInstantiateIndex: 65535
dummyAlignment: 0
m_AllTileFlags: 1073741825
- first: {x: 9, y: -3, z: 0}
second:
serializedVersion: 2
m_TileIndex: 0
m_TileSpriteIndex: 0
m_TileMatrixIndex: 0
m_TileColorIndex: 0
m_TileObjectToInstantiateIndex: 65535
dummyAlignment: 0
m_AllTileFlags: 1073741825
- first: {x: 10, y: -3, z: 0}
second:
serializedVersion: 2
m_TileIndex: 0
m_TileSpriteIndex: 0
m_TileMatrixIndex: 0
m_TileColorIndex: 0
m_TileObjectToInstantiateIndex: 65535
dummyAlignment: 0
m_AllTileFlags: 1073741825
- first: {x: 11, y: -3, z: 0}
second:
serializedVersion: 2
m_TileIndex: 1
m_TileSpriteIndex: 1
m_TileMatrixIndex: 0
m_TileColorIndex: 0
m_TileObjectToInstantiateIndex: 65535
dummyAlignment: 0
m_AllTileFlags: 1073741825
m_AnimatedTiles: {}
m_TileAssetArray:
- m_RefCount: 15
m_Data: {fileID: 11400000, guid: 9f6abc507697eae4182625ff4d1af28a, type: 2}
- m_RefCount: 2
m_Data: {fileID: 11400000, guid: 14421561aa252544d9a007d0909d5ca0, type: 2}
- m_RefCount: 2
m_Data: {fileID: 11400000, guid: 037f0e75d6856a84b8e0c7ee0ea6fae1, type: 2}
m_TileSpriteArray:
- m_RefCount: 15
m_Data: {fileID: 578142255533913989, guid: b4ea317318b0aaf4e8c6ce033d1242da, type: 3}
- m_RefCount: 2
m_Data: {fileID: 7482571501025514076, guid: b4ea317318b0aaf4e8c6ce033d1242da, type: 3}
- m_RefCount: 2
m_Data: {fileID: -8841940012206042853, guid: b4ea317318b0aaf4e8c6ce033d1242da, type: 3}
m_TileMatrixArray:
- m_RefCount: 19
m_Data:
e00: 1
e01: 0
e02: 0
e03: 0
e10: 0
e11: 1
e12: 0
e13: 0
e20: 0
e21: 0
e22: 1
e23: 0
e30: 0
e31: 0
e32: 0
e33: 1
m_TileColorArray:
- m_RefCount: 19
m_Data: {r: 1, g: 1, b: 1, a: 1}
m_TileObjectToInstantiateArray: []
m_AnimationFrameRate: 1
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_Origin: {x: -10, y: -3, z: 0}
m_Size: {x: 22, y: 3, z: 1}
m_TileAnchor: {x: 0.5, y: 0.5, z: 0}
m_TileOrientation: 0
m_TileOrientationMatrix:
e00: 1
e01: 0
e02: 0
e03: 0
e10: 0
e11: 1
e12: 0
e13: 0
e20: 0
e21: 0
e22: 1
e23: 0
e30: 0
e31: 0
e32: 0
e33: 1

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 6913fe2a978145241bd2a0f89f474f8c
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

8
Assets/Spritesheets.meta Normal file
View File

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

View File

@ -0,0 +1,390 @@
fileFormatVersion: 2
guid: f04b8998e68c0d44fb8fcdab13b6a653
TextureImporter:
internalIDToNameTable:
- first:
213: -1018745718228308129
second: p1_walk03
- first:
213: -2042091158872986364
second: p1_walk04
- first:
213: -9189606489967705000
second: p1_walk05
- first:
213: -5704850231166046293
second: p1_walk06
- first:
213: -1523361138589310647
second: p1_walk07
- first:
213: -3352234913736326317
second: p1_walk08
- first:
213: 1127191578808125781
second: p1_walk09
- first:
213: 2309543018721187582
second: p1_walk10
- first:
213: -7515962413704413232
second: p1_walk11
- first:
213: -1114672025921173991
second: p1_stand
externalObjects: {}
serializedVersion: 11
mipmaps:
mipMapMode: 0
enableMipMap: 0
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
vTOnly: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: 0
aniso: -1
mipBias: -100
wrapU: 1
wrapV: 1
wrapW: 1
nPOTScale: 0
lightmap: 0
compressionQuality: 50
spriteMode: 2
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 128
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 1
spriteTessellationDetail: -1
textureType: 8
textureShape: 1
singleChannelComponent: 0
flipbookRows: 1
flipbookColumns: 1
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
ignorePngGamma: 0
applyGammaDecoding: 0
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: 4
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Standalone
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: 4
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
spriteSheet:
serializedVersion: 2
sprites:
- serializedVersion: 2
name: p1_walk01
rect:
serializedVersion: 2
x: 0
y: 191
width: 72
height: 97
alignment: 0
pivot: {x: 0.5, y: 0.5}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: 51b234a0151c8cf70800000000000000
internalID: 9207821991967664917
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: p1_walk02
rect:
serializedVersion: 2
x: 73
y: 191
width: 72
height: 97
alignment: 0
pivot: {x: 0.5, y: 0.5}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: 88177c0ad4beb3d90800000000000000
internalID: -7116836067486502520
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: p1_walk03
rect:
serializedVersion: 2
x: 146
y: 191
width: 72
height: 97
alignment: 0
pivot: {x: 0.5, y: 0.5}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: f5f2d84ba20bcd1f0800000000000000
internalID: -1018745718228308129
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: p1_walk04
rect:
serializedVersion: 2
x: 0
y: 93
width: 72
height: 97
alignment: 0
pivot: {x: 0.5, y: 0.5}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: 40de86419e809a3e0800000000000000
internalID: -2042091158872986364
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: p1_walk05
rect:
serializedVersion: 2
x: 73
y: 93
width: 72
height: 97
alignment: 0
pivot: {x: 0.5, y: 0.5}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: 854c9d30695f77080800000000000000
internalID: -9189606489967705000
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: p1_walk06
rect:
serializedVersion: 2
x: 146
y: 93
width: 72
height: 97
alignment: 0
pivot: {x: 0.5, y: 0.5}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: bafea8ab0fc44d0b0800000000000000
internalID: -5704850231166046293
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: p1_walk07
rect:
serializedVersion: 2
x: 219
y: 191
width: 72
height: 97
alignment: 0
pivot: {x: 0.5, y: 0.5}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: 941efb59d1febdae0800000000000000
internalID: -1523361138589310647
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: p1_walk08
rect:
serializedVersion: 2
x: 292
y: 191
width: 72
height: 97
alignment: 0
pivot: {x: 0.5, y: 0.5}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: 353851b5b187a71d0800000000000000
internalID: -3352234913736326317
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: p1_walk09
rect:
serializedVersion: 2
x: 219
y: 93
width: 72
height: 97
alignment: 0
pivot: {x: 0.5, y: 0.5}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: 5598ba0d4c694af00800000000000000
internalID: 1127191578808125781
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: p1_walk10
rect:
serializedVersion: 2
x: 365
y: 191
width: 72
height: 97
alignment: 0
pivot: {x: 0.5, y: 0.5}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: ef61c5893252d0020800000000000000
internalID: 2309543018721187582
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: p1_walk11
rect:
serializedVersion: 2
x: 292
y: 93
width: 72
height: 97
alignment: 0
pivot: {x: 0.5, y: 0.5}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: 0dff5f98100f1b790800000000000000
internalID: -7515962413704413232
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: p1_stand
rect:
serializedVersion: 2
x: 67
y: 0
width: 66
height: 92
alignment: 0
pivot: {x: 0.5, y: 0.5}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: 91647edb2b3e780f0800000000000000
internalID: -1114672025921173991
vertices: []
indices:
edges: []
weights: []
outline: []
physicsShape: []
bones: []
spriteID: 5e97eb03825dee720800000000000000
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,16 @@
p1_duck = 365 98 69 71
p1_front = 0 196 66 92
p1_hurt = 438 0 69 92
p1_jump = 438 93 67 94
p1_stand = 67 196 66 92
p1_walk01 = 0 0 72 97
p1_walk02 = 73 0 72 97
p1_walk03 = 146 0 72 97
p1_walk04 = 0 98 72 97
p1_walk05 = 73 98 72 97
p1_walk06 = 146 98 72 97
p1_walk07 = 219 0 72 97
p1_walk08 = 292 0 72 97
p1_walk09 = 219 98 72 97
p1_walk10 = 365 0 72 97
p1_walk11 = 292 98 72 97

View File

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 126 KiB

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,174 @@
<TextureAtlas imagePath="sheet.png">
<SubTexture name="box.png" x="0" y="864" width="70" height="70"/>
<SubTexture name="boxAlt.png" x="0" y="792" width="70" height="70"/>
<SubTexture name="boxCoin.png" x="0" y="720" width="70" height="70"/>
<SubTexture name="boxCoinAlt.png" x="0" y="576" width="70" height="70"/>
<SubTexture name="boxCoinAlt_disabled.png" x="0" y="504" width="70" height="70"/>
<SubTexture name="boxCoin_disabled.png" x="0" y="648" width="70" height="70"/>
<SubTexture name="boxEmpty.png" x="0" y="432" width="70" height="70"/>
<SubTexture name="boxExplosive.png" x="0" y="360" width="70" height="70"/>
<SubTexture name="boxExplosiveAlt.png" x="0" y="216" width="70" height="70"/>
<SubTexture name="boxExplosive_disabled.png" x="0" y="288" width="70" height="70"/>
<SubTexture name="boxItem.png" x="0" y="144" width="70" height="70"/>
<SubTexture name="boxItemAlt.png" x="0" y="0" width="70" height="70"/>
<SubTexture name="boxItemAlt_disabled.png" x="432" y="432" width="70" height="70"/>
<SubTexture name="boxItem_disabled.png" x="0" y="72" width="70" height="70"/>
<SubTexture name="boxWarning.png" x="72" y="648" width="70" height="70"/>
<SubTexture name="brickWall.png" x="216" y="0" width="70" height="70"/>
<SubTexture name="bridge.png" x="216" y="72" width="70" height="70"/>
<SubTexture name="bridgeLogs.png" x="288" y="720" width="70" height="70"/>
<SubTexture name="castle.png" x="288" y="792" width="70" height="70"/>
<SubTexture name="castleCenter.png" x="504" y="288" width="70" height="70"/>
<SubTexture name="castleCenter_rounded.png" x="504" y="720" width="70" height="70"/>
<SubTexture name="castleCliffLeft.png" x="504" y="792" width="70" height="70"/>
<SubTexture name="castleCliffLeftAlt.png" x="648" y="720" width="70" height="70"/>
<SubTexture name="castleCliffRight.png" x="648" y="792" width="70" height="70"/>
<SubTexture name="castleCliffRightAlt.png" x="792" y="288" width="70" height="70"/>
<SubTexture name="castleHalf.png" x="792" y="360" width="70" height="70"/>
<SubTexture name="castleHalfLeft.png" x="432" y="720" width="70" height="70"/>
<SubTexture name="castleHalfMid.png" x="648" y="648" width="70" height="70"/>
<SubTexture name="castleHalfRight.png" x="792" y="648" width="70" height="70"/>
<SubTexture name="castleHillLeft.png" x="648" y="576" width="70" height="70"/>
<SubTexture name="castleHillLeft2.png" x="792" y="576" width="70" height="70"/>
<SubTexture name="castleHillRight.png" x="792" y="504" width="70" height="70"/>
<SubTexture name="castleHillRight2.png" x="792" y="432" width="70" height="70"/>
<SubTexture name="castleLedgeLeft.png" x="856" y="868" width="5" height="22"/>
<SubTexture name="castleLedgeRight.png" x="842" y="868" width="5" height="22"/>
<SubTexture name="castleLeft.png" x="792" y="216" width="70" height="70"/>
<SubTexture name="castleMid.png" x="792" y="144" width="70" height="70"/>
<SubTexture name="castleRight.png" x="792" y="72" width="70" height="70"/>
<SubTexture name="dirt.png" x="792" y="0" width="70" height="70"/>
<SubTexture name="dirtCenter.png" x="720" y="864" width="70" height="70"/>
<SubTexture name="dirtCenter_rounded.png" x="720" y="792" width="70" height="70"/>
<SubTexture name="dirtCliffLeft.png" x="720" y="720" width="70" height="70"/>
<SubTexture name="dirtCliffLeftAlt.png" x="720" y="648" width="70" height="70"/>
<SubTexture name="dirtCliffRight.png" x="720" y="576" width="70" height="70"/>
<SubTexture name="dirtCliffRightAlt.png" x="720" y="504" width="70" height="70"/>
<SubTexture name="dirtHalf.png" x="720" y="432" width="70" height="70"/>
<SubTexture name="dirtHalfLeft.png" x="720" y="360" width="70" height="70"/>
<SubTexture name="dirtHalfMid.png" x="720" y="288" width="70" height="70"/>
<SubTexture name="dirtHalfRight.png" x="720" y="216" width="70" height="70"/>
<SubTexture name="dirtHillLeft.png" x="720" y="144" width="70" height="70"/>
<SubTexture name="dirtHillLeft2.png" x="720" y="72" width="70" height="70"/>
<SubTexture name="dirtHillRight.png" x="720" y="0" width="70" height="70"/>
<SubTexture name="dirtHillRight2.png" x="648" y="864" width="70" height="70"/>
<SubTexture name="dirtLedgeLeft.png" x="842" y="892" width="5" height="18"/>
<SubTexture name="dirtLedgeRight.png" x="842" y="912" width="5" height="18"/>
<SubTexture name="dirtLeft.png" x="504" y="432" width="70" height="70"/>
<SubTexture name="dirtMid.png" x="504" y="360" width="70" height="70"/>
<SubTexture name="dirtRight.png" x="648" y="504" width="70" height="70"/>
<SubTexture name="door_closedMid.png" x="648" y="432" width="70" height="70"/>
<SubTexture name="door_closedTop.png" x="648" y="360" width="70" height="70"/>
<SubTexture name="door_openMid.png" x="648" y="288" width="70" height="70"/>
<SubTexture name="door_openTop.png" x="648" y="216" width="70" height="70"/>
<SubTexture name="fence.png" x="648" y="144" width="70" height="70"/>
<SubTexture name="fenceBroken.png" x="648" y="72" width="70" height="70"/>
<SubTexture name="grass.png" x="648" y="0" width="70" height="70"/>
<SubTexture name="grassCenter.png" x="576" y="864" width="70" height="70"/>
<SubTexture name="grassCenter_rounded.png" x="576" y="792" width="70" height="70"/>
<SubTexture name="grassCliffLeft.png" x="576" y="720" width="70" height="70"/>
<SubTexture name="grassCliffLeftAlt.png" x="576" y="648" width="70" height="70"/>
<SubTexture name="grassCliffRight.png" x="576" y="576" width="70" height="70"/>
<SubTexture name="grassCliffRightAlt.png" x="576" y="504" width="70" height="70"/>
<SubTexture name="grassHalf.png" x="576" y="432" width="70" height="70"/>
<SubTexture name="grassHalfLeft.png" x="576" y="360" width="70" height="70"/>
<SubTexture name="grassHalfMid.png" x="576" y="288" width="70" height="70"/>
<SubTexture name="grassHalfRight.png" x="576" y="216" width="70" height="70"/>
<SubTexture name="grassHillLeft.png" x="576" y="144" width="70" height="70"/>
<SubTexture name="grassHillLeft2.png" x="576" y="72" width="70" height="70"/>
<SubTexture name="grassHillRight.png" x="576" y="0" width="70" height="70"/>
<SubTexture name="grassHillRight2.png" x="504" y="864" width="70" height="70"/>
<SubTexture name="grassLedgeLeft.png" x="849" y="868" width="5" height="24"/>
<SubTexture name="grassLedgeRight.png" x="849" y="894" width="5" height="24"/>
<SubTexture name="grassLeft.png" x="504" y="648" width="70" height="70"/>
<SubTexture name="grassMid.png" x="504" y="576" width="70" height="70"/>
<SubTexture name="grassRight.png" x="504" y="504" width="70" height="70"/>
<SubTexture name="hill_large.png" x="842" y="720" width="48" height="146"/>
<SubTexture name="hill_largeAlt.png" x="864" y="0" width="48" height="146"/>
<SubTexture name="hill_small.png" x="792" y="828" width="48" height="106"/>
<SubTexture name="hill_smallAlt.png" x="792" y="720" width="48" height="106"/>
<SubTexture name="ladder_mid.png" x="504" y="144" width="70" height="70"/>
<SubTexture name="ladder_top.png" x="504" y="72" width="70" height="70"/>
<SubTexture name="liquidLava.png" x="504" y="0" width="70" height="70"/>
<SubTexture name="liquidLavaTop.png" x="432" y="864" width="70" height="70"/>
<SubTexture name="liquidLavaTop_mid.png" x="432" y="792" width="70" height="70"/>
<SubTexture name="liquidWater.png" x="504" y="216" width="70" height="70"/>
<SubTexture name="liquidWaterTop.png" x="432" y="648" width="70" height="70"/>
<SubTexture name="liquidWaterTop_mid.png" x="432" y="576" width="70" height="70"/>
<SubTexture name="lock_blue.png" x="432" y="504" width="70" height="70"/>
<SubTexture name="lock_green.png" x="72" y="576" width="70" height="70"/>
<SubTexture name="lock_red.png" x="432" y="360" width="70" height="70"/>
<SubTexture name="lock_yellow.png" x="432" y="288" width="70" height="70"/>
<SubTexture name="rockHillLeft.png" x="432" y="216" width="70" height="70"/>
<SubTexture name="rockHillRight.png" x="432" y="144" width="70" height="70"/>
<SubTexture name="ropeAttached.png" x="432" y="72" width="70" height="70"/>
<SubTexture name="ropeHorizontal.png" x="432" y="0" width="70" height="70"/>
<SubTexture name="ropeVertical.png" x="360" y="864" width="70" height="70"/>
<SubTexture name="sand.png" x="360" y="792" width="70" height="70"/>
<SubTexture name="sandCenter.png" x="576" y="864" width="70" height="70"/>
<SubTexture name="sandCenter_rounded.png" x="576" y="792" width="70" height="70"/>
<SubTexture name="sandCliffLeft.png" x="360" y="720" width="70" height="70"/>
<SubTexture name="sandCliffLeftAlt.png" x="360" y="648" width="70" height="70"/>
<SubTexture name="sandCliffRight.png" x="360" y="576" width="70" height="70"/>
<SubTexture name="sandCliffRightAlt.png" x="360" y="504" width="70" height="70"/>
<SubTexture name="sandHalf.png" x="360" y="432" width="70" height="70"/>
<SubTexture name="sandHalfLeft.png" x="360" y="360" width="70" height="70"/>
<SubTexture name="sandHalfMid.png" x="360" y="288" width="70" height="70"/>
<SubTexture name="sandHalfRight.png" x="360" y="216" width="70" height="70"/>
<SubTexture name="sandHillLeft.png" x="360" y="144" width="70" height="70"/>
<SubTexture name="sandHillLeft2.png" x="360" y="72" width="70" height="70"/>
<SubTexture name="sandHillRight.png" x="360" y="0" width="70" height="70"/>
<SubTexture name="sandHillRight2.png" x="288" y="864" width="70" height="70"/>
<SubTexture name="sandLedgeLeft.png" x="856" y="892" width="5" height="18"/>
<SubTexture name="sandLedgeRight.png" x="856" y="912" width="5" height="18"/>
<SubTexture name="sandLeft.png" x="288" y="648" width="70" height="70"/>
<SubTexture name="sandMid.png" x="288" y="576" width="70" height="70"/>
<SubTexture name="sandRight.png" x="288" y="504" width="70" height="70"/>
<SubTexture name="sign.png" x="288" y="432" width="70" height="70"/>
<SubTexture name="signExit.png" x="288" y="360" width="70" height="70"/>
<SubTexture name="signLeft.png" x="288" y="288" width="70" height="70"/>
<SubTexture name="signRight.png" x="288" y="216" width="70" height="70"/>
<SubTexture name="snow.png" x="288" y="144" width="70" height="70"/>
<SubTexture name="snowCenter.png" x="720" y="864" width="70" height="70"/>
<SubTexture name="snowCenter_rounded.png" x="288" y="72" width="70" height="70"/>
<SubTexture name="snowCliffLeft.png" x="288" y="0" width="70" height="70"/>
<SubTexture name="snowCliffLeftAlt.png" x="216" y="864" width="70" height="70"/>
<SubTexture name="snowCliffRight.png" x="216" y="792" width="70" height="70"/>
<SubTexture name="snowCliffRightAlt.png" x="216" y="720" width="70" height="70"/>
<SubTexture name="snowHalf.png" x="216" y="648" width="70" height="70"/>
<SubTexture name="snowHalfLeft.png" x="216" y="576" width="70" height="70"/>
<SubTexture name="snowHalfMid.png" x="216" y="504" width="70" height="70"/>
<SubTexture name="snowHalfRight.png" x="216" y="432" width="70" height="70"/>
<SubTexture name="snowHillLeft.png" x="216" y="360" width="70" height="70"/>
<SubTexture name="snowHillLeft2.png" x="216" y="288" width="70" height="70"/>
<SubTexture name="snowHillRight.png" x="216" y="216" width="70" height="70"/>
<SubTexture name="snowHillRight2.png" x="216" y="144" width="70" height="70"/>
<SubTexture name="snowLedgeLeft.png" x="863" y="868" width="5" height="18"/>
<SubTexture name="snowLedgeRight.png" x="863" y="888" width="5" height="18"/>
<SubTexture name="snowLeft.png" x="144" y="864" width="70" height="70"/>
<SubTexture name="snowMid.png" x="144" y="792" width="70" height="70"/>
<SubTexture name="snowRight.png" x="144" y="720" width="70" height="70"/>
<SubTexture name="stone.png" x="144" y="648" width="70" height="70"/>
<SubTexture name="stoneCenter.png" x="144" y="576" width="70" height="70"/>
<SubTexture name="stoneCenter_rounded.png" x="144" y="504" width="70" height="70"/>
<SubTexture name="stoneCliffLeft.png" x="144" y="432" width="70" height="70"/>
<SubTexture name="stoneCliffLeftAlt.png" x="144" y="360" width="70" height="70"/>
<SubTexture name="stoneCliffRight.png" x="144" y="288" width="70" height="70"/>
<SubTexture name="stoneCliffRightAlt.png" x="144" y="216" width="70" height="70"/>
<SubTexture name="stoneHalf.png" x="144" y="144" width="70" height="70"/>
<SubTexture name="stoneHalfLeft.png" x="144" y="72" width="70" height="70"/>
<SubTexture name="stoneHalfMid.png" x="144" y="0" width="70" height="70"/>
<SubTexture name="stoneHalfRight.png" x="72" y="864" width="70" height="70"/>
<SubTexture name="stoneHillLeft2.png" x="72" y="792" width="70" height="70"/>
<SubTexture name="stoneHillRight2.png" x="72" y="720" width="70" height="70"/>
<SubTexture name="stoneLedgeLeft.png" x="863" y="908" width="5" height="24"/>
<SubTexture name="stoneLedgeRight.png" x="864" y="148" width="5" height="24"/>
<SubTexture name="stoneLeft.png" x="72" y="504" width="70" height="70"/>
<SubTexture name="stoneMid.png" x="72" y="432" width="70" height="70"/>
<SubTexture name="stoneRight.png" x="72" y="360" width="70" height="70"/>
<SubTexture name="stoneWall.png" x="72" y="288" width="70" height="70"/>
<SubTexture name="tochLit.png" x="72" y="216" width="70" height="70"/>
<SubTexture name="tochLit2.png" x="72" y="144" width="70" height="70"/>
<SubTexture name="torch.png" x="72" y="72" width="70" height="70"/>
<SubTexture name="window.png" x="72" y="0" width="70" height="70"/>
</TextureAtlas>

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 57c606f5f5c7c154dad482c98495b202
TextScriptImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

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

View File

@ -0,0 +1,9 @@
fileFormatVersion: 2
guid: 23aa647f2fb21bf46b850587506ba4a2
folderAsset: yes
timeCreated: 1430572177
licenseType: Store
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,281 @@
using System;
using System.IO;
using System.Linq;
using System.Xml;
using UnityEditor;
using UnityEngine;
public class TextureAtlasSlicer : EditorWindow {
[MenuItem("CONTEXT/TextureImporter/Slice Sprite Using XML")]
public static void SliceUsingXML(MenuCommand command) {
var textureImporter = command.context as TextureImporter;
var window = CreateInstance<TextureAtlasSlicer>();
window.importer = textureImporter;
window.ShowUtility();
}
[MenuItem("Assets/Slice Sprite Using XML")]
public static void TextureAtlasSlicerWindow() {
var window = CreateInstance<TextureAtlasSlicer>();
window.Show();
}
[MenuItem("CONTEXT/TextureImporter/Slice Sprite Using XML", true)]
public static bool ValidateSliceUsingXML(MenuCommand command) {
var textureImporter = command.context as TextureImporter;
//valid only if the texture type is 'sprite' or 'advanced'.
return textureImporter && textureImporter.textureType == TextureImporterType.Sprite ||
textureImporter.textureType == TextureImporterType.Default;
}
public TextureImporter importer;
public TextureAtlasSlicer() {
titleContent = new GUIContent("XML Slicer");
}
[SerializeField]
private TextAsset xmlAsset;
public SpriteAlignment spriteAlignment = SpriteAlignment.Center;
public Vector2 customOffset = new Vector2(0.5f, 0.5f);
public void OnSelectionChange() {
UseSelectedTexture();
}
private Texture2D selectedTexture;
private void UseSelectedTexture() {
if (Selection.objects.Length > 1) {
selectedTexture = null;
} else {
selectedTexture = Selection.activeObject as Texture2D;
}
if (selectedTexture != null) {
var assetPath = AssetDatabase.GetAssetPath(selectedTexture);
importer = AssetImporter.GetAtPath(assetPath) as TextureImporter;
if (importer) {
var extension = Path.GetExtension(assetPath);
var pathWithoutExtension = assetPath.Remove(assetPath.Length - extension.Length, extension.Length);
var xmlPath = pathWithoutExtension + ".xml";
var textAsset = AssetDatabase.LoadAssetAtPath(xmlPath, typeof (TextAsset));
if (textAsset != null) {
xmlAsset = textAsset as TextAsset;
} else {
xmlAsset = null;
subTextures = null;
}
ParseXML();
} else {
xmlAsset = null;
subTextures = null;
}
} else {
importer = null;
xmlAsset = null;
subTextures = null;
}
Repaint();
}
private SubTexture[] subTextures;
private int wantedWidth, wantedHeight;
private void ParseXML() {
try {
var document = new XmlDocument();
document.LoadXml(xmlAsset.text);
var root = document.DocumentElement;
if (root == null || root.Name != "TextureAtlas") {
return;
}
subTextures = root.ChildNodes
.Cast<XmlNode>()
.Where(childNode => childNode.Name == "SubTexture")
.Select(childNode => new SubTexture {
width = Convert.ToInt32(childNode.Attributes["width"].Value),
height = Convert.ToInt32(childNode.Attributes["height"].Value),
x = Convert.ToInt32(childNode.Attributes["x"].Value),
y = Convert.ToInt32(childNode.Attributes["y"].Value),
name = childNode.Attributes["name"].Value
}).ToArray();
wantedWidth = 0;
wantedHeight = 0;
foreach (var subTexture in subTextures) {
var right = subTexture.x + subTexture.width;
var bottom = subTexture.y + subTexture.height;
wantedWidth = Mathf.Max(wantedWidth, right);
wantedHeight = Mathf.Max(wantedHeight, bottom);
}
} catch (Exception) {
subTextures = null;
}
}
public void OnEnable() {
UseSelectedTexture();
}
public void OnGUI() {
if (importer == null) {
EditorGUILayout.LabelField("Please select a texture to slice.");
return;
}
EditorGUI.BeginDisabledGroup(focusedWindow != this);
{
EditorGUI.BeginDisabledGroup(true);
EditorGUILayout.ObjectField("Texture", Selection.activeObject, typeof (Texture), false);
EditorGUI.EndDisabledGroup();
if (importer.textureType != TextureImporterType.Sprite &&
importer.textureType != TextureImporterType.Default) {
EditorGUILayout.LabelField("The Texture Type needs to be Sprite or Advanced!");
}
EditorGUI.BeginDisabledGroup((importer.textureType != TextureImporterType.Sprite &&
importer.textureType != TextureImporterType.Default));
{
EditorGUI.BeginChangeCheck();
xmlAsset = EditorGUILayout.ObjectField("XML Source", xmlAsset, typeof (TextAsset), false) as TextAsset;
if (EditorGUI.EndChangeCheck()) {
ParseXML();
}
spriteAlignment = (SpriteAlignment) EditorGUILayout.EnumPopup("Pivot", spriteAlignment);
EditorGUI.BeginDisabledGroup(spriteAlignment != SpriteAlignment.Custom);
EditorGUILayout.Vector2Field("Custom Offset", customOffset);
EditorGUI.EndDisabledGroup();
var needsToResizeTexture = wantedWidth > selectedTexture.width || wantedHeight > selectedTexture.height;
if (xmlAsset != null && needsToResizeTexture) {
EditorGUILayout.LabelField(
string.Format("Texture size too small."
+ " It needs to be at least {0} by {1} pixels!",
wantedWidth,
wantedHeight));
EditorGUILayout.LabelField("Try changing the Max Size property in the importer.");
}
if (subTextures == null || subTextures.Length == 0) {
EditorGUILayout.LabelField("Could not find any SubTextures in XML.");
}
EditorGUI.BeginDisabledGroup(xmlAsset == null || needsToResizeTexture || subTextures == null ||
subTextures.Length == 0);
if (GUILayout.Button("Slice")) {
PerformSlice();
}
EditorGUI.EndDisabledGroup();
}
EditorGUI.EndDisabledGroup();
}
EditorGUI.EndDisabledGroup();
}
private struct SubTexture {
public int width;
public int height;
public int x;
public int y;
public string name;
}
private void PerformSlice() {
if (importer == null) {
return;
}
var textureHeight = selectedTexture.height;
var needsUpdate = false;
if (importer.spriteImportMode != SpriteImportMode.Multiple) {
needsUpdate = true;
importer.spriteImportMode = SpriteImportMode.Multiple;
}
var wantedSpriteSheet = (from subTexture in subTextures
let actualY = textureHeight - (subTexture.y + subTexture.height)
select new SpriteMetaData {
alignment = (int) spriteAlignment,
border = new Vector4(),
name = subTexture.name,
pivot = GetPivotValue(spriteAlignment, customOffset),
rect = new Rect(subTexture.x, actualY, subTexture.width, subTexture.height)
}).ToArray();
if (!needsUpdate && !importer.spritesheet.SequenceEqual(wantedSpriteSheet)) {
needsUpdate = true;
importer.spritesheet = wantedSpriteSheet;
}
if (needsUpdate) {
EditorUtility.SetDirty(importer);
try {
AssetDatabase.StartAssetEditing();
AssetDatabase.ImportAsset(importer.assetPath);
EditorUtility.DisplayDialog("Success!", "The sprite was sliced successfully.", "OK");
} catch (Exception exception) {
Debug.LogException(exception);
EditorUtility.DisplayDialog("Error", "There was an exception while trying to reimport the image." +
"\nPlease check the console log for details.", "OK");
} finally {
AssetDatabase.StopAssetEditing();
}
} else {
EditorUtility.DisplayDialog("Nope!", "The sprite is already sliced according to this XML file.", "OK");
}
}
//SpriteEditorUtility
public static Vector2 GetPivotValue(SpriteAlignment alignment, Vector2 customOffset) {
switch (alignment) {
case SpriteAlignment.Center:
return new Vector2(0.5f, 0.5f);
case SpriteAlignment.TopLeft:
return new Vector2(0.0f, 1f);
case SpriteAlignment.TopCenter:
return new Vector2(0.5f, 1f);
case SpriteAlignment.TopRight:
return new Vector2(1f, 1f);
case SpriteAlignment.LeftCenter:
return new Vector2(0.0f, 0.5f);
case SpriteAlignment.RightCenter:
return new Vector2(1f, 0.5f);
case SpriteAlignment.BottomLeft:
return new Vector2(0.0f, 0.0f);
case SpriteAlignment.BottomCenter:
return new Vector2(0.5f, 0.0f);
case SpriteAlignment.BottomRight:
return new Vector2(1f, 0.0f);
case SpriteAlignment.Custom:
return customOffset;
default:
return Vector2.zero;
}
}
}

View File

@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: 2067bd0762faf2c48910fee768c92901
timeCreated: 1430572201
licenseType: Store
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,17 @@
# Unity3D-TextureAtlasSlicer
Simple and fast tool to import XML spritesheets (TextureAtlas) into Unity3D!
![Preview Image](https://i.imgur.com/LhmcMjX.png)
Works very well to import [Kenney's sprite assets](http://opengameart.org/users/kenney)!
## Usage
- Copy this folder to your project's assets directory, or just use the latest .unitypackage file from the [Github project's releases](https://github.com/toxicFork/Unity3D-TextureAtlasSlicer/releases), or the [Unity3D asset store](https://www.assetstore.unity3d.com/en/#!/content/36103)!
- You can now use the Assets/Slice Sprite Using XML button!
- This will open a window.
- Select any sprite asset in your Project window
- If it has a XML file with the same name next to it, that XML file will automatically be selected
- Otherwise, drag-drop the XML file reference onto the XML Source field in the Texture Atlas Slicer window
- Configure the pivot settings
- Hit Slice!
- Enjoy! :D

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 463e84607d141d645b70834aa062a0d1
timeCreated: 1430859603
licenseType: Store
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:

View File

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

View File

@ -0,0 +1,36 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 13312, guid: 0000000000000000e000000000000000, type: 0}
m_Name: grassLeft.png
m_EditorClassIdentifier:
m_Sprite: {fileID: -8841940012206042853, guid: b4ea317318b0aaf4e8c6ce033d1242da, type: 3}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_Transform:
e00: 1
e01: 0
e02: 0
e03: 0
e10: 0
e11: 1
e12: 0
e13: 0
e20: 0
e21: 0
e22: 1
e23: 0
e30: 0
e31: 0
e32: 0
e33: 1
m_InstancedGameObject: {fileID: 0}
m_Flags: 1
m_ColliderType: 1

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 037f0e75d6856a84b8e0c7ee0ea6fae1
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,36 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 13312, guid: 0000000000000000e000000000000000, type: 0}
m_Name: grassMid.png
m_EditorClassIdentifier:
m_Sprite: {fileID: 578142255533913989, guid: b4ea317318b0aaf4e8c6ce033d1242da, type: 3}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_Transform:
e00: 1
e01: 0
e02: 0
e03: 0
e10: 0
e11: 1
e12: 0
e13: 0
e20: 0
e21: 0
e22: 1
e23: 0
e30: 0
e31: 0
e32: 0
e33: 1
m_InstancedGameObject: {fileID: 0}
m_Flags: 1
m_ColliderType: 1

View File

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

View File

@ -0,0 +1,36 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 13312, guid: 0000000000000000e000000000000000, type: 0}
m_Name: grassRight.png
m_EditorClassIdentifier:
m_Sprite: {fileID: 7482571501025514076, guid: b4ea317318b0aaf4e8c6ce033d1242da, type: 3}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_Transform:
e00: 1
e01: 0
e02: 0
e03: 0
e10: 0
e11: 1
e12: 0
e13: 0
e20: 0
e21: 0
e22: 1
e23: 0
e30: 0
e31: 0
e32: 0
e33: 1
m_InstancedGameObject: {fileID: 0}
m_Flags: 1
m_ColliderType: 1

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 14421561aa252544d9a007d0909d5ca0
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,241 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &2370329659385710162
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 8539139480661286726}
- component: {fileID: 66220502977324523}
m_Layer: 31
m_Name: level
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &8539139480661286726
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2370329659385710162}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 6515808169164655450}
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!156049354 &66220502977324523
Grid:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2370329659385710162}
m_Enabled: 1
m_CellSize: {x: 1, y: 1, z: 0}
m_CellGap: {x: 0, y: 0, z: 0}
m_CellLayout: 0
m_CellSwizzle: 0
--- !u!1 &3044477987857956088
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 6515808169164655450}
- component: {fileID: 6343937279124186514}
- component: {fileID: 4843335146613774208}
m_Layer: 0
m_Name: Layer1
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &6515808169164655450
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3044477987857956088}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 8539139480661286726}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1839735485 &6343937279124186514
Tilemap:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3044477987857956088}
m_Enabled: 1
m_Tiles:
- first: {x: -4, y: -1, z: 0}
second:
serializedVersion: 2
m_TileIndex: 2
m_TileSpriteIndex: 2
m_TileMatrixIndex: 0
m_TileColorIndex: 0
m_TileObjectToInstantiateIndex: 65535
dummyAlignment: 0
m_AllTileFlags: 1073741825
- first: {x: -4, y: 0, z: 0}
second:
serializedVersion: 2
m_TileIndex: 0
m_TileSpriteIndex: 0
m_TileMatrixIndex: 0
m_TileColorIndex: 0
m_TileObjectToInstantiateIndex: 65535
dummyAlignment: 0
m_AllTileFlags: 1073741825
- first: {x: -3, y: 0, z: 0}
second:
serializedVersion: 2
m_TileIndex: 1
m_TileSpriteIndex: 1
m_TileMatrixIndex: 0
m_TileColorIndex: 0
m_TileObjectToInstantiateIndex: 65535
dummyAlignment: 0
m_AllTileFlags: 1073741825
m_AnimatedTiles: {}
m_TileAssetArray:
- m_RefCount: 1
m_Data: {fileID: 11400000, guid: 037f0e75d6856a84b8e0c7ee0ea6fae1, type: 2}
- m_RefCount: 1
m_Data: {fileID: 11400000, guid: 9f6abc507697eae4182625ff4d1af28a, type: 2}
- m_RefCount: 1
m_Data: {fileID: 11400000, guid: 14421561aa252544d9a007d0909d5ca0, type: 2}
m_TileSpriteArray:
- m_RefCount: 1
m_Data: {fileID: -8841940012206042853, guid: b4ea317318b0aaf4e8c6ce033d1242da, type: 3}
- m_RefCount: 1
m_Data: {fileID: 578142255533913989, guid: b4ea317318b0aaf4e8c6ce033d1242da, type: 3}
- m_RefCount: 1
m_Data: {fileID: 7482571501025514076, guid: b4ea317318b0aaf4e8c6ce033d1242da, type: 3}
m_TileMatrixArray:
- m_RefCount: 3
m_Data:
e00: 1
e01: 0
e02: 0
e03: 0
e10: 0
e11: 1
e12: 0
e13: 0
e20: 0
e21: 0
e22: 1
e23: 0
e30: 0
e31: 0
e32: 0
e33: 1
m_TileColorArray:
- m_RefCount: 3
m_Data: {r: 1, g: 1, b: 1, a: 1}
m_TileObjectToInstantiateArray: []
m_AnimationFrameRate: 1
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_Origin: {x: -4, y: -1, z: 0}
m_Size: {x: 4, y: 2, z: 1}
m_TileAnchor: {x: 0.5, y: 0.5, z: 0}
m_TileOrientation: 0
m_TileOrientationMatrix:
e00: 1
e01: 0
e02: 0
e03: 0
e10: 0
e11: 1
e12: 0
e13: 0
e20: 0
e21: 0
e22: 1
e23: 0
e30: 0
e31: 0
e32: 0
e33: 1
--- !u!483693784 &4843335146613774208
TilemapRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3044477987857956088}
m_Enabled: 1
m_CastShadows: 0
m_ReceiveShadows: 0
m_DynamicOccludee: 0
m_MotionVectors: 1
m_LightProbeUsage: 0
m_ReflectionProbeUsage: 0
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_ChunkSize: {x: 32, y: 32, z: 32}
m_ChunkCullingBounds: {x: 0, y: 0, z: 0}
m_MaxChunkCount: 16
m_MaxFrameAge: 16
m_SortOrder: 0
m_Mode: 0
m_DetectChunkCullingBounds: 0
m_MaskInteraction: 0
--- !u!114 &6095310459342846727
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 12395, guid: 0000000000000000e000000000000000, type: 0}
m_Name: Palette Settings
m_EditorClassIdentifier:
cellSizing: 0
m_TransparencySortMode: 0
m_TransparencySortAxis: {x: 0, y: 0, z: 1}

View File

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

View File

@ -1,2 +1,2 @@
m_EditorVersion: 2020.2.3f1
m_EditorVersionWithRevision: 2020.2.3f1 (8ff31bc5bf5b)
m_EditorVersion: 2020.2.4f1
m_EditorVersionWithRevision: 2020.2.4f1 (becced5a802b)

View File

@ -165,7 +165,7 @@ QualitySettings:
skinWeights: 4
textureQuality: 0
anisotropicTextures: 2
antiAliasing: 2
antiAliasing: 0
softParticles: 1
softVegetation: 1
realtimeReflectionProbes: 1
@ -201,7 +201,7 @@ QualitySettings:
skinWeights: 255
textureQuality: 0
anisotropicTextures: 2
antiAliasing: 2
antiAliasing: 0
softParticles: 1
softVegetation: 1
realtimeReflectionProbes: 1

View File

@ -0,0 +1,167 @@
{
"templatePinStates": [],
"dependencyTypeInfos": [
{
"userAdded": false,
"type": "UnityEngine.AnimationClip",
"ignore": false,
"defaultInstantiationMode": 0,
"supportsModification": true
},
{
"userAdded": false,
"type": "UnityEditor.Animations.AnimatorController",
"ignore": false,
"defaultInstantiationMode": 0,
"supportsModification": true
},
{
"userAdded": false,
"type": "UnityEngine.AnimatorOverrideController",
"ignore": false,
"defaultInstantiationMode": 0,
"supportsModification": true
},
{
"userAdded": false,
"type": "UnityEditor.Audio.AudioMixerController",
"ignore": false,
"defaultInstantiationMode": 0,
"supportsModification": true
},
{
"userAdded": false,
"type": "UnityEngine.ComputeShader",
"ignore": true,
"defaultInstantiationMode": 1,
"supportsModification": true
},
{
"userAdded": false,
"type": "UnityEngine.Cubemap",
"ignore": false,
"defaultInstantiationMode": 0,
"supportsModification": true
},
{
"userAdded": false,
"type": "UnityEngine.GameObject",
"ignore": false,
"defaultInstantiationMode": 0,
"supportsModification": true
},
{
"userAdded": false,
"type": "UnityEditor.LightingDataAsset",
"ignore": false,
"defaultInstantiationMode": 0,
"supportsModification": false
},
{
"userAdded": false,
"type": "UnityEngine.LightingSettings",
"ignore": false,
"defaultInstantiationMode": 0,
"supportsModification": true
},
{
"userAdded": false,
"type": "UnityEngine.Material",
"ignore": false,
"defaultInstantiationMode": 0,
"supportsModification": true
},
{
"userAdded": false,
"type": "UnityEditor.MonoScript",
"ignore": true,
"defaultInstantiationMode": 1,
"supportsModification": true
},
{
"userAdded": false,
"type": "UnityEngine.PhysicMaterial",
"ignore": false,
"defaultInstantiationMode": 0,
"supportsModification": true
},
{
"userAdded": false,
"type": "UnityEngine.PhysicsMaterial2D",
"ignore": false,
"defaultInstantiationMode": 0,
"supportsModification": true
},
{
"userAdded": false,
"type": "UnityEngine.Rendering.PostProcessing.PostProcessProfile",
"ignore": false,
"defaultInstantiationMode": 0,
"supportsModification": true
},
{
"userAdded": false,
"type": "UnityEngine.Rendering.PostProcessing.PostProcessResources",
"ignore": false,
"defaultInstantiationMode": 0,
"supportsModification": true
},
{
"userAdded": false,
"type": "UnityEngine.Rendering.VolumeProfile",
"ignore": false,
"defaultInstantiationMode": 0,
"supportsModification": true
},
{
"userAdded": false,
"type": "UnityEditor.SceneAsset",
"ignore": false,
"defaultInstantiationMode": 0,
"supportsModification": false
},
{
"userAdded": false,
"type": "UnityEngine.Shader",
"ignore": true,
"defaultInstantiationMode": 1,
"supportsModification": true
},
{
"userAdded": false,
"type": "UnityEngine.ShaderVariantCollection",
"ignore": true,
"defaultInstantiationMode": 1,
"supportsModification": true
},
{
"userAdded": false,
"type": "UnityEngine.Texture",
"ignore": false,
"defaultInstantiationMode": 0,
"supportsModification": true
},
{
"userAdded": false,
"type": "UnityEngine.Texture2D",
"ignore": false,
"defaultInstantiationMode": 0,
"supportsModification": true
},
{
"userAdded": false,
"type": "UnityEngine.Timeline.TimelineAsset",
"ignore": false,
"defaultInstantiationMode": 0,
"supportsModification": true
}
],
"defaultDependencyTypeInfo": {
"userAdded": false,
"type": "<default_scene_template_dependencies>",
"ignore": false,
"defaultInstantiationMode": 1,
"supportsModification": true
},
"newSceneOverride": 0
}