Merge branch 'master' of git@ooftooft.net:Racesm.git

This commit is contained in:
magn9775
2024-04-26 12:33:11 +02:00
19 changed files with 1427 additions and 540 deletions

Binary file not shown.

View File

@@ -0,0 +1,16 @@
fileFormatVersion: 2
guid: 51ab194121bd4714e911514655ea2fb4
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 11500000, guid: 683b6cb6d0a474744822c888b46772c9, type: 3}
optimizeModel: 1
forceArbitraryBatchSize: 1
treatErrorsAsWarnings: 0
importMode: 1
weightsTypeMode: 0
activationTypeMode: 0

View File

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

View File

@@ -1 +1 @@
{"count":1,"self":14.8922256,"total":15.657670399999999,"children":{"InitializeActuators":{"count":8,"self":0.0019944999999999997,"total":0.0019944999999999997,"children":null},"InitializeSensors":{"count":8,"self":0.0019947,"total":0.0019947,"children":null},"AgentSendState":{"count":314,"self":0.0484605,"total":0.0744336,"children":{"CollectObservations":{"count":504,"self":0.00801,"total":0.00801,"children":null},"WriteActionMask":{"count":504,"self":0.00099549999999999986,"total":0.00099549999999999986,"children":null},"RequestDecision":{"count":504,"self":0.0169676,"total":0.0169676,"children":null}}},"DecideAction":{"count":314,"self":0.63277189999999994,"total":0.6397572,"children":{"RayPerceptionSensor.Perceive":{"count":1008,"self":0.0069853,"total":0.0069853,"children":null}}},"AgentAct":{"count":314,"self":0.0472652,"total":0.0472652,"children":null}},"gauges":{},"metadata":{"timer_format_version":"0.1.0","start_time_seconds":"1714121178","unity_version":"2022.3.11f1","command_line_arguments":"C:\\Program Files\\Unity\\Hub\\Editor\\2022.3.11f1\\Editor\\Unity.exe -projectpath C:\\Users\\Magnus\\Desktop\\Ny unityting\\Racesm -useHub -hubIPC -cloudEnvironment production -licensingIpc LicenseClient-Magnus -hubSessionId 8c17471b-7795-4082-905c-75744d6a077b -accessToken hv3zp4IA8nxcowfZc35r5tDHrlmzUZoExTBgESksngo005f","communication_protocol_version":"1.5.0","com.unity.ml-agents_version":"2.0.1","scene_name":"Car Customization","end_time_seconds":"1714121194"}} {"count":1,"self":237.5488256,"total":238.8033793,"children":{"InitializeActuators":{"count":8,"self":0.0010234999999999999,"total":0.0010234999999999999,"children":null},"InitializeSensors":{"count":8,"self":0.0020252,"total":0.0020252,"children":null},"AgentSendState":{"count":3500,"self":0.1812675,"total":0.2385947,"children":{"CollectObservations":{"count":5600,"self":0.035244,"total":0.035244,"children":null},"WriteActionMask":{"count":5600,"self":0.0030093999999999997,"total":0.0030093999999999997,"children":null},"RequestDecision":{"count":5600,"self":0.0190738,"total":0.0190738,"children":null}}},"DecideAction":{"count":3500,"self":0.76805329999999994,"total":0.78443109999999994,"children":{"RayPerceptionSensor.Perceive":{"count":11200,"self":0.016377799999999998,"total":0.016377799999999998,"children":null}}},"AgentAct":{"count":3500,"self":0.2284724,"total":0.2284724,"children":null}},"gauges":{},"metadata":{"timer_format_version":"0.1.0","start_time_seconds":"1714126738","unity_version":"2022.3.11f1","command_line_arguments":"C:\\Program Files\\Unity\\Hub\\Editor\\2022.3.11f1\\Editor\\Unity.exe -projectpath C:\\Users\\noahk\\Documents\\Unity projects\\Racesm -useHub -hubIPC -cloudEnvironment production -licensingIpc LicenseClient-noahk -hubSessionId a6f45e0e-41b6-4c96-a70e-ec8e10ca5aa9 -accessToken LhF-MiZYoHmiI2p1_6JvQZvJ6QUPd4VyLbrTbhNHTT8005f","communication_protocol_version":"1.5.0","com.unity.ml-agents_version":"2.0.1","scene_name":"Car Customization","end_time_seconds":"1714126977"}}

View File

@@ -1 +1 @@
{"count":1,"self":195.41159679999998,"total":198.03848159999998,"children":{"InitializeActuators":{"count":8,"self":0.0020007,"total":0.0020007,"children":null},"InitializeSensors":{"count":8,"self":0.0025236,"total":0.0025236,"children":null},"AgentSendState":{"count":9661,"self":0.5351234,"total":0.6740645,"children":{"CollectObservations":{"count":15464,"self":0.098202299999999992,"total":0.098202299999999992,"children":null},"WriteActionMask":{"count":15464,"self":0.0081061,"total":0.0081061,"children":null},"RequestDecision":{"count":15464,"self":0.0326327,"total":0.0326327,"children":null}}},"DecideAction":{"count":9661,"self":1.2607447999999999,"total":1.296937,"children":{"RayPerceptionSensor.Perceive":{"count":30928,"self":0.0361922,"total":0.0361922,"children":null}}},"AgentAct":{"count":9661,"self":0.6503544,"total":0.6503544,"children":null}},"gauges":{"RacecarTrack3.CumulativeReward":{"count":26,"max":27.7548618,"min":-1.80565119,"runningAverage":20.1893,"value":25.4251633,"weightedAverage":17.6442719}},"metadata":{"timer_format_version":"0.1.0","start_time_seconds":"1714049138","unity_version":"2022.3.11f1","command_line_arguments":"C:\\Program Files\\Unity\\Hub\\Editor\\2022.3.11f1\\Editor\\Unity.exe -projectpath C:\\Users\\noahk\\Documents\\Unity projects\\Racesm -useHub -hubIPC -cloudEnvironment production -licensingIpc LicenseClient-noahk -hubSessionId b034e26d-02c7-41ad-9a20-c198a628a35a -accessToken Dt6gMuGhvx1BDLlNSM4Gg2t5w5_py5VVtuHcl5oYJQk005f","communication_protocol_version":"1.5.0","com.unity.ml-agents_version":"2.0.1","scene_name":"City racesm","end_time_seconds":"1714049336"}} {"count":1,"self":72.5527808,"total":72.6327409,"children":{"InitializeActuators":{"count":8,"self":0.0010035999999999999,"total":0.0010035999999999999,"children":null},"InitializeSensors":{"count":8,"self":0.0013766,"total":0.0013766,"children":null},"AgentSendState":{"count":17,"self":0.0076086999999999995,"total":0.016133599999999998,"children":{"CollectObservations":{"count":32,"self":0.001005,"total":0.001005,"children":null},"WriteActionMask":{"count":32,"self":0,"total":0,"children":null},"RequestDecision":{"count":32,"self":0.0075198999999999995,"total":0.0075198999999999995,"children":null}}},"DecideAction":{"count":17,"self":0.0599388,"total":0.0599388,"children":{"RayPerceptionSensor.Perceive":{"count":64,"self":0,"total":0,"children":null}}},"AgentAct":{"count":17,"self":0.0015076999999999998,"total":0.0015076999999999998,"children":null}},"gauges":{},"metadata":{"timer_format_version":"0.1.0","start_time_seconds":"1714124476","unity_version":"2022.3.11f1","command_line_arguments":"C:\\Program Files\\Unity\\Hub\\Editor\\2022.3.11f1\\Editor\\Unity.exe -projectpath C:\\Users\\noahk\\Documents\\Unity projects\\Racesm -useHub -hubIPC -cloudEnvironment production -licensingIpc LicenseClient-noahk -hubSessionId a6f45e0e-41b6-4c96-a70e-ec8e10ca5aa9 -accessToken LhF-MiZYoHmiI2p1_6JvQZvJ6QUPd4VyLbrTbhNHTT8005f","communication_protocol_version":"1.5.0","com.unity.ml-agents_version":"2.0.1","scene_name":"City racesm","end_time_seconds":"1714124548"}}

View File

@@ -0,0 +1 @@
{"count":1,"self":92.3586048,"total":93.8270144,"children":{"InitializeActuators":{"count":8,"self":0.0013886999999999999,"total":0.0013886999999999999,"children":null},"InitializeSensors":{"count":8,"self":0.0025284,"total":0.0025284,"children":null},"AgentSendState":{"count":4468,"self":0.23973129999999998,"total":0.2994185,"children":{"CollectObservations":{"count":7152,"self":0.036733499999999995,"total":0.036733499999999995,"children":null},"WriteActionMask":{"count":7152,"self":0.0030748999999999998,"total":0.0030748999999999998,"children":null},"RequestDecision":{"count":7152,"self":0.0198788,"total":0.0198788,"children":null}}},"DecideAction":{"count":4468,"self":0.8916,"total":0.9134002,"children":{"RayPerceptionSensor.Perceive":{"count":14304,"self":0.0218002,"total":0.0218002,"children":null}}},"AgentAct":{"count":4468,"self":0.2516723,"total":0.2516723,"children":null}},"gauges":{"Benson Track2.CumulativeReward":{"count":4,"max":26.9638157,"min":25.1088982,"runningAverage":26.0176334,"value":25.1088982,"weightedAverage":26.0247383}},"metadata":{"timer_format_version":"0.1.0","start_time_seconds":"1714126990","unity_version":"2022.3.11f1","command_line_arguments":"C:\\Program Files\\Unity\\Hub\\Editor\\2022.3.11f1\\Editor\\Unity.exe -projectpath C:\\Users\\noahk\\Documents\\Unity projects\\Racesm -useHub -hubIPC -cloudEnvironment production -licensingIpc LicenseClient-noahk -hubSessionId a6f45e0e-41b6-4c96-a70e-ec8e10ca5aa9 -accessToken LhF-MiZYoHmiI2p1_6JvQZvJ6QUPd4VyLbrTbhNHTT8005f","communication_protocol_version":"1.5.0","com.unity.ml-agents_version":"2.0.1","scene_name":"CityRacetrack","end_time_seconds":"1714127083"}}

View File

@@ -1,6 +1,6 @@
fileFormatVersion: 2 fileFormatVersion: 2
guid: 58f7e79a87c79824597746e8c1bfe400 guid: 492beb31ec749764381a05e45171cba2
DefaultImporter: TextScriptImporter:
externalObjects: {} externalObjects: {}
userData: userData:
assetBundleName: assetBundleName:

View File

@@ -1 +1,5 @@
{"count":1,"self":121.0610688,"total":138.0208419,"children":{"InitializeActuators":{"count":8,"self":0.0019971,"total":0.0019971,"children":null},"InitializeSensors":{"count":8,"self":0.0040322,"total":0.0040322,"children":null},"AgentSendState":{"count":6652,"self":1.3374462999999999,"total":1.5864675,"children":{"CollectObservations":{"count":10648,"self":0.13765929999999998,"total":0.13765929999999998,"children":null},"WriteActionMask":{"count":10648,"self":0.0276351,"total":0.0276351,"children":null},"RequestDecision":{"count":10648,"self":0.08372679999999999,"total":0.08372679999999999,"children":null}}},"DecideAction":{"count":6652,"self":14.4748288,"total":14.7074404,"children":{"RayPerceptionSensor.Perceive":{"count":21296,"self":0.2326122,"total":0.2326122,"children":null}}},"AgentAct":{"count":6652,"self":0.65683969999999992,"total":0.65683969999999992,"children":null}},"gauges":{"Benson Track2.CumulativeReward":{"count":7,"max":24.5822716,"min":17.1586933,"runningAverage":21.37373,"value":17.1586933,"weightedAverage":21.06385}},"metadata":{"timer_format_version":"0.1.0","start_time_seconds":"1714127057","unity_version":"2022.3.11f1","command_line_arguments":"C:\\Program Files\\Unity\\Hub\\Editor\\2022.3.11f1\\Editor\\Unity.exe -projectpath C:\\Users\\Magnus\\Desktop\\Ny unityting\\Racesm -useHub -hubIPC -cloudEnvironment production -licensingIpc LicenseClient-Magnus -hubSessionId 8c17471b-7795-4082-905c-75744d6a077b -accessToken hv3zp4IA8nxcowfZc35r5tDHrlmzUZoExTBgESksngo005f","communication_protocol_version":"1.5.0","com.unity.ml-agents_version":"2.0.1","scene_name":"ForestRacetrack","end_time_seconds":"1714127195"}} <<<<<<< HEAD
{"count":1,"self":121.0610688,"total":138.0208419,"children":{"InitializeActuators":{"count":8,"self":0.0019971,"total":0.0019971,"children":null},"InitializeSensors":{"count":8,"self":0.0040322,"total":0.0040322,"children":null},"AgentSendState":{"count":6652,"self":1.3374462999999999,"total":1.5864675,"children":{"CollectObservations":{"count":10648,"self":0.13765929999999998,"total":0.13765929999999998,"children":null},"WriteActionMask":{"count":10648,"self":0.0276351,"total":0.0276351,"children":null},"RequestDecision":{"count":10648,"self":0.08372679999999999,"total":0.08372679999999999,"children":null}}},"DecideAction":{"count":6652,"self":14.4748288,"total":14.7074404,"children":{"RayPerceptionSensor.Perceive":{"count":21296,"self":0.2326122,"total":0.2326122,"children":null}}},"AgentAct":{"count":6652,"self":0.65683969999999992,"total":0.65683969999999992,"children":null}},"gauges":{"Benson Track2.CumulativeReward":{"count":7,"max":24.5822716,"min":17.1586933,"runningAverage":21.37373,"value":17.1586933,"weightedAverage":21.06385}},"metadata":{"timer_format_version":"0.1.0","start_time_seconds":"1714127057","unity_version":"2022.3.11f1","command_line_arguments":"C:\\Program Files\\Unity\\Hub\\Editor\\2022.3.11f1\\Editor\\Unity.exe -projectpath C:\\Users\\Magnus\\Desktop\\Ny unityting\\Racesm -useHub -hubIPC -cloudEnvironment production -licensingIpc LicenseClient-Magnus -hubSessionId 8c17471b-7795-4082-905c-75744d6a077b -accessToken hv3zp4IA8nxcowfZc35r5tDHrlmzUZoExTBgESksngo005f","communication_protocol_version":"1.5.0","com.unity.ml-agents_version":"2.0.1","scene_name":"ForestRacetrack","end_time_seconds":"1714127195"}}
=======
{"count":1,"self":16.4673248,"total":16.889606399999998,"children":{"InitializeActuators":{"count":8,"self":0.0030069999999999997,"total":0.0030069999999999997,"children":null},"InitializeSensors":{"count":8,"self":0.0010002,"total":0.0010002,"children":null},"AgentSendState":{"count":617,"self":0.038239999999999996,"total":0.056531899999999996,"children":{"CollectObservations":{"count":992,"self":0.0066193,"total":0.0066193,"children":null},"WriteActionMask":{"count":992,"self":0,"total":0,"children":null},"RequestDecision":{"count":992,"self":0.0116726,"total":0.0116726,"children":null}}},"DecideAction":{"count":617,"self":0.31339469999999997,"total":0.3166316,"children":{"RayPerceptionSensor.Perceive":{"count":1984,"self":0.0032369,"total":0.0032369,"children":null}}},"AgentAct":{"count":617,"self":0.044110199999999995,"total":0.044110199999999995,"children":null}},"gauges":{},"metadata":{"timer_format_version":"0.1.0","start_time_seconds":"1714124585","unity_version":"2022.3.11f1","command_line_arguments":"C:\\Program Files\\Unity\\Hub\\Editor\\2022.3.11f1\\Editor\\Unity.exe -projectpath C:\\Users\\noahk\\Documents\\Unity projects\\Racesm -useHub -hubIPC -cloudEnvironment production -licensingIpc LicenseClient-noahk -hubSessionId a6f45e0e-41b6-4c96-a70e-ec8e10ca5aa9 -accessToken LhF-MiZYoHmiI2p1_6JvQZvJ6QUPd4VyLbrTbhNHTT8005f","communication_protocol_version":"1.5.0","com.unity.ml-agents_version":"2.0.1","scene_name":"ForestRacetrack","end_time_seconds":"1714124602"}}
>>>>>>> 49b4414155257b40f20687a86068adc472c780dd

View File

@@ -1 +1,5 @@
{"count":1,"self":151.5671552,"total":159.4234014,"children":{"InitializeActuators":{"count":8,"self":0.0039895,"total":0.0039895,"children":null},"InitializeSensors":{"count":8,"self":0.0029920999999999997,"total":0.0029920999999999997,"children":null},"AgentSendState":{"count":5608,"self":0.6404556,"total":0.7972872,"children":{"CollectObservations":{"count":4928,"self":0.0867767,"total":0.0867767,"children":null},"WriteActionMask":{"count":4928,"self":0.017532199999999998,"total":0.017532199999999998,"children":null},"RequestDecision":{"count":4928,"self":0.0525227,"total":0.0525227,"children":null}}},"DecideAction":{"count":5608,"self":6.5150619999999995,"total":6.624032,"children":{"RayPerceptionSensor.Perceive":{"count":9856,"self":0.10897,"total":0.10897,"children":null}}},"AgentAct":{"count":5608,"self":0.4279439,"total":0.4279439,"children":null}},"gauges":{"Benson Track2.CumulativeReward":{"count":7,"max":25.59539,"min":20.5583878,"runningAverage":23.1924419,"value":23.1277428,"weightedAverage":23.0449276}},"metadata":{"timer_format_version":"0.1.0","start_time_seconds":"1714126497","unity_version":"2022.3.11f1","command_line_arguments":"C:\\Program Files\\Unity\\Hub\\Editor\\2022.3.11f1\\Editor\\Unity.exe -projectpath C:\\Users\\Magnus\\Desktop\\Ny unityting\\Racesm -useHub -hubIPC -cloudEnvironment production -licensingIpc LicenseClient-Magnus -hubSessionId 8c17471b-7795-4082-905c-75744d6a077b -accessToken hv3zp4IA8nxcowfZc35r5tDHrlmzUZoExTBgESksngo005f","communication_protocol_version":"1.5.0","com.unity.ml-agents_version":"2.0.1","scene_name":"WinScreen","end_time_seconds":"1714126657"}} <<<<<<< HEAD
{"count":1,"self":151.5671552,"total":159.4234014,"children":{"InitializeActuators":{"count":8,"self":0.0039895,"total":0.0039895,"children":null},"InitializeSensors":{"count":8,"self":0.0029920999999999997,"total":0.0029920999999999997,"children":null},"AgentSendState":{"count":5608,"self":0.6404556,"total":0.7972872,"children":{"CollectObservations":{"count":4928,"self":0.0867767,"total":0.0867767,"children":null},"WriteActionMask":{"count":4928,"self":0.017532199999999998,"total":0.017532199999999998,"children":null},"RequestDecision":{"count":4928,"self":0.0525227,"total":0.0525227,"children":null}}},"DecideAction":{"count":5608,"self":6.5150619999999995,"total":6.624032,"children":{"RayPerceptionSensor.Perceive":{"count":9856,"self":0.10897,"total":0.10897,"children":null}}},"AgentAct":{"count":5608,"self":0.4279439,"total":0.4279439,"children":null}},"gauges":{"Benson Track2.CumulativeReward":{"count":7,"max":25.59539,"min":20.5583878,"runningAverage":23.1924419,"value":23.1277428,"weightedAverage":23.0449276}},"metadata":{"timer_format_version":"0.1.0","start_time_seconds":"1714126497","unity_version":"2022.3.11f1","command_line_arguments":"C:\\Program Files\\Unity\\Hub\\Editor\\2022.3.11f1\\Editor\\Unity.exe -projectpath C:\\Users\\Magnus\\Desktop\\Ny unityting\\Racesm -useHub -hubIPC -cloudEnvironment production -licensingIpc LicenseClient-Magnus -hubSessionId 8c17471b-7795-4082-905c-75744d6a077b -accessToken hv3zp4IA8nxcowfZc35r5tDHrlmzUZoExTBgESksngo005f","communication_protocol_version":"1.5.0","com.unity.ml-agents_version":"2.0.1","scene_name":"WinScreen","end_time_seconds":"1714126657"}}
=======
{"count":1,"self":299.9013632,"total":307.61609189999996,"children":{"InitializeActuators":{"count":8,"self":0.0010006,"total":0.0010006,"children":null},"InitializeSensors":{"count":8,"self":0.0015026,"total":0.0015026,"children":null},"AgentSendState":{"count":15142,"self":0.7721819,"total":0.9181054,"children":{"CollectObservations":{"count":21584,"self":0.0768378,"total":0.0768378,"children":null},"WriteActionMask":{"count":21584,"self":0.026219799999999998,"total":0.026219799999999998,"children":null},"RequestDecision":{"count":21584,"self":0.0428659,"total":0.0428659,"children":null}}},"DecideAction":{"count":15142,"self":6.0027792,"total":6.0986367999999995,"children":{"RayPerceptionSensor.Perceive":{"count":43168,"self":0.0958574,"total":0.0958574,"children":null}}},"AgentAct":{"count":15142,"self":0.6944775,"total":0.6944775,"children":null}},"gauges":{"Benson Track2.CumulativeReward":{"count":21,"max":25.388195,"min":17.5381966,"runningAverage":23.97337,"value":24.9569759,"weightedAverage":24.8837566}},"metadata":{"timer_format_version":"0.1.0","start_time_seconds":"1714125978","unity_version":"2022.3.11f1","command_line_arguments":"C:\\Program Files\\Unity\\Hub\\Editor\\2022.3.11f1\\Editor\\Unity.exe -projectpath C:\\Users\\noahk\\Documents\\Unity projects\\Racesm -useHub -hubIPC -cloudEnvironment production -licensingIpc LicenseClient-noahk -hubSessionId a6f45e0e-41b6-4c96-a70e-ec8e10ca5aa9 -accessToken LhF-MiZYoHmiI2p1_6JvQZvJ6QUPd4VyLbrTbhNHTT8005f","communication_protocol_version":"1.5.0","com.unity.ml-agents_version":"2.0.1","scene_name":"WinScreen","end_time_seconds":"1714126286"}}
>>>>>>> 49b4414155257b40f20687a86068adc472c780dd

View File

@@ -4612,7 +4612,7 @@ AudioSource:
OutputAudioMixerGroup: {fileID: 0} OutputAudioMixerGroup: {fileID: 0}
m_audioClip: {fileID: 8300000, guid: 10cae2fd52e1c0f4eba2e2091d441cd1, type: 3} m_audioClip: {fileID: 8300000, guid: 10cae2fd52e1c0f4eba2e2091d441cd1, type: 3}
m_PlayOnAwake: 1 m_PlayOnAwake: 1
m_Volume: 1 m_Volume: 0.7
m_Pitch: 1 m_Pitch: 1
Loop: 1 Loop: 1
Mute: 0 Mute: 0

File diff suppressed because it is too large Load Diff

View File

@@ -950,6 +950,9 @@ PrefabInstance:
- targetCorrespondingSourceObject: {fileID: 5442577508303945574, guid: 4d2790a368af4c4458fc4dc8130f8b19, type: 3} - targetCorrespondingSourceObject: {fileID: 5442577508303945574, guid: 4d2790a368af4c4458fc4dc8130f8b19, type: 3}
insertIndex: -1 insertIndex: -1
addedObject: {fileID: 454865286} addedObject: {fileID: 454865286}
- targetCorrespondingSourceObject: {fileID: 5442577508303945574, guid: 4d2790a368af4c4458fc4dc8130f8b19, type: 3}
insertIndex: -1
addedObject: {fileID: 454865287}
m_SourcePrefab: {fileID: 100100000, guid: 4d2790a368af4c4458fc4dc8130f8b19, type: 3} m_SourcePrefab: {fileID: 100100000, guid: 4d2790a368af4c4458fc4dc8130f8b19, type: 3}
--- !u!1 &454865285 stripped --- !u!1 &454865285 stripped
GameObject: GameObject:
@@ -964,6 +967,102 @@ AudioListener:
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 454865285} m_GameObject: {fileID: 454865285}
m_Enabled: 1 m_Enabled: 1
--- !u!82 &454865287
AudioSource:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 454865285}
m_Enabled: 1
serializedVersion: 4
OutputAudioMixerGroup: {fileID: 0}
m_audioClip: {fileID: 8300000, guid: 0ec4461d6a3762242bd78865e611d97a, type: 3}
m_PlayOnAwake: 1
m_Volume: 1
m_Pitch: 1
Loop: 1
Mute: 0
Spatialize: 0
SpatializePostEffects: 0
Priority: 128
DopplerLevel: 1
MinDistance: 1
MaxDistance: 500
Pan2D: 0
rolloffMode: 0
BypassEffects: 0
BypassListenerEffects: 0
BypassReverbZones: 0
rolloffCustomCurve:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 1
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 1
value: 0
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
panLevelCustomCurve:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 0
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
spreadCustomCurve:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 0
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
reverbZoneMixCustomCurve:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 1
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
--- !u!1001 &464917649 --- !u!1001 &464917649
PrefabInstance: PrefabInstance:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@@ -3092,7 +3191,7 @@ PrefabInstance:
- target: {fileID: 1123712215127460916, guid: 7a3d78e18ac1cd7458d86f15c7aedc7a, type: 3} - target: {fileID: 1123712215127460916, guid: 7a3d78e18ac1cd7458d86f15c7aedc7a, type: 3}
propertyPath: m_Model propertyPath: m_Model
value: value:
objectReference: {fileID: 5022602860645237092, guid: 0a7181c8b969e1346b8a4323695aea4d, type: 3} objectReference: {fileID: 5022602860645237092, guid: 88f4c7b886ce6da40a6b4208019aa5b9, type: 3}
- target: {fileID: 1738365250199652202, guid: 7a3d78e18ac1cd7458d86f15c7aedc7a, type: 3} - target: {fileID: 1738365250199652202, guid: 7a3d78e18ac1cd7458d86f15c7aedc7a, type: 3}
propertyPath: isPlaying propertyPath: isPlaying
value: 1 value: 1
@@ -3324,7 +3423,7 @@ PrefabInstance:
- target: {fileID: 3382312427533002403, guid: 7a3d78e18ac1cd7458d86f15c7aedc7a, type: 3} - target: {fileID: 3382312427533002403, guid: 7a3d78e18ac1cd7458d86f15c7aedc7a, type: 3}
propertyPath: m_Model propertyPath: m_Model
value: value:
objectReference: {fileID: 5022602860645237092, guid: 0a7181c8b969e1346b8a4323695aea4d, type: 3} objectReference: {fileID: 5022602860645237092, guid: 88f4c7b886ce6da40a6b4208019aa5b9, type: 3}
- target: {fileID: 3510852165663727938, guid: 7a3d78e18ac1cd7458d86f15c7aedc7a, type: 3} - target: {fileID: 3510852165663727938, guid: 7a3d78e18ac1cd7458d86f15c7aedc7a, type: 3}
propertyPath: m_Model propertyPath: m_Model
value: value:
@@ -5347,6 +5446,10 @@ PrefabInstance:
serializedVersion: 3 serializedVersion: 3
m_TransformParent: {fileID: 0} m_TransformParent: {fileID: 0}
m_Modifications: m_Modifications:
- target: {fileID: 1546992020157654961, guid: bb42b7aaa687b2f4d811c8cc5d2d259f, type: 3}
propertyPath: isVisible
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1828470746108631247, guid: bb42b7aaa687b2f4d811c8cc5d2d259f, type: 3} - target: {fileID: 1828470746108631247, guid: bb42b7aaa687b2f4d811c8cc5d2d259f, type: 3}
propertyPath: m_LocalPosition.x propertyPath: m_LocalPosition.x
value: 0 value: 0
@@ -5387,10 +5490,66 @@ PrefabInstance:
propertyPath: m_LocalEulerAnglesHint.z propertyPath: m_LocalEulerAnglesHint.z
value: 0 value: 0
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 1853448600777947725, guid: bb42b7aaa687b2f4d811c8cc5d2d259f, type: 3}
propertyPath: isVisible
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2255057151155698497, guid: bb42b7aaa687b2f4d811c8cc5d2d259f, type: 3}
propertyPath: isVisible
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2591529628987485416, guid: bb42b7aaa687b2f4d811c8cc5d2d259f, type: 3}
propertyPath: isVisible
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2658771290197328040, guid: bb42b7aaa687b2f4d811c8cc5d2d259f, type: 3}
propertyPath: isVisible
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3048634400342871935, guid: bb42b7aaa687b2f4d811c8cc5d2d259f, type: 3}
propertyPath: isVisible
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3300423061332350819, guid: bb42b7aaa687b2f4d811c8cc5d2d259f, type: 3}
propertyPath: isVisible
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5380162463718886690, guid: bb42b7aaa687b2f4d811c8cc5d2d259f, type: 3}
propertyPath: isVisible
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5616412586995243976, guid: bb42b7aaa687b2f4d811c8cc5d2d259f, type: 3}
propertyPath: isVisible
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6344927979691199544, guid: bb42b7aaa687b2f4d811c8cc5d2d259f, type: 3}
propertyPath: isVisible
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7034186537795439529, guid: bb42b7aaa687b2f4d811c8cc5d2d259f, type: 3}
propertyPath: isVisible
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8332697132827525405, guid: bb42b7aaa687b2f4d811c8cc5d2d259f, type: 3}
propertyPath: isVisible
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8638417887361332676, guid: bb42b7aaa687b2f4d811c8cc5d2d259f, type: 3}
propertyPath: isVisible
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8723010894896747241, guid: bb42b7aaa687b2f4d811c8cc5d2d259f, type: 3}
propertyPath: isVisible
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8777121825423982250, guid: bb42b7aaa687b2f4d811c8cc5d2d259f, type: 3} - target: {fileID: 8777121825423982250, guid: bb42b7aaa687b2f4d811c8cc5d2d259f, type: 3}
propertyPath: m_Name propertyPath: m_Name
value: racetrack2 value: racetrack2
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 8836240323335900378, guid: bb42b7aaa687b2f4d811c8cc5d2d259f, type: 3}
propertyPath: isVisible
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: [] m_RemovedComponents: []
m_RemovedGameObjects: [] m_RemovedGameObjects: []
m_AddedGameObjects: [] m_AddedGameObjects: []
@@ -5574,7 +5733,7 @@ PrefabInstance:
objectReference: {fileID: 1373860105} objectReference: {fileID: 1373860105}
- target: {fileID: 5365138393421743302, guid: dc3e6243ce610df4c845a9fa5df754a7, type: 3} - target: {fileID: 5365138393421743302, guid: dc3e6243ce610df4c845a9fa5df754a7, type: 3}
propertyPath: lapAmount propertyPath: lapAmount
value: 1 value: 3
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 5365138393421743302, guid: dc3e6243ce610df4c845a9fa5df754a7, type: 3} - target: {fileID: 5365138393421743302, guid: dc3e6243ce610df4c845a9fa5df754a7, type: 3}
propertyPath: players.Array.size propertyPath: players.Array.size

View File

@@ -646,6 +646,127 @@ RectTransform:
m_AnchoredPosition: {x: 928, y: 230} m_AnchoredPosition: {x: 928, y: 230}
m_SizeDelta: {x: 1000, y: 400} m_SizeDelta: {x: 1000, y: 400}
m_Pivot: {x: 0.5, y: 0.5} m_Pivot: {x: 0.5, y: 0.5}
--- !u!1 &783549761
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 783549765}
- component: {fileID: 783549764}
- component: {fileID: 783549763}
- component: {fileID: 783549762}
m_Layer: 5
m_Name: Play
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!114 &783549762
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 783549761}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Navigation:
m_Mode: 3
m_WrapAround: 0
m_SelectOnUp: {fileID: 0}
m_SelectOnDown: {fileID: 0}
m_SelectOnLeft: {fileID: 0}
m_SelectOnRight: {fileID: 0}
m_Transition: 1
m_Colors:
m_NormalColor: {r: 1, g: 1, b: 1, a: 1}
m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1}
m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608}
m_ColorMultiplier: 1
m_FadeDuration: 0.1
m_SpriteState:
m_HighlightedSprite: {fileID: 0}
m_PressedSprite: {fileID: 0}
m_SelectedSprite: {fileID: 0}
m_DisabledSprite: {fileID: 0}
m_AnimationTriggers:
m_NormalTrigger: Normal
m_HighlightedTrigger: Highlighted
m_PressedTrigger: Pressed
m_SelectedTrigger: Selected
m_DisabledTrigger: Disabled
m_Interactable: 1
m_TargetGraphic: {fileID: 783549763}
m_OnClick:
m_PersistentCalls:
m_Calls: []
--- !u!114 &783549763
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 783549761}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 0.23031552, g: 0.8490566, b: 0, a: 1}
m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_Sprite: {fileID: 21300000, guid: 61583fba956632548911dbe60ba47876, type: 3}
m_Type: 1
m_PreserveAspect: 0
m_FillCenter: 1
m_FillMethod: 4
m_FillAmount: 1
m_FillClockwise: 1
m_FillOrigin: 0
m_UseSpriteMesh: 0
m_PixelsPerUnitMultiplier: 1
--- !u!222 &783549764
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 783549761}
m_CullTransparentMesh: 1
--- !u!224 &783549765
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 783549761}
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_ConstrainProportionsScale: 0
m_Children:
- {fileID: 476199421}
m_Father: {fileID: 0}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 960, y: 148}
m_SizeDelta: {x: 300, y: 100}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!1001 &784053825 --- !u!1001 &784053825
PrefabInstance: PrefabInstance:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@@ -1734,7 +1855,7 @@ MonoBehaviour:
m_Transition: 1 m_Transition: 1
m_Colors: m_Colors:
m_NormalColor: {r: 1, g: 1, b: 1, a: 1} m_NormalColor: {r: 1, g: 1, b: 1, a: 1}
m_HighlightedColor: {r: 1, g: 0, b: 0, a: 1} m_HighlightedColor: {r: 0.03198047, g: 0.7264151, b: 0.17153284, a: 1}
m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1} m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1}
m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608}
@@ -2586,3 +2707,4 @@ SceneRoots:
- {fileID: 2076255753} - {fileID: 2076255753}
- {fileID: 874635445} - {fileID: 874635445}
- {fileID: 1050167112} - {fileID: 1050167112}
- {fileID: 783549765}

View File

@@ -36,8 +36,17 @@ public class GameManager : MonoBehaviour
{ {
GameObject player = players[i]; GameObject player = players[i];
if (playersFinished.Contains(player.name) || playersFinished.Contains(player.name + " (player)")) try
continue; {
if (playersFinished.Contains(player.name) || playersFinished.Contains(player.name + " (player)"))
continue;
}
catch
{
return;
}
bool isAI = true; bool isAI = true;
if (player.GetComponent<PlayerController>().enabled) if (player.GetComponent<PlayerController>().enabled)

View File

@@ -1,5 +1,6 @@
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq;
using UnityEngine; using UnityEngine;
public class PlayerController : MonoBehaviour public class PlayerController : MonoBehaviour
@@ -125,10 +126,21 @@ public class PlayerController : MonoBehaviour
private void Update() { private void Update() {
Transform currentCheckpoint = checkpoints[checkpointsCollected].transform; Transform currentCheckpoint = checkpoints[checkpointsCollected].transform;
float checkpintDistance = distanceToCheckpoint(currentCheckpoint); float checkpintDistance = distanceToCheckpoint(currentCheckpoint);
if (checkpintDistance < 0.1f) if (checkpintDistance < 0.1f)
{ {
checkpointsCollected += 1; checkpointsCollected += 1;
currentCheckpoint.GetComponent<Checkpoint>().isVisible = false;
Transform nextCheckpoint;
if (checkpointsCollected <= checkpoints.Count() - 1)
nextCheckpoint = checkpoints[checkpointsCollected].transform;
else
nextCheckpoint = checkpoints[0].transform;
nextCheckpoint.GetComponent<Checkpoint>().isVisible = true;
} }
} }

BIN
Assets/Sounds/Cipher2.mp3 Normal file

Binary file not shown.

View File

@@ -0,0 +1,23 @@
fileFormatVersion: 2
guid: 0ec4461d6a3762242bd78865e611d97a
AudioImporter:
externalObjects: {}
serializedVersion: 7
defaultSettings:
serializedVersion: 2
loadType: 0
sampleRateSetting: 0
sampleRateOverride: 44100
compressionFormat: 1
quality: 1
conversionMode: 0
preloadAudioData: 0
platformSettingOverrides: {}
forceToMono: 0
normalize: 1
loadInBackground: 0
ambisonic: 0
3D: 1
userData:
assetBundleName:
assetBundleVariant:

Binary file not shown.

View File

@@ -0,0 +1,23 @@
fileFormatVersion: 2
guid: 2bfef0b8adddc1d4ba188c9f05311534
AudioImporter:
externalObjects: {}
serializedVersion: 7
defaultSettings:
serializedVersion: 2
loadType: 0
sampleRateSetting: 0
sampleRateOverride: 44100
compressionFormat: 1
quality: 1
conversionMode: 0
preloadAudioData: 0
platformSettingOverrides: {}
forceToMono: 0
normalize: 1
loadInBackground: 0
ambisonic: 0
3D: 1
userData:
assetBundleName:
assetBundleVariant: