Skip to content

Commit

Permalink
Round Info fully working
Browse files Browse the repository at this point in the history
Displays random stuff before the first round starts atm. not a big deal but not perfect.
  • Loading branch information
mariuskilian committed May 5, 2020
1 parent 6043834 commit a3c5b03
Show file tree
Hide file tree
Showing 59 changed files with 474 additions and 37 deletions.
Binary file modified Assets/Photon/PhotonBolt/assemblies/bolt.user.dll
Binary file not shown.
173 changes: 173 additions & 0 deletions Assets/Photon/PhotonBolt/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -886,6 +886,179 @@
"Name": "PlayerBag",
"Guid": "ca16b4a9-825f-40a9-b7ea-12b62ec52af6",
"Groups": []
},
{
"$type": "Bolt.Compiler.StateDefinition, bolt.compiler",
"Properties": [
{
"Name": "RoundInfo",
"Enabled": true,
"Expanded": true,
"ReplicationMode": 1,
"Priority": 1,
"PropertyType": {
"$type": "Bolt.Compiler.PropertyTypeObject, bolt.compiler",
"StructGuid": "60f899c6-0e4c-4d84-88b3-656895763443"
},
"AssetSettings": {
"$type": "Bolt.Compiler.PropertyStateSettings, bolt.compiler",
"ExtrapolationErrorTolerance": 0.25,
"_ExtrapolationCorrectionFrames": 6,
"ExtrapolationMaxFrames": 9,
"SnapMagnitude": 10.0
}
}
],
"PacketMaxBits": 512,
"PacketMaxProperties": 16,
"InitialPositionCompression": {
"Compression": [
{
"MinValue": -1024,
"MaxValue": 1024,
"Accuracy": 0.01,
"Pack": 100.0,
"Read": 0.01,
"Shift": 1024.0,
"BitsRequired": 18
},
{
"MinValue": -1024,
"MaxValue": 1024,
"Accuracy": 0.01,
"Pack": 100.0,
"Read": 0.01,
"Shift": 1024.0,
"BitsRequired": 18
},
{
"MinValue": -1024,
"MaxValue": 1024,
"Accuracy": 0.01,
"Pack": 100.0,
"Read": 0.01,
"Shift": 1024.0,
"BitsRequired": 18
}
]
},
"InitialRotationCompression": {
"EulerCompression": [
{
"MaxValue": 360,
"Accuracy": 1.0,
"Pack": 1.0,
"Read": 1.0,
"BitsRequired": 9
},
{
"MaxValue": 360,
"Accuracy": 1.0,
"Pack": 1.0,
"Read": 1.0,
"BitsRequired": 9
},
{
"MaxValue": 360,
"Accuracy": 1.0,
"Pack": 1.0,
"Read": 1.0,
"BitsRequired": 9
}
],
"QuaternionCompression": {
"MinValue": -1,
"MaxValue": 1,
"Accuracy": 0.01,
"Pack": 100.0,
"Read": 0.01,
"Shift": 1.0,
"BitsRequired": 8
}
},
"Name": "RoundState",
"Guid": "1fd2739a-676b-472d-850e-1b1fc75e478e",
"Groups": []
},
{
"$type": "Bolt.Compiler.ObjectDefinition, bolt.compiler",
"Properties": [
{
"Name": "Stage",
"Enabled": true,
"Expanded": true,
"ReplicationMode": 1,
"Priority": 1,
"PropertyType": {
"$type": "Bolt.Compiler.PropertyTypeInteger, bolt.compiler",
"MaxValue": 255
},
"AssetSettings": {
"$type": "Bolt.Compiler.PropertyStateSettings, bolt.compiler",
"ExtrapolationErrorTolerance": 0.25,
"_ExtrapolationCorrectionFrames": 6,
"ExtrapolationMaxFrames": 9,
"SnapMagnitude": 10.0
}
},
{
"Name": "Round",
"Enabled": true,
"Expanded": true,
"ReplicationMode": 1,
"Priority": 1,
"PropertyType": {
"$type": "Bolt.Compiler.PropertyTypeInteger, bolt.compiler",
"MaxValue": 255
},
"AssetSettings": {
"$type": "Bolt.Compiler.PropertyStateSettings, bolt.compiler",
"ExtrapolationErrorTolerance": 0.25,
"_ExtrapolationCorrectionFrames": 6,
"ExtrapolationMaxFrames": 9,
"SnapMagnitude": 10.0
}
},
{
"Name": "PhaseID",
"Enabled": true,
"Expanded": true,
"ReplicationMode": 1,
"Priority": 1,
"PropertyType": {
"$type": "Bolt.Compiler.PropertyTypeInteger, bolt.compiler",
"MaxValue": 255
},
"AssetSettings": {
"$type": "Bolt.Compiler.PropertyStateSettings, bolt.compiler",
"ExtrapolationErrorTolerance": 0.25,
"_ExtrapolationCorrectionFrames": 6,
"ExtrapolationMaxFrames": 9,
"SnapMagnitude": 10.0
}
},
{
"Name": "Time",
"Enabled": true,
"Expanded": true,
"ReplicationMode": 1,
"Priority": 1,
"PropertyType": {
"$type": "Bolt.Compiler.PropertyTypeInteger, bolt.compiler",
"MaxValue": 255
},
"AssetSettings": {
"$type": "Bolt.Compiler.PropertyStateSettings, bolt.compiler",
"ExtrapolationErrorTolerance": 0.25,
"_ExtrapolationCorrectionFrames": 6,
"ExtrapolationMaxFrames": 9,
"SnapMagnitude": 10.0
}
}
],
"Name": "RoundInfo",
"Guid": "60f899c6-0e4c-4d84-88b3-656895763443",
"Groups": []
}
],
"ActiveGroup": "Everything"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ MonoBehaviour:
- {fileID: 0}
- {fileID: 7401875031846788002, guid: 70667ff7d5645254cbf4a6d2ed596a35, type: 3}
- {fileID: 1660498949091557802, guid: 6ab69fe50fb31d741a467649f69a831f, type: 3}
- {fileID: 6591437379154572024, guid: 692aab8f52452ce4b8036dcf5688666e, type: 3}
- {fileID: 1646739649162652517, guid: 33b3ae723fc43c14e9f3bf32f9533ad3, type: 3}
- {fileID: 4127740652721783343, guid: 34e861ab1a27b11428ad6121e5e3b038, type: 3}
- {fileID: 6616770131647625879, guid: 5791136e908602248a859d45780aeda5, type: 3}
Expand Down
75 changes: 75 additions & 0 deletions Assets/Prefabs/Round.prefab
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &6591437379154572024
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 6591437379154572025}
- component: {fileID: 7005719119090568224}
- component: {fileID: 6591437379154572026}
m_Layer: 0
m_Name: Round
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &6591437379154572025
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6591437379154572024}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &7005719119090568224
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6591437379154572024}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 2264b0bfc40164940ac822ed9a2bc272, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!114 &6591437379154572026
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6591437379154572024}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: -36112512, guid: 5b00bf8b25851d440940a40ec23344f4, type: 3}
m_Name:
m_EditorClassIdentifier:
_sceneGuid:
_serializerGuid: 1fd2739a-676b-472d-850e-1b1fc75e478e
_prefabId: 3
_updateRate: 1
_autoFreezeProxyFrames: 0
_clientPredicted: 1
_allowInstantiateOnClient: 1
_persistThroughSceneLoads: 0
_sceneObjectDestroyOnDetach: 1
_sceneObjectAutoAttach: 1
_alwaysProxy: 0
_detachOnDisable: 1
_allowFirstReplicationWhenFrozen: 0
_autoRemoveChildEntities: 0
_entityBehaviourQueryOption: 0
_entityPriorityCalculatorQueryOption: 0
_entityReplicationFilterQueryOption: 0
7 changes: 7 additions & 0 deletions Assets/Prefabs/Round.prefab.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Assets/Prefabs/StoreUnits/001BulbasaurStore.prefab
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@ MonoBehaviour:
m_EditorClassIdentifier:
_sceneGuid:
_serializerGuid: 54999bf8-0394-442d-acfc-ddf1e16e8eeb
_prefabId: 3
_prefabId: 4
_updateRate: 1
_autoFreezeProxyFrames: 0
_clientPredicted: 1
Expand Down
2 changes: 1 addition & 1 deletion Assets/Prefabs/StoreUnits/004CharmanderStore.prefab
Original file line number Diff line number Diff line change
Expand Up @@ -926,7 +926,7 @@ MonoBehaviour:
m_EditorClassIdentifier:
_sceneGuid:
_serializerGuid: 54999bf8-0394-442d-acfc-ddf1e16e8eeb
_prefabId: 4
_prefabId: 5
_updateRate: 1
_autoFreezeProxyFrames: 0
_clientPredicted: 1
Expand Down
2 changes: 1 addition & 1 deletion Assets/Prefabs/StoreUnits/007SquirtleStore.prefab
Original file line number Diff line number Diff line change
Expand Up @@ -1189,7 +1189,7 @@ MonoBehaviour:
m_EditorClassIdentifier:
_sceneGuid:
_serializerGuid: 54999bf8-0394-442d-acfc-ddf1e16e8eeb
_prefabId: 5
_prefabId: 6
_updateRate: 1
_autoFreezeProxyFrames: 0
_clientPredicted: 1
Expand Down
2 changes: 1 addition & 1 deletion Assets/Prefabs/Units/001 Bulbasaur/001Bulbasaur.prefab
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@ MonoBehaviour:
m_EditorClassIdentifier:
_sceneGuid:
_serializerGuid: e58168f2-d05b-4999-aa0b-172ceb89fcbc
_prefabId: 6
_prefabId: 7
_updateRate: 1
_autoFreezeProxyFrames: 0
_clientPredicted: 1
Expand Down
2 changes: 1 addition & 1 deletion Assets/Prefabs/Units/001 Bulbasaur/002Ivysaur.prefab
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ MonoBehaviour:
m_EditorClassIdentifier:
_sceneGuid:
_serializerGuid: e58168f2-d05b-4999-aa0b-172ceb89fcbc
_prefabId: 7
_prefabId: 8
_updateRate: 1
_autoFreezeProxyFrames: 0
_clientPredicted: 1
Expand Down
2 changes: 1 addition & 1 deletion Assets/Prefabs/Units/001 Bulbasaur/003Venusaur.prefab
Original file line number Diff line number Diff line change
Expand Up @@ -1745,7 +1745,7 @@ MonoBehaviour:
m_EditorClassIdentifier:
_sceneGuid:
_serializerGuid: e58168f2-d05b-4999-aa0b-172ceb89fcbc
_prefabId: 8
_prefabId: 9
_updateRate: 1
_autoFreezeProxyFrames: 0
_clientPredicted: 1
Expand Down
2 changes: 1 addition & 1 deletion Assets/Prefabs/Units/001 Bulbasaur/003VenusaurF.prefab
Original file line number Diff line number Diff line change
Expand Up @@ -1910,7 +1910,7 @@ MonoBehaviour:
m_EditorClassIdentifier:
_sceneGuid:
_serializerGuid: e58168f2-d05b-4999-aa0b-172ceb89fcbc
_prefabId: 9
_prefabId: 10
_updateRate: 1
_autoFreezeProxyFrames: 0
_clientPredicted: 1
Expand Down
2 changes: 1 addition & 1 deletion Assets/Prefabs/Units/004 Charmander/004Charmander.prefab
Original file line number Diff line number Diff line change
Expand Up @@ -943,7 +943,7 @@ MonoBehaviour:
m_EditorClassIdentifier:
_sceneGuid:
_serializerGuid: e58168f2-d05b-4999-aa0b-172ceb89fcbc
_prefabId: 10
_prefabId: 11
_updateRate: 1
_autoFreezeProxyFrames: 0
_clientPredicted: 1
Expand Down
2 changes: 1 addition & 1 deletion Assets/Prefabs/Units/004 Charmander/005Charmeleon.prefab
Original file line number Diff line number Diff line change
Expand Up @@ -727,7 +727,7 @@ MonoBehaviour:
m_EditorClassIdentifier:
_sceneGuid:
_serializerGuid: e58168f2-d05b-4999-aa0b-172ceb89fcbc
_prefabId: 11
_prefabId: 12
_updateRate: 1
_autoFreezeProxyFrames: 0
_clientPredicted: 1
Expand Down
2 changes: 1 addition & 1 deletion Assets/Prefabs/Units/004 Charmander/006Charizard.prefab
Original file line number Diff line number Diff line change
Expand Up @@ -1154,7 +1154,7 @@ MonoBehaviour:
m_EditorClassIdentifier:
_sceneGuid:
_serializerGuid: e58168f2-d05b-4999-aa0b-172ceb89fcbc
_prefabId: 12
_prefabId: 13
_updateRate: 1
_autoFreezeProxyFrames: 0
_clientPredicted: 1
Expand Down
2 changes: 1 addition & 1 deletion Assets/Prefabs/Units/007 Squirtle/007Squirtle.prefab
Original file line number Diff line number Diff line change
Expand Up @@ -1206,7 +1206,7 @@ MonoBehaviour:
m_EditorClassIdentifier:
_sceneGuid:
_serializerGuid: e58168f2-d05b-4999-aa0b-172ceb89fcbc
_prefabId: 13
_prefabId: 14
_updateRate: 1
_autoFreezeProxyFrames: 0
_clientPredicted: 1
Expand Down
2 changes: 1 addition & 1 deletion Assets/Prefabs/Units/007 Squirtle/008Wartortle.prefab
Original file line number Diff line number Diff line change
Expand Up @@ -772,7 +772,7 @@ MonoBehaviour:
m_EditorClassIdentifier:
_sceneGuid:
_serializerGuid: e58168f2-d05b-4999-aa0b-172ceb89fcbc
_prefabId: 14
_prefabId: 15
_updateRate: 1
_autoFreezeProxyFrames: 0
_clientPredicted: 1
Expand Down
2 changes: 1 addition & 1 deletion Assets/Prefabs/Units/007 Squirtle/009Blastoise.prefab
Original file line number Diff line number Diff line change
Expand Up @@ -994,7 +994,7 @@ MonoBehaviour:
m_EditorClassIdentifier:
_sceneGuid:
_serializerGuid: e58168f2-d05b-4999-aa0b-172ceb89fcbc
_prefabId: 15
_prefabId: 16
_updateRate: 1
_autoFreezeProxyFrames: 0
_clientPredicted: 1
Expand Down
Loading

0 comments on commit a3c5b03

Please sign in to comment.