initial commit
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 37ccc6f915dab4f13b04932ed904216b
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 23 KiB |
@@ -0,0 +1,153 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 9dfb40a5e18e349ec9111a68e466aeca
|
||||
TextureImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 12
|
||||
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
|
||||
flipGreenChannel: 0
|
||||
isReadable: 0
|
||||
streamingMipmaps: 0
|
||||
streamingMipmapsPriority: 0
|
||||
vTOnly: 0
|
||||
ignoreMipmapLimit: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
seamlessCubemap: 0
|
||||
textureFormat: 1
|
||||
maxTextureSize: 2048
|
||||
textureSettings:
|
||||
serializedVersion: 2
|
||||
filterMode: 1
|
||||
aniso: 1
|
||||
mipBias: 0
|
||||
wrapU: 1
|
||||
wrapV: 1
|
||||
wrapW: 0
|
||||
nPOTScale: 0
|
||||
lightmap: 0
|
||||
compressionQuality: 50
|
||||
spriteMode: 1
|
||||
spriteExtrude: 1
|
||||
spriteMeshType: 1
|
||||
alignment: 0
|
||||
spritePivot: {x: 0.5, y: 0.5}
|
||||
spritePixelsToUnits: 100
|
||||
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
|
||||
swizzle: 50462976
|
||||
cookieLightType: 0
|
||||
platformSettings:
|
||||
- serializedVersion: 3
|
||||
buildTarget: DefaultTexturePlatform
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 3
|
||||
buildTarget: WebGL
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 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
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 3
|
||||
buildTarget: Android
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 3
|
||||
buildTarget: Server
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
spriteSheet:
|
||||
serializedVersion: 2
|
||||
sprites: []
|
||||
outline: []
|
||||
physicsShape: []
|
||||
bones: []
|
||||
spriteID: 5e97eb03825dee720800000000000000
|
||||
internalID: 0
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
secondaryTextures: []
|
||||
nameFileIdTable: {}
|
||||
mipmapLimitGroupName:
|
||||
pSDRemoveMatte: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,135 @@
|
||||
%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: 11500000, guid: ff771ccdf4150419d9ff4d342b069aae, type: 3}
|
||||
m_Name: Step_5.1.0
|
||||
m_EditorClassIdentifier:
|
||||
Title:
|
||||
m_Untranslated: Mission overview
|
||||
m_Paragraphs:
|
||||
m_Items:
|
||||
- m_Type: 9
|
||||
Title:
|
||||
m_Untranslated:
|
||||
Text:
|
||||
m_Untranslated:
|
||||
m_CodeSample:
|
||||
m_PostInstructionImage: {fileID: 0}
|
||||
m_Tutorial: {fileID: 0}
|
||||
m_Image: {fileID: 0}
|
||||
m_VideoUrl: https://storage.googleapis.com/learn-media-public/Essentials-Pathway/Talking%20Head%20Videos/M5_2D/Essentials_Pathway_M5_2D.webm
|
||||
m_Video: {fileID: 0}
|
||||
m_Media:
|
||||
m_ContentType: 2
|
||||
m_Image: {fileID: 0}
|
||||
m_VideoClip: {fileID: 0}
|
||||
m_Url: https://storage.googleapis.com/learn-media-public/Essentials-Pathway/Talking%20Head%20Videos/M5_2D/Essentials_Pathway_M5_2D.webm
|
||||
m_AutoStart: 0
|
||||
m_Loop: 0
|
||||
m_CriteriaCompletion: 0
|
||||
m_Criteria:
|
||||
m_Items: []
|
||||
m_MaskingSettings:
|
||||
m_MaskingEnabled: 1
|
||||
m_UnmaskedViews: []
|
||||
m_Summary:
|
||||
m_Description:
|
||||
m_InstructionBoxTitle:
|
||||
m_InstructionText:
|
||||
m_TutorialButtonText:
|
||||
- m_Type: 0
|
||||
Title:
|
||||
m_Untranslated:
|
||||
Text:
|
||||
m_Untranslated: "In this 2D Mission, you'll create a top-down 2D version
|
||||
of the interactive living room scene you created earlier. Just like in
|
||||
the 3D scene, you'll control a character, trying to collect all the objects
|
||||
in a room. By completing this scene, you'll learn how working in 2D is
|
||||
similar to working in 3D, but also how it\u2019s different."
|
||||
m_CodeSample:
|
||||
m_PostInstructionImage: {fileID: 0}
|
||||
m_Tutorial: {fileID: 0}
|
||||
m_Image: {fileID: 0}
|
||||
m_VideoUrl:
|
||||
m_Video: {fileID: 0}
|
||||
m_Media:
|
||||
m_ContentType: 0
|
||||
m_Image: {fileID: 0}
|
||||
m_VideoClip: {fileID: 0}
|
||||
m_Url:
|
||||
m_AutoStart: 1
|
||||
m_Loop: 1
|
||||
m_CriteriaCompletion: 0
|
||||
m_Criteria:
|
||||
m_Items: []
|
||||
m_MaskingSettings:
|
||||
m_MaskingEnabled: 0
|
||||
m_UnmaskedViews: []
|
||||
m_Summary:
|
||||
m_Description:
|
||||
m_InstructionBoxTitle:
|
||||
m_InstructionText:
|
||||
m_TutorialButtonText:
|
||||
m_CameraSettings:
|
||||
m_CameraMode: 0
|
||||
m_FocusMode: 0
|
||||
m_Orthographic: 0
|
||||
m_Size: 0
|
||||
m_Pivot: {x: 0, y: 0, z: 0}
|
||||
m_Rotation: {x: 0, y: 0, z: 0, w: 0}
|
||||
m_FrameObject:
|
||||
m_SceneGuid:
|
||||
m_GameObjectGuid:
|
||||
m_SerializedComponentType:
|
||||
m_TypeName:
|
||||
m_ComponentIndex: 0
|
||||
m_AssetObject: {fileID: 0}
|
||||
m_Prefab: {fileID: 0}
|
||||
m_Enabled: 0
|
||||
NextButton:
|
||||
m_Untranslated: Next
|
||||
DoneButton:
|
||||
m_Untranslated: Done
|
||||
m_CompletedSound: {fileID: 0}
|
||||
m_FaqEntries: []
|
||||
m_AutoAdvance: 0
|
||||
Showing:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
Shown:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
Staying:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
CriteriaValidated:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
MaskingSettingsChanged:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
NonMaskingSettingsChanged:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_OnBeforePageShown:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_OnAfterPageShown:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_OnTutorialPageStay:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_OnBeforeTutorialQuit:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_NextButton: Next
|
||||
m_DoneButton: Done
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: ce09de6ec942dca498105ea874ef09e5
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,132 @@
|
||||
%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: 11500000, guid: ff771ccdf4150419d9ff4d342b069aae, type: 3}
|
||||
m_Name: Step_5.1.1
|
||||
m_EditorClassIdentifier:
|
||||
Title:
|
||||
m_Untranslated: Tutorial overview
|
||||
m_Paragraphs:
|
||||
m_Items:
|
||||
- m_Type: 9
|
||||
Title:
|
||||
m_Untranslated:
|
||||
Text:
|
||||
m_Untranslated:
|
||||
m_CodeSample:
|
||||
m_PostInstructionImage: {fileID: 0}
|
||||
m_Tutorial: {fileID: 0}
|
||||
m_Image: {fileID: 0}
|
||||
m_VideoUrl: https://storage.googleapis.com/learn-media-public/Essentials-Pathway/5.1%20-%20Create%20a%202D%20Room/5.1.1%20-%20Overview%20-%20VIDEO.webm
|
||||
m_Video: {fileID: 32900000, guid: 1b4b7cad08bc04a5f902d1aa34366692, type: 3}
|
||||
m_Media:
|
||||
m_ContentType: 2
|
||||
m_Image: {fileID: 0}
|
||||
m_VideoClip: {fileID: 0}
|
||||
m_Url: https://storage.googleapis.com/learn-media-public/Essentials-Pathway/5.1%20-%20Create%20a%202D%20Room/5.1.1%20-%20Overview%20-%20VIDEO.webm
|
||||
m_AutoStart: 0
|
||||
m_Loop: 0
|
||||
m_CriteriaCompletion: 0
|
||||
m_Criteria:
|
||||
m_Items: []
|
||||
m_MaskingSettings:
|
||||
m_MaskingEnabled: 1
|
||||
m_UnmaskedViews: []
|
||||
m_Summary:
|
||||
m_Description:
|
||||
m_InstructionBoxTitle:
|
||||
m_InstructionText:
|
||||
m_TutorialButtonText:
|
||||
- m_Type: 0
|
||||
Title:
|
||||
m_Untranslated:
|
||||
Text:
|
||||
m_Untranslated: In this first tutorial, you'll set up the 2D player character
|
||||
in a basic room with boundary walls.
|
||||
m_CodeSample:
|
||||
m_PostInstructionImage: {fileID: 0}
|
||||
m_Tutorial: {fileID: 0}
|
||||
m_Image: {fileID: 0}
|
||||
m_VideoUrl:
|
||||
m_Video: {fileID: 0}
|
||||
m_Media:
|
||||
m_ContentType: 0
|
||||
m_Image: {fileID: 0}
|
||||
m_VideoClip: {fileID: 0}
|
||||
m_Url:
|
||||
m_AutoStart: 1
|
||||
m_Loop: 1
|
||||
m_CriteriaCompletion: 0
|
||||
m_Criteria:
|
||||
m_Items: []
|
||||
m_MaskingSettings:
|
||||
m_MaskingEnabled: 0
|
||||
m_UnmaskedViews: []
|
||||
m_Summary:
|
||||
m_Description:
|
||||
m_InstructionBoxTitle:
|
||||
m_InstructionText:
|
||||
m_TutorialButtonText:
|
||||
m_CameraSettings:
|
||||
m_CameraMode: 0
|
||||
m_FocusMode: 0
|
||||
m_Orthographic: 0
|
||||
m_Size: 0
|
||||
m_Pivot: {x: 0, y: 0, z: 0}
|
||||
m_Rotation: {x: 0, y: 0, z: 0, w: 0}
|
||||
m_FrameObject:
|
||||
m_SceneGuid:
|
||||
m_GameObjectGuid:
|
||||
m_SerializedComponentType:
|
||||
m_TypeName:
|
||||
m_ComponentIndex: 0
|
||||
m_AssetObject: {fileID: 0}
|
||||
m_Prefab: {fileID: 0}
|
||||
m_Enabled: 0
|
||||
NextButton:
|
||||
m_Untranslated: Next
|
||||
DoneButton:
|
||||
m_Untranslated: Done
|
||||
m_CompletedSound: {fileID: 0}
|
||||
m_FaqEntries: []
|
||||
m_AutoAdvance: 0
|
||||
Showing:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
Shown:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
Staying:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
CriteriaValidated:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
MaskingSettingsChanged:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
NonMaskingSettingsChanged:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_OnBeforePageShown:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_OnAfterPageShown:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_OnTutorialPageStay:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_OnBeforeTutorialQuit:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_NextButton: Next
|
||||
m_DoneButton: Done
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 3092106e63f0e4bb1a45bcf3852d0c9f
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,178 @@
|
||||
%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: 11500000, guid: ff771ccdf4150419d9ff4d342b069aae, type: 3}
|
||||
m_Name: Step_5.1.10
|
||||
m_EditorClassIdentifier:
|
||||
Title:
|
||||
m_Untranslated: Make the remaining walls
|
||||
m_Paragraphs:
|
||||
m_Items:
|
||||
- m_Type: 9
|
||||
Title:
|
||||
m_Untranslated:
|
||||
Text:
|
||||
m_Untranslated:
|
||||
m_CodeSample:
|
||||
m_PostInstructionImage: {fileID: 0}
|
||||
m_Tutorial: {fileID: 0}
|
||||
m_Image: {fileID: 2800000, guid: 646f7a6eda532402f8b0c0675feed1a1, type: 3}
|
||||
m_VideoUrl: https://storage.googleapis.com/learn-media-public/Essentials-Pathway/5.1%20-%20Create%20a%202D%20Room/5.1.10%20-%20Make%20the%20remaining%20walls%20-%20VIDEO.webm
|
||||
m_Video: {fileID: 32900000, guid: 5b69f4d6321874ec19173e92689ae1ad, type: 3}
|
||||
m_Media:
|
||||
m_ContentType: 2
|
||||
m_Image: {fileID: 0}
|
||||
m_VideoClip: {fileID: 0}
|
||||
m_Url: https://storage.googleapis.com/learn-media-public/Essentials-Pathway/5.1%20-%20Create%20a%202D%20Room/5.1.10%20-%20Make%20the%20remaining%20walls%20-%20VIDEO.webm
|
||||
m_AutoStart: 0
|
||||
m_Loop: 0
|
||||
m_CriteriaCompletion: 0
|
||||
m_Criteria:
|
||||
m_Items: []
|
||||
m_MaskingSettings:
|
||||
m_MaskingEnabled: 0
|
||||
m_UnmaskedViews: []
|
||||
m_Summary:
|
||||
m_Description:
|
||||
m_InstructionBoxTitle:
|
||||
m_InstructionText:
|
||||
m_TutorialButtonText:
|
||||
- m_Type: 0
|
||||
Title:
|
||||
m_Untranslated:
|
||||
Text:
|
||||
m_Untranslated: "You have one wall done \u2014 you just need three more!"
|
||||
m_CodeSample:
|
||||
m_PostInstructionImage: {fileID: 0}
|
||||
m_Tutorial: {fileID: 0}
|
||||
m_Image: {fileID: 0}
|
||||
m_VideoUrl:
|
||||
m_Video: {fileID: 0}
|
||||
m_Media:
|
||||
m_ContentType: 0
|
||||
m_Image: {fileID: 0}
|
||||
m_VideoClip: {fileID: 0}
|
||||
m_Url:
|
||||
m_AutoStart: 1
|
||||
m_Loop: 1
|
||||
m_CriteriaCompletion: 0
|
||||
m_Criteria:
|
||||
m_Items: []
|
||||
m_MaskingSettings:
|
||||
m_MaskingEnabled: 0
|
||||
m_UnmaskedViews: []
|
||||
m_Summary:
|
||||
m_Description:
|
||||
m_InstructionBoxTitle:
|
||||
m_InstructionText:
|
||||
m_TutorialButtonText:
|
||||
- m_Type: 1
|
||||
Title:
|
||||
m_Untranslated: Instructions
|
||||
Text:
|
||||
m_Untranslated: "<b>1.</b> Select the <b>Wall</b> GameObject you've already
|
||||
created in the <b>Hierarchy</b> window.\n\n<b>2.</b> Duplicate the wall
|
||||
object by pressing <b>Ctrl+D</b> (macOS: <b>Cmd+D</b>). Rename this duplicate
|
||||
to indicate its position (For example, \u201CWall_Top\u201D).\n\n<b>Tip:</b>
|
||||
Right after duplicating an object, press the <b>F2</b> key (macOS: <b>Return</b>
|
||||
key) to quickly rename the selected duplicate. Then press <b>Enter</b>
|
||||
(macOS: <b>Return</b>) again to confirm the new name. \n\n<b>3.</b> Use
|
||||
the <b>Move</b> tool to adjust the duplicate's position to the opposite
|
||||
side of the original wall. \n\nDon\u2019t worry \u2014 the placement doesn\u2019t
|
||||
have to be perfect. It just has to overlap the edge of the play area. \n\n<b>4.</b>
|
||||
Duplicate the top wall, then use a combination of the <b>Rect</b> tool
|
||||
and <b>Move</b> tool to create Wall_Left and Wall_Right.\n\n<b>5.</b>
|
||||
To organize the <b>Hierarchy</b> window, select all wall objects (using
|
||||
the <b>Shift</b> or <b>Ctrl</b> (macOS: <b>Cmd</b>) keys. Right-click one
|
||||
of the selected objects and select <b>Create Empty Parent.</b> \n\nThis
|
||||
action groups the walls under a single GameObject, which you can name \u201CWalls\u201D
|
||||
for clarity.\n\n<b>6.</b> Test the scene to ensure all walls are correctly
|
||||
positioned and prevent the player from moving beyond the designated game
|
||||
area.\n\n<b>Note:</b> Remember to save your scene!"
|
||||
m_CodeSample:
|
||||
m_PostInstructionImage: {fileID: 0}
|
||||
m_Tutorial: {fileID: 0}
|
||||
m_Image: {fileID: 0}
|
||||
m_VideoUrl:
|
||||
m_Video: {fileID: 0}
|
||||
m_Media:
|
||||
m_ContentType: 0
|
||||
m_Image: {fileID: 0}
|
||||
m_VideoClip: {fileID: 0}
|
||||
m_Url:
|
||||
m_AutoStart: 1
|
||||
m_Loop: 1
|
||||
m_CriteriaCompletion: 0
|
||||
m_Criteria:
|
||||
m_Items: []
|
||||
m_MaskingSettings:
|
||||
m_MaskingEnabled: 0
|
||||
m_UnmaskedViews: []
|
||||
m_Summary:
|
||||
m_Description:
|
||||
m_InstructionBoxTitle:
|
||||
m_InstructionText:
|
||||
m_TutorialButtonText:
|
||||
m_CameraSettings:
|
||||
m_CameraMode: 0
|
||||
m_FocusMode: 0
|
||||
m_Orthographic: 0
|
||||
m_Size: 0
|
||||
m_Pivot: {x: 0, y: 0, z: 0}
|
||||
m_Rotation: {x: 0, y: 0, z: 0, w: 0}
|
||||
m_FrameObject:
|
||||
m_SceneGuid:
|
||||
m_GameObjectGuid:
|
||||
m_SerializedComponentType:
|
||||
m_TypeName:
|
||||
m_ComponentIndex: 0
|
||||
m_AssetObject: {fileID: 0}
|
||||
m_Prefab: {fileID: 0}
|
||||
m_Enabled: 0
|
||||
NextButton:
|
||||
m_Untranslated: Next
|
||||
DoneButton:
|
||||
m_Untranslated: Done
|
||||
m_CompletedSound: {fileID: 0}
|
||||
m_FaqEntries: []
|
||||
m_AutoAdvance: 0
|
||||
Showing:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
Shown:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
Staying:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
CriteriaValidated:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
MaskingSettingsChanged:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
NonMaskingSettingsChanged:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_OnBeforePageShown:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_OnAfterPageShown:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_OnTutorialPageStay:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_OnBeforeTutorialQuit:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_NextButton: Next
|
||||
m_DoneButton: Done
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 2657ccf3be397451ebcd2e8b0e04f25e
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,151 @@
|
||||
%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: 11500000, guid: ff771ccdf4150419d9ff4d342b069aae, type: 3}
|
||||
m_Name: Step_5.1.11
|
||||
m_EditorClassIdentifier:
|
||||
Title:
|
||||
m_Untranslated: Review and proceed to the next tutorial
|
||||
m_Paragraphs:
|
||||
m_Items:
|
||||
- m_Type: 6
|
||||
Title:
|
||||
m_Untranslated:
|
||||
Text:
|
||||
m_Untranslated:
|
||||
m_CodeSample:
|
||||
m_PostInstructionImage: {fileID: 0}
|
||||
m_Tutorial: {fileID: 0}
|
||||
m_Image: {fileID: 0}
|
||||
m_VideoUrl: https://storage.googleapis.com/learn-media-public/Essentials-Pathway/5.1%20-%20Create%20a%202D%20Room/5.1.1%20-%20Overview%20-%20VIDEO.webm
|
||||
m_Video: {fileID: 0}
|
||||
m_CriteriaCompletion: 0
|
||||
m_Criteria:
|
||||
m_Items: []
|
||||
m_MaskingSettings:
|
||||
m_MaskingEnabled: 0
|
||||
m_UnmaskedViews: []
|
||||
m_Summary:
|
||||
m_Description:
|
||||
m_InstructionBoxTitle:
|
||||
m_InstructionText:
|
||||
m_TutorialButtonText:
|
||||
- m_Type: 0
|
||||
Title:
|
||||
m_Untranslated:
|
||||
Text:
|
||||
m_Untranslated: "Congratulations on setting up your first 2D scene with your
|
||||
player in a room surrounded by walls.\n\nHere are some of the things you
|
||||
learned how to do along the way:\n\n\u2022 Switch between 2D view and 3D
|
||||
view of a scene. (<a href='https://docs.unity3d.com/6000.0/Documentation/Manual/2DAnd3DModeSettings.html?utm_source=learnTPOCi'>more</a>)\n\u2022
|
||||
Explain the differences between navigating in 2D space vs. 3D space. (<a
|
||||
href='https://docs.unity3d.com/6000.0/Documentation/Manual/2DAnd3DModeSettings.html?utm_source=learnTPOCi'>more</a>)\n\u2022
|
||||
Define sprite. (<a href='https://docs.unity3d.com/6000.0/Documentation/Manual/Sprites.html?utm_source=learnTPOCi'>more</a>)\n\u2022
|
||||
Adjust the aspect ratio of <b>Game</b> view to playtest using the same
|
||||
view that users will see. (<a href='https://docs.unity3d.com/6000.0/Documentation/Manual/GameView.html?utm_source=learnTPOCi'>more</a>)\n\u2022
|
||||
Use the <b>Rect</b> tool to move and scale 2D objects. (<a href='https://docs.unity3d.com/6000.0/Documentation/Manual/class-Transform.html?utm_source=learnTPOCi'>more</a>)\n\u2022
|
||||
Explain the differences between 2D colliders and 3D colliders. (<a href='https://docs.unity3d.com/6000.0/Documentation/Manual/Physics2DReference.html?utm_source=learnTPOCi'>more</a>)\n\u2022
|
||||
Duplicate a GameObject. (<a href='https://docs.unity3d.com/6000.0/Documentation/Manual/Hierarchy.html?utm_source=learnTPOCi'>more</a>)\n"
|
||||
m_CodeSample:
|
||||
m_PostInstructionImage: {fileID: 0}
|
||||
m_Tutorial: {fileID: 0}
|
||||
m_Image: {fileID: 0}
|
||||
m_VideoUrl:
|
||||
m_Video: {fileID: 0}
|
||||
m_CriteriaCompletion: 0
|
||||
m_Criteria:
|
||||
m_Items: []
|
||||
m_MaskingSettings:
|
||||
m_MaskingEnabled: 0
|
||||
m_UnmaskedViews: []
|
||||
m_Summary:
|
||||
m_Description:
|
||||
m_InstructionBoxTitle:
|
||||
m_InstructionText:
|
||||
m_TutorialButtonText:
|
||||
- m_Type: 1
|
||||
Title:
|
||||
m_Untranslated: Instructions
|
||||
Text:
|
||||
m_Untranslated: Proceed to the next tutorial where you'll complete your 2D
|
||||
game, including adding pushable furniture, collectibles, and even a user
|
||||
interface!
|
||||
m_CodeSample:
|
||||
m_PostInstructionImage: {fileID: 0}
|
||||
m_Tutorial: {fileID: 0}
|
||||
m_Image: {fileID: 0}
|
||||
m_VideoUrl:
|
||||
m_Video: {fileID: 0}
|
||||
m_CriteriaCompletion: 0
|
||||
m_Criteria:
|
||||
m_Items: []
|
||||
m_MaskingSettings:
|
||||
m_MaskingEnabled: 0
|
||||
m_UnmaskedViews: []
|
||||
m_Summary:
|
||||
m_Description:
|
||||
m_InstructionBoxTitle:
|
||||
m_InstructionText:
|
||||
m_TutorialButtonText:
|
||||
m_CameraSettings:
|
||||
m_CameraMode: 0
|
||||
m_FocusMode: 0
|
||||
m_Orthographic: 0
|
||||
m_Size: 0
|
||||
m_Pivot: {x: 0, y: 0, z: 0}
|
||||
m_Rotation: {x: 0, y: 0, z: 0, w: 0}
|
||||
m_FrameObject:
|
||||
m_SceneGuid:
|
||||
m_GameObjectGuid:
|
||||
m_SerializedComponentType:
|
||||
m_TypeName:
|
||||
m_ComponentIndex: 0
|
||||
m_AssetObject: {fileID: 0}
|
||||
m_Prefab: {fileID: 0}
|
||||
m_Enabled: 0
|
||||
NextButton:
|
||||
m_Untranslated: Next
|
||||
DoneButton:
|
||||
m_Untranslated: Done
|
||||
m_CompletedSound: {fileID: 0}
|
||||
m_AutoAdvance: 0
|
||||
Showing:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
Shown:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
Staying:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
CriteriaValidated:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
MaskingSettingsChanged:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
NonMaskingSettingsChanged:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_OnBeforePageShown:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_OnAfterPageShown:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_OnTutorialPageStay:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_OnBeforeTutorialQuit:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_NextButton: Next
|
||||
m_DoneButton: Done
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: e19c76c9b64fa4144a8e8dbe6098f813
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,176 @@
|
||||
%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: 11500000, guid: ff771ccdf4150419d9ff4d342b069aae, type: 3}
|
||||
m_Name: Step_5.1.2
|
||||
m_EditorClassIdentifier:
|
||||
Title:
|
||||
m_Untranslated: Explore the 2D scene
|
||||
m_Paragraphs:
|
||||
m_Items:
|
||||
- m_Type: 9
|
||||
Title:
|
||||
m_Untranslated:
|
||||
Text:
|
||||
m_Untranslated:
|
||||
m_CodeSample:
|
||||
m_PostInstructionImage: {fileID: 0}
|
||||
m_Tutorial: {fileID: 0}
|
||||
m_Image: {fileID: 2800000, guid: e4e9097bca35945cabe340ae0fbade7e, type: 3}
|
||||
m_VideoUrl: https://storage.googleapis.com/learn-media-public/Essentials-Pathway/5.1%20-%20Create%20a%202D%20Room/5.1.2%20-%20Explore%20the%202D%20scene%20-%20VIDEO.webm
|
||||
m_Video: {fileID: 32900000, guid: 5b69f4d6321874ec19173e92689ae1ad, type: 3}
|
||||
m_Media:
|
||||
m_ContentType: 2
|
||||
m_Image: {fileID: 0}
|
||||
m_VideoClip: {fileID: 0}
|
||||
m_Url: https://storage.googleapis.com/learn-media-public/Essentials-Pathway/5.1%20-%20Create%20a%202D%20Room/5.1.2%20-%20Explore%20the%202D%20scene%20-%20VIDEO.webm
|
||||
m_AutoStart: 0
|
||||
m_Loop: 0
|
||||
m_CriteriaCompletion: 0
|
||||
m_Criteria:
|
||||
m_Items: []
|
||||
m_MaskingSettings:
|
||||
m_MaskingEnabled: 0
|
||||
m_UnmaskedViews: []
|
||||
m_Summary:
|
||||
m_Description:
|
||||
m_InstructionBoxTitle:
|
||||
m_InstructionText:
|
||||
m_TutorialButtonText:
|
||||
- m_Type: 0
|
||||
Title:
|
||||
m_Untranslated:
|
||||
Text:
|
||||
m_Untranslated: "The scene that you\u2019ll start with represents a basic
|
||||
2D room setup, viewed from a top-down perspective. In <b>top-down</b> games,
|
||||
the camera angle is positioned above the action, pointing straight down.
|
||||
This genre often emphasizes strategic thinking, exploration, and puzzle-solving,
|
||||
as players can see more of the game world compared to first-person or side-scrolling
|
||||
perspectives.\n\nThe starter scene includes a simple 2D floor and a camera
|
||||
configured for 2D viewing."
|
||||
m_CodeSample:
|
||||
m_PostInstructionImage: {fileID: 0}
|
||||
m_Tutorial: {fileID: 0}
|
||||
m_Image: {fileID: 0}
|
||||
m_VideoUrl:
|
||||
m_Video: {fileID: 0}
|
||||
m_Media:
|
||||
m_ContentType: 0
|
||||
m_Image: {fileID: 0}
|
||||
m_VideoClip: {fileID: 0}
|
||||
m_Url:
|
||||
m_AutoStart: 1
|
||||
m_Loop: 1
|
||||
m_CriteriaCompletion: 0
|
||||
m_Criteria:
|
||||
m_Items: []
|
||||
m_MaskingSettings:
|
||||
m_MaskingEnabled: 0
|
||||
m_UnmaskedViews: []
|
||||
m_Summary:
|
||||
m_Description:
|
||||
m_InstructionBoxTitle:
|
||||
m_InstructionText:
|
||||
m_TutorialButtonText:
|
||||
- m_Type: 1
|
||||
Title:
|
||||
m_Untranslated: Instructions
|
||||
Text:
|
||||
m_Untranslated: "<b>1.</b> In the <b>Project</b> window, go to <b>_Unity
|
||||
Essentials</b> > <b>Scenes,</b> then double-click <b>5_TopDown_2D_Scene</b>
|
||||
to open it.\n\n<b>2.</b> With the scene open, browse through the <b>Hierarchy</b>
|
||||
window to identify the GameObjects in the scene: \n\n\u2022 <b>A Main Camera:</b>
|
||||
This camera is configured to use <b>Orthographic</b> mode instead of the
|
||||
default 3D <b>Perspective</b> mode, which is necessary for 2D gameplay.\n\u2022
|
||||
<b>A Floor:</b> This is an image of an empty wood floor, which will be
|
||||
seen from a top-down perspective.\n\n<b>3.</b> In the <b>Hierarchy</b>
|
||||
window, double-click the <b>Floor</b> GameObject to frame it in the <b>Scene</b>
|
||||
view, then orbit around the floor using <b>Alt+left-click</b> (macOS: <b>Option+left-click</b>)
|
||||
to see that it is completely flat."
|
||||
m_CodeSample:
|
||||
m_PostInstructionImage: {fileID: 0}
|
||||
m_Tutorial: {fileID: 0}
|
||||
m_Image: {fileID: 0}
|
||||
m_VideoUrl:
|
||||
m_Video: {fileID: 0}
|
||||
m_Media:
|
||||
m_ContentType: 0
|
||||
m_Image: {fileID: 0}
|
||||
m_VideoClip: {fileID: 0}
|
||||
m_Url:
|
||||
m_AutoStart: 1
|
||||
m_Loop: 1
|
||||
m_CriteriaCompletion: 0
|
||||
m_Criteria:
|
||||
m_Items: []
|
||||
m_MaskingSettings:
|
||||
m_MaskingEnabled: 0
|
||||
m_UnmaskedViews: []
|
||||
m_Summary:
|
||||
m_Description:
|
||||
m_InstructionBoxTitle:
|
||||
m_InstructionText:
|
||||
m_TutorialButtonText:
|
||||
m_CameraSettings:
|
||||
m_CameraMode: 0
|
||||
m_FocusMode: 0
|
||||
m_Orthographic: 0
|
||||
m_Size: 0
|
||||
m_Pivot: {x: 0, y: 0, z: 0}
|
||||
m_Rotation: {x: 0, y: 0, z: 0, w: 0}
|
||||
m_FrameObject:
|
||||
m_SceneGuid:
|
||||
m_GameObjectGuid:
|
||||
m_SerializedComponentType:
|
||||
m_TypeName:
|
||||
m_ComponentIndex: 0
|
||||
m_AssetObject: {fileID: 0}
|
||||
m_Prefab: {fileID: 0}
|
||||
m_Enabled: 0
|
||||
NextButton:
|
||||
m_Untranslated: Next
|
||||
DoneButton:
|
||||
m_Untranslated: Done
|
||||
m_CompletedSound: {fileID: 0}
|
||||
m_FaqEntries: []
|
||||
m_AutoAdvance: 0
|
||||
Showing:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
Shown:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
Staying:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
CriteriaValidated:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
MaskingSettingsChanged:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
NonMaskingSettingsChanged:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_OnBeforePageShown:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_OnAfterPageShown:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_OnTutorialPageStay:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_OnBeforeTutorialQuit:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_NextButton: Next
|
||||
m_DoneButton: Done
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 05125bde2f8e74616bba4703e2977bec
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,175 @@
|
||||
%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: 11500000, guid: ff771ccdf4150419d9ff4d342b069aae, type: 3}
|
||||
m_Name: Step_5.1.3
|
||||
m_EditorClassIdentifier:
|
||||
Title:
|
||||
m_Untranslated: Switch to 2D view
|
||||
m_Paragraphs:
|
||||
m_Items:
|
||||
- m_Type: 9
|
||||
Title:
|
||||
m_Untranslated:
|
||||
Text:
|
||||
m_Untranslated:
|
||||
m_CodeSample:
|
||||
m_PostInstructionImage: {fileID: 0}
|
||||
m_Tutorial: {fileID: 0}
|
||||
m_Image: {fileID: 2800000, guid: 893b047b96bd447bd8387a2662dcf2f3, type: 3}
|
||||
m_VideoUrl: https://storage.googleapis.com/learn-media-public/Essentials-Pathway/5.1%20-%20Create%20a%202D%20Room/5.1.3%20-%20Switch%20to%202D%20view%20-%20VIDEO_U6.webm
|
||||
m_Video: {fileID: 32900000, guid: 5b69f4d6321874ec19173e92689ae1ad, type: 3}
|
||||
m_Media:
|
||||
m_ContentType: 2
|
||||
m_Image: {fileID: 0}
|
||||
m_VideoClip: {fileID: 0}
|
||||
m_Url: https://storage.googleapis.com/learn-media-public/Essentials-Pathway/5.1%20-%20Create%20a%202D%20Room/5.1.3%20-%20Switch%20to%202D%20view%20-%20VIDEO_U6.webm
|
||||
m_AutoStart: 0
|
||||
m_Loop: 0
|
||||
m_CriteriaCompletion: 0
|
||||
m_Criteria:
|
||||
m_Items: []
|
||||
m_MaskingSettings:
|
||||
m_MaskingEnabled: 0
|
||||
m_UnmaskedViews: []
|
||||
m_Summary:
|
||||
m_Description:
|
||||
m_InstructionBoxTitle:
|
||||
m_InstructionText:
|
||||
m_TutorialButtonText:
|
||||
- m_Type: 0
|
||||
Title:
|
||||
m_Untranslated:
|
||||
Text:
|
||||
m_Untranslated: Unity offers a specialized 2D view of your scene. This view
|
||||
removes the forward-to-back Z-axis entirely, and instead focuses just on
|
||||
the X- and Y-axes. This adjustment restricts scene navigation to just panning
|
||||
and zooming.
|
||||
m_CodeSample:
|
||||
m_PostInstructionImage: {fileID: 0}
|
||||
m_Tutorial: {fileID: 0}
|
||||
m_Image: {fileID: 0}
|
||||
m_VideoUrl:
|
||||
m_Video: {fileID: 0}
|
||||
m_Media:
|
||||
m_ContentType: 0
|
||||
m_Image: {fileID: 0}
|
||||
m_VideoClip: {fileID: 0}
|
||||
m_Url:
|
||||
m_AutoStart: 1
|
||||
m_Loop: 1
|
||||
m_CriteriaCompletion: 0
|
||||
m_Criteria:
|
||||
m_Items: []
|
||||
m_MaskingSettings:
|
||||
m_MaskingEnabled: 0
|
||||
m_UnmaskedViews: []
|
||||
m_Summary:
|
||||
m_Description:
|
||||
m_InstructionBoxTitle:
|
||||
m_InstructionText:
|
||||
m_TutorialButtonText:
|
||||
- m_Type: 1
|
||||
Title:
|
||||
m_Untranslated: Instructions
|
||||
Text:
|
||||
m_Untranslated: "<b>1.</b> Locate and select the <b>2D</b> button at the
|
||||
top of the <b>Scene</b> view. \n\nThis action switches the view from 3D
|
||||
to 2D, optimizing the <b>Scene</b> view for 2D development.\n\n<b>2.</b>
|
||||
Try to look around the scene like you would in 3D by right-clicking and
|
||||
dragging within the <b>Scene</b> view. \n\nNotice that unlike in 3D view,
|
||||
the view does not rotate; instead, it only pans across the scene. \n\n<b>3.</b>
|
||||
Experiment with panning (right-click and drag) and zooming (scroll wheel
|
||||
or trackpad) in the scene \u2014 this is the main way to navigate in 2D
|
||||
mode.\n\n<b>4.</b> Note that the <b>Scene</b> view gizmo has disappeared
|
||||
from the upper-right corner of the <b>Scene</b> view. \n\nYou don't need
|
||||
the <b>Scene</b> view gizmo in 2D view because orbiting is disabled \u2014
|
||||
you are no longer using the Z-axis perspective because 2D games do not
|
||||
have depth. You are just using the XY plane now."
|
||||
m_CodeSample:
|
||||
m_PostInstructionImage: {fileID: 0}
|
||||
m_Tutorial: {fileID: 0}
|
||||
m_Image: {fileID: 0}
|
||||
m_VideoUrl:
|
||||
m_Video: {fileID: 0}
|
||||
m_Media:
|
||||
m_ContentType: 0
|
||||
m_Image: {fileID: 0}
|
||||
m_VideoClip: {fileID: 0}
|
||||
m_Url:
|
||||
m_AutoStart: 1
|
||||
m_Loop: 1
|
||||
m_CriteriaCompletion: 0
|
||||
m_Criteria:
|
||||
m_Items: []
|
||||
m_MaskingSettings:
|
||||
m_MaskingEnabled: 0
|
||||
m_UnmaskedViews: []
|
||||
m_Summary:
|
||||
m_Description:
|
||||
m_InstructionBoxTitle:
|
||||
m_InstructionText:
|
||||
m_TutorialButtonText:
|
||||
m_CameraSettings:
|
||||
m_CameraMode: 0
|
||||
m_FocusMode: 0
|
||||
m_Orthographic: 0
|
||||
m_Size: 0
|
||||
m_Pivot: {x: 0, y: 0, z: 0}
|
||||
m_Rotation: {x: 0, y: 0, z: 0, w: 0}
|
||||
m_FrameObject:
|
||||
m_SceneGuid:
|
||||
m_GameObjectGuid:
|
||||
m_SerializedComponentType:
|
||||
m_TypeName:
|
||||
m_ComponentIndex: 0
|
||||
m_AssetObject: {fileID: 0}
|
||||
m_Prefab: {fileID: 0}
|
||||
m_Enabled: 0
|
||||
NextButton:
|
||||
m_Untranslated: Next
|
||||
DoneButton:
|
||||
m_Untranslated: Done
|
||||
m_CompletedSound: {fileID: 0}
|
||||
m_FaqEntries: []
|
||||
m_AutoAdvance: 0
|
||||
Showing:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
Shown:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
Staying:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
CriteriaValidated:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
MaskingSettingsChanged:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
NonMaskingSettingsChanged:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_OnBeforePageShown:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_OnAfterPageShown:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_OnTutorialPageStay:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_OnBeforeTutorialQuit:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_NextButton: Next
|
||||
m_DoneButton: Done
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: cc85e8408a2a84065a1b50df7d8d467e
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,174 @@
|
||||
%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: 11500000, guid: ff771ccdf4150419d9ff4d342b069aae, type: 3}
|
||||
m_Name: Step_5.1.4
|
||||
m_EditorClassIdentifier:
|
||||
Title:
|
||||
m_Untranslated: Add your player character sprite
|
||||
m_Paragraphs:
|
||||
m_Items:
|
||||
- m_Type: 9
|
||||
Title:
|
||||
m_Untranslated:
|
||||
Text:
|
||||
m_Untranslated:
|
||||
m_CodeSample:
|
||||
m_PostInstructionImage: {fileID: 0}
|
||||
m_Tutorial: {fileID: 0}
|
||||
m_Image: {fileID: 2800000, guid: e73be2ee406be43aea2e5d38463b57d7, type: 3}
|
||||
m_VideoUrl: https://storage.googleapis.com/learn-media-public/Essentials-Pathway/5.1%20-%20Create%20a%202D%20Room/5.1.4%20-%20Add%20your%20player%20character%20sprite%20-%20VIDEO_U6%20V2.webm
|
||||
m_Video: {fileID: 32900000, guid: 5b69f4d6321874ec19173e92689ae1ad, type: 3}
|
||||
m_Media:
|
||||
m_ContentType: 2
|
||||
m_Image: {fileID: 0}
|
||||
m_VideoClip: {fileID: 0}
|
||||
m_Url: https://storage.googleapis.com/learn-media-public/Essentials-Pathway/5.1%20-%20Create%20a%202D%20Room/5.1.4%20-%20Add%20your%20player%20character%20sprite%20-%20VIDEO_U6%20V2.webm
|
||||
m_AutoStart: 0
|
||||
m_Loop: 0
|
||||
m_CriteriaCompletion: 0
|
||||
m_Criteria:
|
||||
m_Items: []
|
||||
m_MaskingSettings:
|
||||
m_MaskingEnabled: 0
|
||||
m_UnmaskedViews: []
|
||||
m_Summary:
|
||||
m_Description:
|
||||
m_InstructionBoxTitle:
|
||||
m_InstructionText:
|
||||
m_TutorialButtonText:
|
||||
- m_Type: 0
|
||||
Title:
|
||||
m_Untranslated:
|
||||
Text:
|
||||
m_Untranslated: "Just like you did in the living room scene, you\u2019ll
|
||||
now add a player character to the scene. You\u2019ll have the same selection
|
||||
of characters (a robot vacuum, a toy car, etc), but this time they will
|
||||
be 2D sprites instead of 3D models. <b>Sprites</b> are 2D graphics that
|
||||
are used to represent characters, objects, and other elements within a
|
||||
game."
|
||||
m_CodeSample:
|
||||
m_PostInstructionImage: {fileID: 0}
|
||||
m_Tutorial: {fileID: 0}
|
||||
m_Image: {fileID: 0}
|
||||
m_VideoUrl:
|
||||
m_Video: {fileID: 0}
|
||||
m_Media:
|
||||
m_ContentType: 0
|
||||
m_Image: {fileID: 0}
|
||||
m_VideoClip: {fileID: 0}
|
||||
m_Url:
|
||||
m_AutoStart: 1
|
||||
m_Loop: 1
|
||||
m_CriteriaCompletion: 0
|
||||
m_Criteria:
|
||||
m_Items: []
|
||||
m_MaskingSettings:
|
||||
m_MaskingEnabled: 0
|
||||
m_UnmaskedViews: []
|
||||
m_Summary:
|
||||
m_Description:
|
||||
m_InstructionBoxTitle:
|
||||
m_InstructionText:
|
||||
m_TutorialButtonText:
|
||||
- m_Type: 1
|
||||
Title:
|
||||
m_Untranslated: Instructions
|
||||
Text:
|
||||
m_Untranslated: "<b>1.</b> In the <b>Project</b> window, navigate to <b>_Unity
|
||||
Essentials</b> > <b>Sprites</b> > <b>Characters</b> and browse the available
|
||||
character sprites.\n\n<b>2.</b> Click and drag your desired character
|
||||
sprite into the <b>Scene</b> view, positioning it towards the left side
|
||||
of the room.\n\n<b>3.</b> With the sprite selected, ensure its <b>Z</b>
|
||||
position is set to <b>0</b> in the <b>Transform</b> component in the <b>Inspector</b>
|
||||
window to keep it aligned with the other objects in the 2D plane. \n\n<b>4.</b>
|
||||
Briefly switch out of 2D mode and orbit to see how the sprite sits flat
|
||||
directly on the background floor object.\n\n<b>5.</b> In the <b>Hierarchy</b>
|
||||
window, rename the sprite \u201CPlayer\u201D for clarity and future reference."
|
||||
m_CodeSample:
|
||||
m_PostInstructionImage: {fileID: 0}
|
||||
m_Tutorial: {fileID: 0}
|
||||
m_Image: {fileID: 0}
|
||||
m_VideoUrl:
|
||||
m_Video: {fileID: 0}
|
||||
m_Media:
|
||||
m_ContentType: 0
|
||||
m_Image: {fileID: 0}
|
||||
m_VideoClip: {fileID: 0}
|
||||
m_Url:
|
||||
m_AutoStart: 1
|
||||
m_Loop: 1
|
||||
m_CriteriaCompletion: 0
|
||||
m_Criteria:
|
||||
m_Items: []
|
||||
m_MaskingSettings:
|
||||
m_MaskingEnabled: 0
|
||||
m_UnmaskedViews: []
|
||||
m_Summary:
|
||||
m_Description:
|
||||
m_InstructionBoxTitle:
|
||||
m_InstructionText:
|
||||
m_TutorialButtonText:
|
||||
m_CameraSettings:
|
||||
m_CameraMode: 0
|
||||
m_FocusMode: 0
|
||||
m_Orthographic: 0
|
||||
m_Size: 0
|
||||
m_Pivot: {x: 0, y: 0, z: 0}
|
||||
m_Rotation: {x: 0, y: 0, z: 0, w: 0}
|
||||
m_FrameObject:
|
||||
m_SceneGuid:
|
||||
m_GameObjectGuid:
|
||||
m_SerializedComponentType:
|
||||
m_TypeName:
|
||||
m_ComponentIndex: 0
|
||||
m_AssetObject: {fileID: 0}
|
||||
m_Prefab: {fileID: 0}
|
||||
m_Enabled: 0
|
||||
NextButton:
|
||||
m_Untranslated: Next
|
||||
DoneButton:
|
||||
m_Untranslated: Done
|
||||
m_CompletedSound: {fileID: 0}
|
||||
m_FaqEntries: []
|
||||
m_AutoAdvance: 0
|
||||
Showing:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
Shown:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
Staying:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
CriteriaValidated:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
MaskingSettingsChanged:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
NonMaskingSettingsChanged:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_OnBeforePageShown:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_OnAfterPageShown:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_OnTutorialPageStay:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_OnBeforeTutorialQuit:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_NextButton: Next
|
||||
m_DoneButton: Done
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: de7096fcd8e814b298afe2664dd835f2
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,177 @@
|
||||
%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: 11500000, guid: ff771ccdf4150419d9ff4d342b069aae, type: 3}
|
||||
m_Name: Step_5.1.5
|
||||
m_EditorClassIdentifier:
|
||||
Title:
|
||||
m_Untranslated: Configure a Rigidbody 2D component
|
||||
m_Paragraphs:
|
||||
m_Items:
|
||||
- m_Type: 9
|
||||
Title:
|
||||
m_Untranslated:
|
||||
Text:
|
||||
m_Untranslated:
|
||||
m_CodeSample:
|
||||
m_PostInstructionImage: {fileID: 0}
|
||||
m_Tutorial: {fileID: 0}
|
||||
m_Image: {fileID: 2800000, guid: 4e1b3e865e5de4236b484dbef9547650, type: 3}
|
||||
m_VideoUrl: https://storage.googleapis.com/learn-media-public/Essentials-Pathway/5.1%20-%20Create%20a%202D%20Room/5.1.5%20-%20Configure%20a%20Rigidbody%202D%20component%20-%20VIDEO.webm
|
||||
m_Video: {fileID: 32900000, guid: 5b69f4d6321874ec19173e92689ae1ad, type: 3}
|
||||
m_Media:
|
||||
m_ContentType: 2
|
||||
m_Image: {fileID: 0}
|
||||
m_VideoClip: {fileID: 0}
|
||||
m_Url: https://storage.googleapis.com/learn-media-public/Essentials-Pathway/5.1%20-%20Create%20a%202D%20Room/5.1.5%20-%20Configure%20a%20Rigidbody%202D%20component%20-%20VIDEO.webm
|
||||
m_AutoStart: 0
|
||||
m_Loop: 0
|
||||
m_CriteriaCompletion: 0
|
||||
m_Criteria:
|
||||
m_Items: []
|
||||
m_MaskingSettings:
|
||||
m_MaskingEnabled: 0
|
||||
m_UnmaskedViews: []
|
||||
m_Summary:
|
||||
m_Description:
|
||||
m_InstructionBoxTitle:
|
||||
m_InstructionText:
|
||||
m_TutorialButtonText:
|
||||
- m_Type: 0
|
||||
Title:
|
||||
m_Untranslated:
|
||||
Text:
|
||||
m_Untranslated: Unlike the <b>Rigidbody</b> component used for 3D objects,
|
||||
the <b>Rigidbody 2D</b> component is optimized for 2D physics. This component
|
||||
enables your objects to obey the laws of physics, such as gravity and force,
|
||||
within a 2D space.
|
||||
m_CodeSample:
|
||||
m_PostInstructionImage: {fileID: 0}
|
||||
m_Tutorial: {fileID: 0}
|
||||
m_Image: {fileID: 0}
|
||||
m_VideoUrl:
|
||||
m_Video: {fileID: 0}
|
||||
m_Media:
|
||||
m_ContentType: 0
|
||||
m_Image: {fileID: 0}
|
||||
m_VideoClip: {fileID: 0}
|
||||
m_Url:
|
||||
m_AutoStart: 1
|
||||
m_Loop: 1
|
||||
m_CriteriaCompletion: 0
|
||||
m_Criteria:
|
||||
m_Items: []
|
||||
m_MaskingSettings:
|
||||
m_MaskingEnabled: 0
|
||||
m_UnmaskedViews: []
|
||||
m_Summary:
|
||||
m_Description:
|
||||
m_InstructionBoxTitle:
|
||||
m_InstructionText:
|
||||
m_TutorialButtonText:
|
||||
- m_Type: 1
|
||||
Title:
|
||||
m_Untranslated: Instructions
|
||||
Text:
|
||||
m_Untranslated: "<b>1.</b> In the <b>Hierarchy</b> window, select the <b>Player</b>
|
||||
GameObject.\n\n<b>2.</b> In the <b>Inspector</b> window, select <b>Add
|
||||
Component</b> and search for <b>Rigidbody 2D.</b> Select it to add it to
|
||||
your player character.\n\n<b>Important:</b> Make sure to add the <b>Rigidbody
|
||||
2D</b> component, rather than the default <b>Rigidbody</b> component used
|
||||
for 3D applications.\n\n<b>3.</b> Enter <b>Play</b> mode to see the <b>Player</b>
|
||||
GameObject fall out of the bottom of the screen. \n\nThis type of gravity
|
||||
would make sense in a 2D side scroller, but it doesn\u2019t make sense
|
||||
in a top-down game.\n\n<b>4.</b> Exit <b>Play</b> mode and, in the <b>Rigidbody
|
||||
2D</b> component, adjust the <b>Gravity Scale</b> property to <b>0.</b>
|
||||
\n\nThis will stop gravity from affecting the player. \n\nEven though you
|
||||
disabled gravity, you still need the <b>Rigidbody 2D</b> component so that
|
||||
the player can move around.\n\n<b>5.</b> Enter <b>Play</b> mode again
|
||||
to ensure the player character now stays put in the room, then exit <b>Play</b>
|
||||
mode.\n\n<b>Note:</b> Remember to save your scene!"
|
||||
m_CodeSample:
|
||||
m_PostInstructionImage: {fileID: 0}
|
||||
m_Tutorial: {fileID: 0}
|
||||
m_Image: {fileID: 0}
|
||||
m_VideoUrl:
|
||||
m_Video: {fileID: 0}
|
||||
m_Media:
|
||||
m_ContentType: 0
|
||||
m_Image: {fileID: 0}
|
||||
m_VideoClip: {fileID: 0}
|
||||
m_Url:
|
||||
m_AutoStart: 1
|
||||
m_Loop: 1
|
||||
m_CriteriaCompletion: 0
|
||||
m_Criteria:
|
||||
m_Items: []
|
||||
m_MaskingSettings:
|
||||
m_MaskingEnabled: 0
|
||||
m_UnmaskedViews: []
|
||||
m_Summary:
|
||||
m_Description:
|
||||
m_InstructionBoxTitle:
|
||||
m_InstructionText:
|
||||
m_TutorialButtonText:
|
||||
m_CameraSettings:
|
||||
m_CameraMode: 0
|
||||
m_FocusMode: 0
|
||||
m_Orthographic: 0
|
||||
m_Size: 0
|
||||
m_Pivot: {x: 0, y: 0, z: 0}
|
||||
m_Rotation: {x: 0, y: 0, z: 0, w: 0}
|
||||
m_FrameObject:
|
||||
m_SceneGuid:
|
||||
m_GameObjectGuid:
|
||||
m_SerializedComponentType:
|
||||
m_TypeName:
|
||||
m_ComponentIndex: 0
|
||||
m_AssetObject: {fileID: 0}
|
||||
m_Prefab: {fileID: 0}
|
||||
m_Enabled: 0
|
||||
NextButton:
|
||||
m_Untranslated: Next
|
||||
DoneButton:
|
||||
m_Untranslated: Done
|
||||
m_CompletedSound: {fileID: 0}
|
||||
m_FaqEntries: []
|
||||
m_AutoAdvance: 0
|
||||
Showing:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
Shown:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
Staying:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
CriteriaValidated:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
MaskingSettingsChanged:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
NonMaskingSettingsChanged:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_OnBeforePageShown:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_OnAfterPageShown:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_OnTutorialPageStay:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_OnBeforeTutorialQuit:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_NextButton: Next
|
||||
m_DoneButton: Done
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 2e892cd2237794c9280cffa43ff3fc19
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,181 @@
|
||||
%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: 11500000, guid: ff771ccdf4150419d9ff4d342b069aae, type: 3}
|
||||
m_Name: Step_5.1.6
|
||||
m_EditorClassIdentifier:
|
||||
Title:
|
||||
m_Untranslated: Add the PlayerController2D script
|
||||
m_Paragraphs:
|
||||
m_Items:
|
||||
- m_Type: 9
|
||||
Title:
|
||||
m_Untranslated:
|
||||
Text:
|
||||
m_Untranslated:
|
||||
m_CodeSample:
|
||||
m_PostInstructionImage: {fileID: 0}
|
||||
m_Tutorial: {fileID: 0}
|
||||
m_Image: {fileID: 2800000, guid: 2cd87c489a99f4263a3cd35dc9fd5a8c, type: 3}
|
||||
m_VideoUrl: https://storage.googleapis.com/learn-media-public/Essentials-Pathway/5.1%20-%20Create%20a%202D%20Room/5.1.6%20-%20Add%20the%20PlayerController2D%20script%20-%20VIDEO.webm
|
||||
m_Video: {fileID: 32900000, guid: 5b69f4d6321874ec19173e92689ae1ad, type: 3}
|
||||
m_Media:
|
||||
m_ContentType: 2
|
||||
m_Image: {fileID: 0}
|
||||
m_VideoClip: {fileID: 0}
|
||||
m_Url: https://storage.googleapis.com/learn-media-public/Essentials-Pathway/5.1%20-%20Create%20a%202D%20Room/5.1.6%20-%20Add%20the%20PlayerController2D%20script%20-%20VIDEO.webm
|
||||
m_AutoStart: 0
|
||||
m_Loop: 0
|
||||
m_CriteriaCompletion: 0
|
||||
m_Criteria:
|
||||
m_Items: []
|
||||
m_MaskingSettings:
|
||||
m_MaskingEnabled: 0
|
||||
m_UnmaskedViews: []
|
||||
m_Summary:
|
||||
m_Description:
|
||||
m_InstructionBoxTitle:
|
||||
m_InstructionText:
|
||||
m_TutorialButtonText:
|
||||
- m_Type: 0
|
||||
Title:
|
||||
m_Untranslated:
|
||||
Text:
|
||||
m_Untranslated: "Next, you\u2019ll add a player controller script that allows
|
||||
you to control the movements of the 2D player. \n\nUnlike Unity's built-in
|
||||
components, such as the <b>Rigidbody 2D</b> component, <b>PlayerController2D</b>
|
||||
is a custom script we\u2019ve provided for you designed to manage player
|
||||
inputs and movements within a 2D environment."
|
||||
m_CodeSample:
|
||||
m_PostInstructionImage: {fileID: 0}
|
||||
m_Tutorial: {fileID: 0}
|
||||
m_Image: {fileID: 0}
|
||||
m_VideoUrl:
|
||||
m_Video: {fileID: 0}
|
||||
m_Media:
|
||||
m_ContentType: 0
|
||||
m_Image: {fileID: 0}
|
||||
m_VideoClip: {fileID: 0}
|
||||
m_Url:
|
||||
m_AutoStart: 1
|
||||
m_Loop: 1
|
||||
m_CriteriaCompletion: 0
|
||||
m_Criteria:
|
||||
m_Items: []
|
||||
m_MaskingSettings:
|
||||
m_MaskingEnabled: 0
|
||||
m_UnmaskedViews: []
|
||||
m_Summary:
|
||||
m_Description:
|
||||
m_InstructionBoxTitle:
|
||||
m_InstructionText:
|
||||
m_TutorialButtonText:
|
||||
- m_Type: 1
|
||||
Title:
|
||||
m_Untranslated: Instructions
|
||||
Text:
|
||||
m_Untranslated: "<b>1.</b> In the <b>Project</b> window, navigate to <b>_Unity
|
||||
Essentials</b> > <b>Scripts</b> > <b>Provided Scripts,</b> then locate
|
||||
the <b>PlayerController2D</b> script.\n\nIf you\u2019re interested, feel
|
||||
free to open the script, read through it, and see if you can figure out
|
||||
how it works. It has a lot of comments that should help you out.\n\n<b>2.</b>
|
||||
Select the <b>Player</b> GameObject to show its components in the <b>Inspector</b>
|
||||
window, then drag the <b>PlayerController2D</b> script directly into the
|
||||
<b>Inspector</b> window to add it as a component to the <b>Player</b> GameObject.
|
||||
\n\n<b>Note:</b> You can also drag the script directly onto the <b>Player</b>
|
||||
GameObject in the <b>Scene</b> view or use the <b>Add Component</b> button
|
||||
in the <b>Inspector</b> window to add the script.\n\n<b>3.</b> With the
|
||||
<b>PlayerController2D</b> script added, you can now configure its properties,
|
||||
including its speed and whether or not you want the player to be able to
|
||||
move diagonally.\n\n<b>4.</b> Test the player controls in <b>Play</b>
|
||||
mode. \n\nYour character should now move with either the arrow keys or
|
||||
the WASD keys.\n\n<b>Tip:</b> If you edit values in the <b>Inspector</b>
|
||||
window, you might have to click within the <b>Game</b> view window to regain
|
||||
control of the Player."
|
||||
m_CodeSample:
|
||||
m_PostInstructionImage: {fileID: 0}
|
||||
m_Tutorial: {fileID: 0}
|
||||
m_Image: {fileID: 0}
|
||||
m_VideoUrl:
|
||||
m_Video: {fileID: 0}
|
||||
m_Media:
|
||||
m_ContentType: 0
|
||||
m_Image: {fileID: 0}
|
||||
m_VideoClip: {fileID: 0}
|
||||
m_Url:
|
||||
m_AutoStart: 1
|
||||
m_Loop: 1
|
||||
m_CriteriaCompletion: 0
|
||||
m_Criteria:
|
||||
m_Items: []
|
||||
m_MaskingSettings:
|
||||
m_MaskingEnabled: 0
|
||||
m_UnmaskedViews: []
|
||||
m_Summary:
|
||||
m_Description:
|
||||
m_InstructionBoxTitle:
|
||||
m_InstructionText:
|
||||
m_TutorialButtonText:
|
||||
m_CameraSettings:
|
||||
m_CameraMode: 0
|
||||
m_FocusMode: 0
|
||||
m_Orthographic: 0
|
||||
m_Size: 0
|
||||
m_Pivot: {x: 0, y: 0, z: 0}
|
||||
m_Rotation: {x: 0, y: 0, z: 0, w: 0}
|
||||
m_FrameObject:
|
||||
m_SceneGuid:
|
||||
m_GameObjectGuid:
|
||||
m_SerializedComponentType:
|
||||
m_TypeName:
|
||||
m_ComponentIndex: 0
|
||||
m_AssetObject: {fileID: 0}
|
||||
m_Prefab: {fileID: 0}
|
||||
m_Enabled: 0
|
||||
NextButton:
|
||||
m_Untranslated: Next
|
||||
DoneButton:
|
||||
m_Untranslated: Done
|
||||
m_CompletedSound: {fileID: 0}
|
||||
m_FaqEntries: []
|
||||
m_AutoAdvance: 0
|
||||
Showing:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
Shown:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
Staying:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
CriteriaValidated:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
MaskingSettingsChanged:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
NonMaskingSettingsChanged:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_OnBeforePageShown:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_OnAfterPageShown:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_OnTutorialPageStay:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_OnBeforeTutorialQuit:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_NextButton: Next
|
||||
m_DoneButton: Done
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 259618356b1d745a7a878531ce33f228
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,183 @@
|
||||
%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: 11500000, guid: ff771ccdf4150419d9ff4d342b069aae, type: 3}
|
||||
m_Name: Step_5.1.7
|
||||
m_EditorClassIdentifier:
|
||||
Title:
|
||||
m_Untranslated: Lock your aspect ratio
|
||||
m_Paragraphs:
|
||||
m_Items:
|
||||
- m_Type: 9
|
||||
Title:
|
||||
m_Untranslated:
|
||||
Text:
|
||||
m_Untranslated:
|
||||
m_CodeSample:
|
||||
m_PostInstructionImage: {fileID: 0}
|
||||
m_Tutorial: {fileID: 0}
|
||||
m_Image: {fileID: 2800000, guid: 98a4db4c1dd6f4b47809d048d9de61c0, type: 3}
|
||||
m_VideoUrl: https://storage.googleapis.com/learn-media-public/Essentials-Pathway/5.1%20-%20Create%20a%202D%20Room/5.1.7%20-%20Lock%20your%20aspect%20ratio%20-%20VIDEO.webm
|
||||
m_Video: {fileID: 32900000, guid: 5b69f4d6321874ec19173e92689ae1ad, type: 3}
|
||||
m_Media:
|
||||
m_ContentType: 2
|
||||
m_Image: {fileID: 0}
|
||||
m_VideoClip: {fileID: 0}
|
||||
m_Url: https://storage.googleapis.com/learn-media-public/Essentials-Pathway/5.1%20-%20Create%20a%202D%20Room/5.1.7%20-%20Lock%20your%20aspect%20ratio%20-%20VIDEO.webm
|
||||
m_AutoStart: 0
|
||||
m_Loop: 0
|
||||
m_CriteriaCompletion: 0
|
||||
m_Criteria:
|
||||
m_Items: []
|
||||
m_MaskingSettings:
|
||||
m_MaskingEnabled: 0
|
||||
m_UnmaskedViews: []
|
||||
m_Summary:
|
||||
m_Description:
|
||||
m_InstructionBoxTitle:
|
||||
m_InstructionText:
|
||||
m_TutorialButtonText:
|
||||
- m_Type: 0
|
||||
Title:
|
||||
m_Untranslated:
|
||||
Text:
|
||||
m_Untranslated: "<b>Aspect ratio</b> describes the relationship between the
|
||||
width and the height of a screen. Old-fashioned TVs and the very first
|
||||
films, for example, used a 4:3 aspect ratio. That means that the screen
|
||||
was 4 units wide and 3 units high. However, modern widescreen TVs and most
|
||||
modern films use a wider 16:9 aspect ratio. \n\nThe <b>Game</b> view <b>aspect
|
||||
ratio</b> menu allows you to simulate how your game will look on different
|
||||
screen sizes and shapes during development.\n\nUp to this point, you have
|
||||
been using a <b>Free Aspect</b> ratio in the <b>Game</b> view, which means
|
||||
that the aspect ratio depends on the <b>Editor</b> window's size. \n\nHowever,
|
||||
while you're developing a game, it can be helpful to use the aspect ratio
|
||||
that your game's users will see on their devices. You can even set an aspect
|
||||
ratio that is best for your game regardless of the device so that you don't
|
||||
have to accommodate every screen shape, such as vertical portrait mode."
|
||||
m_CodeSample:
|
||||
m_PostInstructionImage: {fileID: 0}
|
||||
m_Tutorial: {fileID: 0}
|
||||
m_Image: {fileID: 0}
|
||||
m_VideoUrl:
|
||||
m_Video: {fileID: 0}
|
||||
m_Media:
|
||||
m_ContentType: 0
|
||||
m_Image: {fileID: 0}
|
||||
m_VideoClip: {fileID: 0}
|
||||
m_Url:
|
||||
m_AutoStart: 1
|
||||
m_Loop: 1
|
||||
m_CriteriaCompletion: 0
|
||||
m_Criteria:
|
||||
m_Items: []
|
||||
m_MaskingSettings:
|
||||
m_MaskingEnabled: 0
|
||||
m_UnmaskedViews: []
|
||||
m_Summary:
|
||||
m_Description:
|
||||
m_InstructionBoxTitle:
|
||||
m_InstructionText:
|
||||
m_TutorialButtonText:
|
||||
- m_Type: 1
|
||||
Title:
|
||||
m_Untranslated: Instructions
|
||||
Text:
|
||||
m_Untranslated: "<b>1.</b> Enter <b>Play</b> mode again to test your game.
|
||||
\n\n<b>2.</b> Find the <b>aspect ratio</b> dropdown, usually located in
|
||||
the top bar of the <b>Game</b> view. \n\n<b>3.</b> Your view should be
|
||||
set to <b>Free Aspect</b> by default, but if it\u2019s not, set it to <b>Free
|
||||
Aspect</b> now and resize the <b>Game</b> view. \n\nNotice that you can
|
||||
no longer see the entire floor, and the player can exit the viewable area.
|
||||
\n\n<b>4.</b> Select <b>16:9</b> from the <b>aspect ratio</b> dropdown
|
||||
to set the <b>Game</b> view to a widescreen aspect ratio. \n\nThis ratio
|
||||
matches the dimensions of the floor, so the entire floor will always be
|
||||
in view. \n\n<b>5.</b> Resize the <b>Game</b> view again. \n\nNotice that
|
||||
the entire floor now stays consistent even while the window changes size.\n\n<b>6.</b>
|
||||
Exit <b>Play</b> mode when you\u2019re done testing."
|
||||
m_CodeSample:
|
||||
m_PostInstructionImage: {fileID: 0}
|
||||
m_Tutorial: {fileID: 0}
|
||||
m_Image: {fileID: 0}
|
||||
m_VideoUrl:
|
||||
m_Video: {fileID: 0}
|
||||
m_Media:
|
||||
m_ContentType: 0
|
||||
m_Image: {fileID: 0}
|
||||
m_VideoClip: {fileID: 0}
|
||||
m_Url:
|
||||
m_AutoStart: 1
|
||||
m_Loop: 1
|
||||
m_CriteriaCompletion: 0
|
||||
m_Criteria:
|
||||
m_Items: []
|
||||
m_MaskingSettings:
|
||||
m_MaskingEnabled: 0
|
||||
m_UnmaskedViews: []
|
||||
m_Summary:
|
||||
m_Description:
|
||||
m_InstructionBoxTitle:
|
||||
m_InstructionText:
|
||||
m_TutorialButtonText:
|
||||
m_CameraSettings:
|
||||
m_CameraMode: 0
|
||||
m_FocusMode: 0
|
||||
m_Orthographic: 0
|
||||
m_Size: 0
|
||||
m_Pivot: {x: 0, y: 0, z: 0}
|
||||
m_Rotation: {x: 0, y: 0, z: 0, w: 0}
|
||||
m_FrameObject:
|
||||
m_SceneGuid:
|
||||
m_GameObjectGuid:
|
||||
m_SerializedComponentType:
|
||||
m_TypeName:
|
||||
m_ComponentIndex: 0
|
||||
m_AssetObject: {fileID: 0}
|
||||
m_Prefab: {fileID: 0}
|
||||
m_Enabled: 0
|
||||
NextButton:
|
||||
m_Untranslated: Next
|
||||
DoneButton:
|
||||
m_Untranslated: Done
|
||||
m_CompletedSound: {fileID: 0}
|
||||
m_FaqEntries: []
|
||||
m_AutoAdvance: 0
|
||||
Showing:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
Shown:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
Staying:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
CriteriaValidated:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
MaskingSettingsChanged:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
NonMaskingSettingsChanged:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_OnBeforePageShown:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_OnAfterPageShown:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_OnTutorialPageStay:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_OnBeforeTutorialQuit:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_NextButton: Next
|
||||
m_DoneButton: Done
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 39f5aecc0f4224313a3551d0a5a87407
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,183 @@
|
||||
%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: 11500000, guid: ff771ccdf4150419d9ff4d342b069aae, type: 3}
|
||||
m_Name: Step_5.1.8
|
||||
m_EditorClassIdentifier:
|
||||
Title:
|
||||
m_Untranslated: Add a wall
|
||||
m_Paragraphs:
|
||||
m_Items:
|
||||
- m_Type: 9
|
||||
Title:
|
||||
m_Untranslated:
|
||||
Text:
|
||||
m_Untranslated:
|
||||
m_CodeSample:
|
||||
m_PostInstructionImage: {fileID: 0}
|
||||
m_Tutorial: {fileID: 0}
|
||||
m_Image: {fileID: 2800000, guid: ead02b99471a04aa092bda1d4ee187fd, type: 3}
|
||||
m_VideoUrl: https://storage.googleapis.com/learn-media-public/Essentials-Pathway/5.1%20-%20Create%20a%202D%20Room/5.1.8%20-%20Add%20a%20wall%20-%20VIDEO.webm
|
||||
m_Video: {fileID: 32900000, guid: 5b69f4d6321874ec19173e92689ae1ad, type: 3}
|
||||
m_Media:
|
||||
m_ContentType: 2
|
||||
m_Image: {fileID: 0}
|
||||
m_VideoClip: {fileID: 0}
|
||||
m_Url: https://storage.googleapis.com/learn-media-public/Essentials-Pathway/5.1%20-%20Create%20a%202D%20Room/5.1.8%20-%20Add%20a%20wall%20-%20VIDEO.webm
|
||||
m_AutoStart: 0
|
||||
m_Loop: 0
|
||||
m_CriteriaCompletion: 0
|
||||
m_Criteria:
|
||||
m_Items: []
|
||||
m_MaskingSettings:
|
||||
m_MaskingEnabled: 0
|
||||
m_UnmaskedViews: []
|
||||
m_Summary:
|
||||
m_Description:
|
||||
m_InstructionBoxTitle:
|
||||
m_InstructionText:
|
||||
m_TutorialButtonText:
|
||||
- m_Type: 0
|
||||
Title:
|
||||
m_Untranslated:
|
||||
Text:
|
||||
m_Untranslated: "Now that you have your player in the room, you need walls
|
||||
to prevent that player from moving off-screen. \n\nIn the same way that
|
||||
you used a primitive cube to create your building blocks in the kid\u2019s
|
||||
room, you\u2019ll use Unity\u2019s provided 2D sprite shapes to make this
|
||||
wall. \n\nYou\u2019ll also use a new tool in the <b>Scene</b> view toolbar
|
||||
\u2014 the <b>Rect</b> tool \u2014 to quickly and easily move and reshape
|
||||
the sprite."
|
||||
m_CodeSample:
|
||||
m_PostInstructionImage: {fileID: 0}
|
||||
m_Tutorial: {fileID: 0}
|
||||
m_Image: {fileID: 0}
|
||||
m_VideoUrl:
|
||||
m_Video: {fileID: 0}
|
||||
m_Media:
|
||||
m_ContentType: 0
|
||||
m_Image: {fileID: 0}
|
||||
m_VideoClip: {fileID: 0}
|
||||
m_Url:
|
||||
m_AutoStart: 1
|
||||
m_Loop: 1
|
||||
m_CriteriaCompletion: 0
|
||||
m_Criteria:
|
||||
m_Items: []
|
||||
m_MaskingSettings:
|
||||
m_MaskingEnabled: 0
|
||||
m_UnmaskedViews: []
|
||||
m_Summary:
|
||||
m_Description:
|
||||
m_InstructionBoxTitle:
|
||||
m_InstructionText:
|
||||
m_TutorialButtonText:
|
||||
- m_Type: 1
|
||||
Title:
|
||||
m_Untranslated: Instructions
|
||||
Text:
|
||||
m_Untranslated: "<b>1.</b> In the <b>Hierarchy</b> window, right-click and
|
||||
select <b>2D Object</b> > <b>Sprites</b> > <b>Square</b> to create a new
|
||||
square sprite. \n\nThis square is the start of your wall.\n\n<b>2.</b>
|
||||
Rename the sprite \u201CWall_Bottom\u201D for clarity. \n\n<b>Note:</b>
|
||||
Check to make sure that the object\u2019s <b>Z</b> position value is set
|
||||
to <b>0</b> so that it\u2019s on the same Z plane as the floor object.
|
||||
\n\n<b>3.</b> With the square sprite selected, switch to the <b>Rect</b>
|
||||
tool from the toolbar. \n\nYou should see four blue circles at the corners
|
||||
of the square and a donut-shaped blue circle at its center, which represents
|
||||
the object\u2019s pivot point. \n\n<b>Note:</b> You could also press the
|
||||
<b>T</b> key on your keyboard to access the <b>Rect</b> tool, which is
|
||||
the next letter in the row of toolbar shortcuts you have already used (QWERT).
|
||||
\n\n<b>4.</b> With the <b>Rect</b> tool you can control the object\u2019s
|
||||
shape and move it around. Click and drag the corners or sides to stretch
|
||||
it across the desired edge of your room. The white wall should overlap
|
||||
the bottom edge of the floor.\n\n<b>5.</b> Enter <b>Play</b> mode to see
|
||||
how your bottom wall looks. \n\nThe wall won\u2019t actually work yet;
|
||||
the player can go right through it! You\u2019ll fix that next. "
|
||||
m_CodeSample:
|
||||
m_PostInstructionImage: {fileID: 0}
|
||||
m_Tutorial: {fileID: 0}
|
||||
m_Image: {fileID: 0}
|
||||
m_VideoUrl:
|
||||
m_Video: {fileID: 0}
|
||||
m_Media:
|
||||
m_ContentType: 0
|
||||
m_Image: {fileID: 0}
|
||||
m_VideoClip: {fileID: 0}
|
||||
m_Url:
|
||||
m_AutoStart: 1
|
||||
m_Loop: 1
|
||||
m_CriteriaCompletion: 0
|
||||
m_Criteria:
|
||||
m_Items: []
|
||||
m_MaskingSettings:
|
||||
m_MaskingEnabled: 0
|
||||
m_UnmaskedViews: []
|
||||
m_Summary:
|
||||
m_Description:
|
||||
m_InstructionBoxTitle:
|
||||
m_InstructionText:
|
||||
m_TutorialButtonText:
|
||||
m_CameraSettings:
|
||||
m_CameraMode: 0
|
||||
m_FocusMode: 0
|
||||
m_Orthographic: 0
|
||||
m_Size: 0
|
||||
m_Pivot: {x: 0, y: 0, z: 0}
|
||||
m_Rotation: {x: 0, y: 0, z: 0, w: 0}
|
||||
m_FrameObject:
|
||||
m_SceneGuid:
|
||||
m_GameObjectGuid:
|
||||
m_SerializedComponentType:
|
||||
m_TypeName:
|
||||
m_ComponentIndex: 0
|
||||
m_AssetObject: {fileID: 0}
|
||||
m_Prefab: {fileID: 0}
|
||||
m_Enabled: 0
|
||||
NextButton:
|
||||
m_Untranslated: Next
|
||||
DoneButton:
|
||||
m_Untranslated: Done
|
||||
m_CompletedSound: {fileID: 0}
|
||||
m_FaqEntries: []
|
||||
m_AutoAdvance: 0
|
||||
Showing:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
Shown:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
Staying:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
CriteriaValidated:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
MaskingSettingsChanged:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
NonMaskingSettingsChanged:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_OnBeforePageShown:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_OnAfterPageShown:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_OnTutorialPageStay:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_OnBeforeTutorialQuit:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_NextButton: Next
|
||||
m_DoneButton: Done
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 06b33ebdb5ef54b83b83bfb2649eb969
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,175 @@
|
||||
%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: 11500000, guid: ff771ccdf4150419d9ff4d342b069aae, type: 3}
|
||||
m_Name: Step_5.1.9
|
||||
m_EditorClassIdentifier:
|
||||
Title:
|
||||
m_Untranslated: Add 2D colliders
|
||||
m_Paragraphs:
|
||||
m_Items:
|
||||
- m_Type: 9
|
||||
Title:
|
||||
m_Untranslated:
|
||||
Text:
|
||||
m_Untranslated:
|
||||
m_CodeSample:
|
||||
m_PostInstructionImage: {fileID: 0}
|
||||
m_Tutorial: {fileID: 0}
|
||||
m_Image: {fileID: 2800000, guid: d5a58fad99c1a4f888bb3888b9e9d578, type: 3}
|
||||
m_VideoUrl: https://storage.googleapis.com/learn-media-public/Essentials-Pathway/5.1%20-%20Create%20a%202D%20Room/5.1.9%20-%20Add%202D%20colliders%20-%20VIDEO.webm
|
||||
m_Video: {fileID: 32900000, guid: 5b69f4d6321874ec19173e92689ae1ad, type: 3}
|
||||
m_Media:
|
||||
m_ContentType: 2
|
||||
m_Image: {fileID: 0}
|
||||
m_VideoClip: {fileID: 0}
|
||||
m_Url: https://storage.googleapis.com/learn-media-public/Essentials-Pathway/5.1%20-%20Create%20a%202D%20Room/5.1.9%20-%20Add%202D%20colliders%20-%20VIDEO.webm
|
||||
m_AutoStart: 0
|
||||
m_Loop: 0
|
||||
m_CriteriaCompletion: 0
|
||||
m_Criteria:
|
||||
m_Items: []
|
||||
m_MaskingSettings:
|
||||
m_MaskingEnabled: 0
|
||||
m_UnmaskedViews: []
|
||||
m_Summary:
|
||||
m_Description:
|
||||
m_InstructionBoxTitle:
|
||||
m_InstructionText:
|
||||
m_TutorialButtonText:
|
||||
- m_Type: 0
|
||||
Title:
|
||||
m_Untranslated:
|
||||
Text:
|
||||
m_Untranslated: "As you probably remember, colliders define the physical
|
||||
boundaries of objects, allowing them to interact with each other. Just
|
||||
like Unity has a 2D version of a <b>Rigidbody</b> component, it also has
|
||||
2D versions of colliders:\n\n\t\u2022 Instead of a <b>Box Collider 3D,</b>
|
||||
there\u2019s a <b>Box Collider 2D</b>.\n\t\u2022 Instead of a <b>Sphere
|
||||
Collider,</b> there\u2019s a <b>Circle Collider 2D</b>. \n\t\u2022 There
|
||||
are a lot of other 2D colliders to fit your assets\u2019 needs. \n\nYou\u2019ll
|
||||
use colliders to stop the player from passing through the wall."
|
||||
m_CodeSample:
|
||||
m_PostInstructionImage: {fileID: 0}
|
||||
m_Tutorial: {fileID: 0}
|
||||
m_Image: {fileID: 0}
|
||||
m_VideoUrl:
|
||||
m_Video: {fileID: 0}
|
||||
m_Media:
|
||||
m_ContentType: 0
|
||||
m_Image: {fileID: 0}
|
||||
m_VideoClip: {fileID: 0}
|
||||
m_Url:
|
||||
m_AutoStart: 1
|
||||
m_Loop: 1
|
||||
m_CriteriaCompletion: 0
|
||||
m_Criteria:
|
||||
m_Items: []
|
||||
m_MaskingSettings:
|
||||
m_MaskingEnabled: 0
|
||||
m_UnmaskedViews: []
|
||||
m_Summary:
|
||||
m_Description:
|
||||
m_InstructionBoxTitle:
|
||||
m_InstructionText:
|
||||
m_TutorialButtonText:
|
||||
- m_Type: 1
|
||||
Title:
|
||||
m_Untranslated: Instructions
|
||||
Text:
|
||||
m_Untranslated: "<b>1.</b> Select the <b>Wall</b> GameObject in the <b>Hierarchy</b>
|
||||
window. In the <b>Inspector</b> window, select <b>Add Component,</b> then
|
||||
search for and select <b>Box Collider 2D</b> to add it to the wall. \n\n<b>2.</b>
|
||||
Select your player character in the <b>Hierarchy</b> window. \n\n<b>3.</b>
|
||||
Depending on the shape of your character, add either a <b>Box Collider
|
||||
2D</b> or a <b>Circle Collider 2D</b> component. \n\nFor the Robot vacuum
|
||||
and UFO, you\u2019ll likely want a <b>Circle Collider</b> component. \n\n<b>3.</b>
|
||||
Enter <b>Play</b> mode to test. \n\nYour player character should now collide
|
||||
with the wall, unable to pass through it."
|
||||
m_CodeSample:
|
||||
m_PostInstructionImage: {fileID: 0}
|
||||
m_Tutorial: {fileID: 0}
|
||||
m_Image: {fileID: 0}
|
||||
m_VideoUrl:
|
||||
m_Video: {fileID: 0}
|
||||
m_Media:
|
||||
m_ContentType: 0
|
||||
m_Image: {fileID: 0}
|
||||
m_VideoClip: {fileID: 0}
|
||||
m_Url:
|
||||
m_AutoStart: 1
|
||||
m_Loop: 1
|
||||
m_CriteriaCompletion: 0
|
||||
m_Criteria:
|
||||
m_Items: []
|
||||
m_MaskingSettings:
|
||||
m_MaskingEnabled: 0
|
||||
m_UnmaskedViews: []
|
||||
m_Summary:
|
||||
m_Description:
|
||||
m_InstructionBoxTitle:
|
||||
m_InstructionText:
|
||||
m_TutorialButtonText:
|
||||
m_CameraSettings:
|
||||
m_CameraMode: 0
|
||||
m_FocusMode: 0
|
||||
m_Orthographic: 0
|
||||
m_Size: 0
|
||||
m_Pivot: {x: 0, y: 0, z: 0}
|
||||
m_Rotation: {x: 0, y: 0, z: 0, w: 0}
|
||||
m_FrameObject:
|
||||
m_SceneGuid:
|
||||
m_GameObjectGuid:
|
||||
m_SerializedComponentType:
|
||||
m_TypeName:
|
||||
m_ComponentIndex: 0
|
||||
m_AssetObject: {fileID: 0}
|
||||
m_Prefab: {fileID: 0}
|
||||
m_Enabled: 0
|
||||
NextButton:
|
||||
m_Untranslated: Next
|
||||
DoneButton:
|
||||
m_Untranslated: Done
|
||||
m_CompletedSound: {fileID: 0}
|
||||
m_FaqEntries: []
|
||||
m_AutoAdvance: 0
|
||||
Showing:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
Shown:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
Staying:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
CriteriaValidated:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
MaskingSettingsChanged:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
NonMaskingSettingsChanged:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_OnBeforePageShown:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_OnAfterPageShown:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_OnTutorialPageStay:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_OnBeforeTutorialQuit:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_NextButton: Next
|
||||
m_DoneButton: Done
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 58d5edfc87490410c98b2de6acc87ce3
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,74 @@
|
||||
%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: 11500000, guid: 8f107dc6d4c984c45bdafd3bb15f98f0, type: 3}
|
||||
m_Name: Tut 5.1
|
||||
m_EditorClassIdentifier:
|
||||
TutorialTitle:
|
||||
m_Untranslated: Set up a 2D room
|
||||
m_ProgressTrackingEnabled: 1
|
||||
m_LessonId: 0a772e45-8223-43da-8c80-9239d5fa9731
|
||||
m_Version: 1
|
||||
m_ReturnToPreviousScenes: 0
|
||||
m_SceneManagementBehavior: 1
|
||||
m_Scenes: []
|
||||
m_DefaultSceneCameraSettings:
|
||||
m_CameraMode: 1
|
||||
m_FocusMode: 0
|
||||
m_Orthographic: 0
|
||||
m_Size: 0.7414055
|
||||
m_Pivot: {x: 12, y: 8, z: -15}
|
||||
m_Rotation: {x: -0.20906472, y: 0.2526841, z: -0.05601874, w: -0.9430295}
|
||||
m_FrameObject:
|
||||
m_SceneGuid:
|
||||
m_GameObjectGuid:
|
||||
m_SerializedComponentType:
|
||||
m_TypeName:
|
||||
m_ComponentIndex: 0
|
||||
m_AssetObject: {fileID: 0}
|
||||
m_Prefab: {fileID: 0}
|
||||
m_Enabled: 0
|
||||
m_WindowLayout: {fileID: 0}
|
||||
m_Pages:
|
||||
m_Items:
|
||||
- {fileID: 11400000, guid: ce09de6ec942dca498105ea874ef09e5, type: 2}
|
||||
- {fileID: 11400000, guid: 3092106e63f0e4bb1a45bcf3852d0c9f, type: 2}
|
||||
- {fileID: 11400000, guid: 05125bde2f8e74616bba4703e2977bec, type: 2}
|
||||
- {fileID: 11400000, guid: cc85e8408a2a84065a1b50df7d8d467e, type: 2}
|
||||
- {fileID: 11400000, guid: de7096fcd8e814b298afe2664dd835f2, type: 2}
|
||||
- {fileID: 11400000, guid: 2e892cd2237794c9280cffa43ff3fc19, type: 2}
|
||||
- {fileID: 11400000, guid: 259618356b1d745a7a878531ce33f228, type: 2}
|
||||
- {fileID: 11400000, guid: 39f5aecc0f4224313a3551d0a5a87407, type: 2}
|
||||
- {fileID: 11400000, guid: 06b33ebdb5ef54b83b83bfb2649eb969, type: 2}
|
||||
- {fileID: 11400000, guid: 58d5edfc87490410c98b2de6acc87ce3, type: 2}
|
||||
- {fileID: 11400000, guid: 2657ccf3be397451ebcd2e8b0e04f25e, type: 2}
|
||||
- {fileID: 11400000, guid: e19c76c9b64fa4144a8e8dbe6098f813, type: 2}
|
||||
CompletionDialog: {fileID: 0}
|
||||
Modified:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
Initiated:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
PageInitiated:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
GoingBack:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
Completed:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
Quit:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_Scene: {fileID: 0}
|
||||
m_TutorialTitle:
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: b2a89bdc812d54141a82f0ff9c4b003b
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Reference in New Issue
Block a user