Iteration 1, added Kenney art. Also added braking.

Next iteration will be check points and lap times UI.
Then need collision of some sort, and some sort of terrain effects
(grass slows).
This commit is contained in:
2021-02-15 20:30:42 -06:00
parent e51c1d3b6c
commit 3e3a18c11d
270 changed files with 38817 additions and 442 deletions
+60 -372
View File
@@ -17393,88 +17393,6 @@ SpriteRenderer:
m_WasSpriteAssigned: 1
m_MaskInteraction: 0
m_SpriteSortPoint: 0
--- !u!1 &1164314714
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1164314715}
- component: {fileID: 1164314716}
m_Layer: 0
m_Name: Headlight_Left
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &1164314715
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1164314714}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: -0.302, y: 0.412, z: 0}
m_LocalScale: {x: 0.32916, y: 0.32916, z: 0.32916}
m_Children: []
m_Father: {fileID: 2010715200}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!212 &1164314716
SpriteRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1164314714}
m_Enabled: 1
m_CastShadows: 0
m_ReceiveShadows: 0
m_DynamicOccludee: 1
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RayTracingMode: 0
m_RayTraceProcedural: 0
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
m_StaticBatchRoot: {fileID: 0}
m_ProbeAnchor: {fileID: 0}
m_LightProbeVolumeOverride: {fileID: 0}
m_ScaleInLightmap: 1
m_ReceiveGI: 1
m_PreserveUVs: 0
m_IgnoreNormalsForChartDetection: 0
m_ImportantGI: 0
m_StitchLightmapSeams: 1
m_SelectedEditorRenderState: 0
m_MinimumChartSize: 4
m_AutoUVMaxDistance: 0.5
m_AutoUVMaxAngle: 89
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
m_Sprite: {fileID: -2413806693520163455, guid: 4adeaf2d2b1c7417e89f026626d8264f, type: 3}
m_Color: {r: 1, g: 0.9370368, b: 0.4669811, a: 1}
m_FlipX: 0
m_FlipY: 0
m_DrawMode: 0
m_Size: {x: 1, y: 1}
m_AdaptiveModeThreshold: 0.5
m_SpriteTileMode: 0
m_WasSpriteAssigned: 1
m_MaskInteraction: 0
m_SpriteSortPoint: 0
--- !u!1 &1170583383
GameObject:
m_ObjectHideFlags: 0
@@ -30918,216 +30836,11 @@ Transform:
m_Father: {fileID: 628594899}
m_RootOrder: 31
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 270}
--- !u!1 &2010715198
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 2010715200}
- component: {fileID: 2010715199}
- component: {fileID: 2010715202}
- component: {fileID: 2010715201}
m_Layer: 0
m_Name: Car
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!212 &2010715199
SpriteRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2010715198}
m_Enabled: 1
m_CastShadows: 0
m_ReceiveShadows: 0
m_DynamicOccludee: 1
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RayTracingMode: 0
m_RayTraceProcedural: 0
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
m_StaticBatchRoot: {fileID: 0}
m_ProbeAnchor: {fileID: 0}
m_LightProbeVolumeOverride: {fileID: 0}
m_ScaleInLightmap: 1
m_ReceiveGI: 1
m_PreserveUVs: 0
m_IgnoreNormalsForChartDetection: 0
m_ImportantGI: 0
m_StitchLightmapSeams: 1
m_SelectedEditorRenderState: 0
m_MinimumChartSize: 4
m_AutoUVMaxDistance: 0.5
m_AutoUVMaxAngle: 89
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
m_Sprite: {fileID: 7482667652216324306, guid: db750325989564987a34393247d883b4, type: 3}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_FlipX: 0
m_FlipY: 0
m_DrawMode: 0
m_Size: {x: 1, y: 1}
m_AdaptiveModeThreshold: 0.5
m_SpriteTileMode: 0
m_WasSpriteAssigned: 1
m_MaskInteraction: 0
m_SpriteSortPoint: 0
--- !u!4 &2010715200
--- !u!4 &2010715200 stripped
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_CorrespondingSourceObject: {fileID: 2407173318615250604, guid: 91c50235569390c4aabd5710802a7730, type: 3}
m_PrefabInstance: {fileID: 2407173319523902188}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2010715198}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0.6622988, y: 0.4244005, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 1164314715}
- {fileID: 2092652894}
m_Father: {fileID: 0}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &2010715201
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2010715198}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: d73a8141f49460f4c834eabcc50990eb, type: 3}
m_Name:
m_EditorClassIdentifier:
steeringAction:
m_Name: Steering
m_Type: 0
m_ExpectedControlType: Axis
m_Id: a8bd99d9-5d9b-4a7a-9dde-632c3c946bed
m_Processors:
m_Interactions:
m_SingletonActionBindings:
- m_Name:
m_Id: 358b0547-7185-4716-bddc-48ea2089616f
m_Path: <Gamepad>/leftStick/x
m_Interactions:
m_Processors:
m_Groups:
m_Action: Steering
m_Flags: 0
- m_Name: Keyboard
m_Id: 35624d35-d062-4607-a136-34f2d44e9160
m_Path: 1DAxis
m_Interactions:
m_Processors:
m_Groups:
m_Action: Steering
m_Flags: 4
- m_Name: negative
m_Id: a87dca41-74e6-4af8-acb2-6c579d199599
m_Path: <Keyboard>/d
m_Interactions:
m_Processors:
m_Groups:
m_Action: Steering
m_Flags: 8
- m_Name: positive
m_Id: 16798bdf-07f3-43c0-8e7a-e271264d1e7d
m_Path: <Keyboard>/a
m_Interactions:
m_Processors:
m_Groups:
m_Action: Steering
m_Flags: 8
accelerationAction:
m_Name: Acceleration
m_Type: 0
m_ExpectedControlType: Axis
m_Id: 839e2bbb-e675-44c9-a603-b5bcf67fb9c1
m_Processors:
m_Interactions:
m_SingletonActionBindings:
- m_Name:
m_Id: 36cd69a9-deeb-4926-804e-a8634f041bce
m_Path: <Gamepad>/rightTrigger
m_Interactions:
m_Processors:
m_Groups:
m_Action: Acceleration
m_Flags: 0
- m_Name:
m_Id: 85079dc2-1cd3-4d90-ae1d-0775436a0de1
m_Path: <Keyboard>/w
m_Interactions:
m_Processors:
m_Groups:
m_Action: Acceleration
m_Flags: 0
brakeAction:
m_Name: Brake
m_Type: 0
m_ExpectedControlType:
m_Id: d519b634-eb19-42c0-b401-37386d053e94
m_Processors:
m_Interactions:
m_SingletonActionBindings:
- m_Name:
m_Id: ac3701a7-1220-4220-aa6f-2fdfde4a93a6
m_Path: <Gamepad>/leftTrigger
m_Interactions:
m_Processors:
m_Groups:
m_Action: Brake
m_Flags: 0
- m_Name:
m_Id: 824c3e81-69f8-428a-8112-a53873764f90
m_Path: <Keyboard>/space
m_Interactions:
m_Processors:
m_Groups:
m_Action: Brake
m_Flags: 0
accelerationAmount: 1
steeringAnglePerSecond: 30
maxAcceleration: 5
--- !u!50 &2010715202
Rigidbody2D:
serializedVersion: 4
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2010715198}
m_BodyType: 0
m_Simulated: 1
m_UseFullKinematicContacts: 0
m_UseAutoMass: 0
m_Mass: 1
m_LinearDrag: 0.2
m_AngularDrag: 0.05
m_GravityScale: 0
m_Material: {fileID: 0}
m_Interpolate: 0
m_SleepingMode: 1
m_CollisionDetection: 1
m_Constraints: 0
--- !u!1 &2024864519
GameObject:
m_ObjectHideFlags: 0
@@ -32230,88 +31943,6 @@ SpriteRenderer:
m_WasSpriteAssigned: 1
m_MaskInteraction: 0
m_SpriteSortPoint: 0
--- !u!1 &2092652893
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 2092652894}
- component: {fileID: 2092652895}
m_Layer: 0
m_Name: Headlight_Right
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &2092652894
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2092652893}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0.302, y: 0.429, z: 0}
m_LocalScale: {x: 0.32916, y: 0.32916, z: 0.32916}
m_Children: []
m_Father: {fileID: 2010715200}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!212 &2092652895
SpriteRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2092652893}
m_Enabled: 1
m_CastShadows: 0
m_ReceiveShadows: 0
m_DynamicOccludee: 1
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RayTracingMode: 0
m_RayTraceProcedural: 0
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
m_StaticBatchRoot: {fileID: 0}
m_ProbeAnchor: {fileID: 0}
m_LightProbeVolumeOverride: {fileID: 0}
m_ScaleInLightmap: 1
m_ReceiveGI: 1
m_PreserveUVs: 0
m_IgnoreNormalsForChartDetection: 0
m_ImportantGI: 0
m_StitchLightmapSeams: 1
m_SelectedEditorRenderState: 0
m_MinimumChartSize: 4
m_AutoUVMaxDistance: 0.5
m_AutoUVMaxAngle: 89
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
m_Sprite: {fileID: -2413806693520163455, guid: 4adeaf2d2b1c7417e89f026626d8264f, type: 3}
m_Color: {r: 1, g: 0.9370368, b: 0.4669811, a: 1}
m_FlipX: 0
m_FlipY: 0
m_DrawMode: 0
m_Size: {x: 1, y: 1}
m_AdaptiveModeThreshold: 0.5
m_SpriteTileMode: 0
m_WasSpriteAssigned: 1
m_MaskInteraction: 0
m_SpriteSortPoint: 0
--- !u!1 &2094242375
GameObject:
m_ObjectHideFlags: 0
@@ -32748,3 +32379,60 @@ SpriteRenderer:
m_WasSpriteAssigned: 1
m_MaskInteraction: 0
m_SpriteSortPoint: 0
--- !u!1001 &2407173319523902188
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: 2407173318615250604, guid: 91c50235569390c4aabd5710802a7730, type: 3}
propertyPath: m_RootOrder
value: 1
objectReference: {fileID: 0}
- target: {fileID: 2407173318615250604, guid: 91c50235569390c4aabd5710802a7730, type: 3}
propertyPath: m_LocalPosition.x
value: 0.6622988
objectReference: {fileID: 0}
- target: {fileID: 2407173318615250604, guid: 91c50235569390c4aabd5710802a7730, type: 3}
propertyPath: m_LocalPosition.y
value: 0.4244005
objectReference: {fileID: 0}
- target: {fileID: 2407173318615250604, guid: 91c50235569390c4aabd5710802a7730, type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2407173318615250604, guid: 91c50235569390c4aabd5710802a7730, type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 2407173318615250604, guid: 91c50235569390c4aabd5710802a7730, type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2407173318615250604, guid: 91c50235569390c4aabd5710802a7730, type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2407173318615250604, guid: 91c50235569390c4aabd5710802a7730, type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2407173318615250604, guid: 91c50235569390c4aabd5710802a7730, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2407173318615250604, guid: 91c50235569390c4aabd5710802a7730, type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2407173318615250604, guid: 91c50235569390c4aabd5710802a7730, type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2407173318615250642, guid: 91c50235569390c4aabd5710802a7730, type: 3}
propertyPath: m_Name
value: Car
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 91c50235569390c4aabd5710802a7730, type: 3}
File diff suppressed because it is too large Load Diff
+7
View File
@@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 8d0ed0cccbe357e489b686bffc4568fc
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant: