app.hypergames.hypersdk 1.3.4 → 1.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +15 -0
- package/Editor/{HyperSDK.Editor.asmdef → Hyper.Editor.asmdef} +1 -1
- package/Editor/Resources/ControlBarPreviews/Dark/Default.png +0 -0
- package/Editor/Resources/ControlBarPreviews/Dark/Default.png.meta +143 -0
- package/Editor/Resources/ControlBarPreviews/Dark/HealthBarLeft.png +0 -0
- package/Editor/Resources/ControlBarPreviews/Dark/HealthBarLeft.png.meta +143 -0
- package/Editor/Resources/ControlBarPreviews/Dark/HeartsLeft.png +0 -0
- package/Editor/Resources/ControlBarPreviews/Dark/HeartsLeft.png.meta +169 -0
- package/Editor/Resources/ControlBarPreviews/Dark.meta +8 -0
- package/Editor/Resources/ControlBarPreviews/Light/Default.png +0 -0
- package/Editor/Resources/ControlBarPreviews/Light/Default.png.meta +143 -0
- package/Editor/Resources/ControlBarPreviews/Light/HealthBarLeft.png +0 -0
- package/Editor/Resources/ControlBarPreviews/Light/HealthBarLeft.png.meta +143 -0
- package/Editor/Resources/ControlBarPreviews/Light/HeartsLeft.png +0 -0
- package/Editor/Resources/ControlBarPreviews/Light/HeartsLeft.png.meta +143 -0
- package/Editor/Resources/ControlBarPreviews/Light.meta +8 -0
- package/Editor/Resources/ControlBarPreviews.meta +8 -0
- package/Editor/Scripts/Inspectors/HyperSDKSettingsEditor.cs +206 -0
- package/Editor/Scripts/Inspectors/HyperSDKSettingsEditor.cs.meta +2 -0
- package/Editor/Scripts/Inspectors.meta +8 -0
- package/Editor/Scripts/Tools/HyperBuildAssistant.cs +53 -3
- package/Editor/Scripts/Windows/HyperCoreSettingsWindow.cs +0 -8
- package/Editor/Scripts/Windows/HyperGameContentWindow.cs +0 -8
- package/Editor/Scripts/Windows/HyperSettingsWindow.cs +3 -3
- package/HyperLoader.unity +4 -49
- package/Runtime/Internal/AssemblyInfo.cs +1 -1
- package/Runtime/Internal/Managers/EventManager.cs +4 -0
- package/Runtime/Internal/Managers/GameManager.cs +173 -5
- package/Runtime/Internal/ScriptableObjects/HyperSDKSettings.cs +16 -10
- package/Runtime/Internal/UI/Animation/BlinkingText.cs +1 -1
- package/Runtime/Internal/UI/Animation/HyperTween.cs +88 -0
- package/Runtime/Internal/UI/Components/ControlBar.cs +220 -40
- package/Runtime/Internal/UI/Components/HealthBarDisplay.cs +269 -0
- package/Runtime/Internal/UI/Components/HealthBarDisplay.cs.meta +2 -0
- package/Runtime/Internal/UI/Components/LivesDisplay.cs +327 -0
- package/Runtime/Internal/UI/Components/LivesDisplay.cs.meta +2 -0
- package/Runtime/Internal/UI/Modals/ExitGameMenuModal.cs +46 -0
- package/Runtime/Internal/UI/Modals/ExitGameMenuModal.cs.meta +11 -0
- package/Runtime/Internal/UI/Modals/StartingInstructionModal.cs +202 -3
- package/Runtime/Internal/Utils/HyperConstants.cs +27 -0
- package/Runtime/Public/Core/HyperSDK.cs +68 -0
- package/Runtime/Resources/Fonts/Wonder Boys/Wonder Boys + Hyper BIG.mat +1 -1
- package/Runtime/Resources/Fonts/Wonder Boys/Wonder Boys + Shadows.mat +1 -1
- package/Runtime/Resources/HyperSDKSettings.asset +3 -2
- package/Runtime/Resources/Sprites/Big Icons/Exit.png +0 -0
- package/Runtime/Resources/Sprites/Big Icons/Exit.png.meta +195 -0
- package/Runtime/Resources/Sprites/Control Bar/Ellipse 3.png +0 -0
- package/Runtime/Resources/Sprites/Control Bar/Ellipse 3.png.meta +169 -0
- package/Runtime/Resources/Sprites/Control Bar/Health Bar - Green Fill.png +0 -0
- package/Runtime/Resources/Sprites/Control Bar/Health Bar - Green Fill.png.meta +169 -0
- package/Runtime/Resources/Sprites/Control Bar/Health Bar - Underlay.png +0 -0
- package/Runtime/Resources/Sprites/Control Bar/Health Bar - Underlay.png.meta +169 -0
- package/Runtime/Resources/Sprites/Control Bar/Health Bar.png +0 -0
- package/Runtime/Resources/Sprites/Control Bar/Health Bar.png.meta +169 -0
- package/Runtime/Resources/Sprites/Control Bar/heart.empty.png +0 -0
- package/Runtime/Resources/Sprites/Control Bar/heart.empty.png.meta +169 -0
- package/Runtime/Resources/Sprites/Control Bar/heart.fill.png +0 -0
- package/Runtime/Resources/Sprites/Control Bar/heart.fill.png.meta +169 -0
- package/Runtime/Resources/Sprites/Frames/{Game Over P.png.meta → Game Over.png.meta } +4 -4
- package/Runtime/Resources/Sprites/HYPERGAMES_Logo.png.meta +3 -3
- package/Runtime/Resources/Sprites/Hyper Atlas.spriteatlasv2 +6 -0
- package/Runtime/Resources/Sprites/Start CTAs/Hand.PNG +0 -0
- package/Runtime/Resources/Sprites/Start CTAs/Hand.PNG.meta +169 -0
- package/Runtime/Resources/Sprites/Start CTAs/Line .PNG +0 -0
- package/Runtime/Resources/Sprites/Start CTAs/Line .PNG.meta +169 -0
- package/Runtime/Resources/Sprites/Start CTAs/Swipe Gesture GIF.controller +130 -0
- package/Runtime/Resources/Sprites/Start CTAs/Swipe Gesture GIF.controller.meta +8 -0
- package/Runtime/Resources/Sprites/Start CTAs/Swipe Gesture.anim +158 -0
- package/Runtime/Resources/Sprites/Start CTAs/Swipe Gesture.anim.meta +8 -0
- package/Runtime/Resources/Sprites/Start CTAs.meta +8 -0
- package/Runtime/Resources/UIPrefabs/Control Bar Objects/Health Bar Display.prefab +361 -0
- package/Runtime/Resources/UIPrefabs/Control Bar Objects/Health Bar Display.prefab.meta +7 -0
- package/Runtime/Resources/UIPrefabs/Control Bar Objects/Lives Display .prefab +246 -0
- package/Runtime/Resources/UIPrefabs/Control Bar Objects/Lives Display .prefab.meta +7 -0
- package/Runtime/Resources/UIPrefabs/Control Bar Objects.meta +8 -0
- package/Runtime/Resources/UIPrefabs/ControlBar.prefab +131 -17
- package/Runtime/Resources/UIPrefabs/ExitGameMenuModal.prefab +1043 -0
- package/Runtime/Resources/UIPrefabs/ExitGameMenuModal.prefab.meta +7 -0
- package/Runtime/Resources/UIPrefabs/GamePausedModal_Battle.prefab +1 -1
- package/Runtime/Resources/UIPrefabs/StartingInstructionModal.prefab +271 -57
- package/Runtime/Resources/UIPrefabs/TutorialLandscapeModal.prefab +1 -1
- package/Runtime/Resources/UIPrefabs/TutorialPortraitModal.prefab +1 -1
- package/Runtime/Shared/DTOs/Enums.cs +22 -6
- package/package.json +1 -1
- /package/Editor/{HyperSDK.Editor.asmdef.meta → Hyper.Editor.asmdef.meta} +0 -0
- /package/Runtime/Resources/Sprites/Frames/{Game Over P.png → Game Over.png} +0 -0
|
@@ -87,6 +87,7 @@ RectTransform:
|
|
|
87
87
|
- {fileID: 3751917781741926748}
|
|
88
88
|
- {fileID: 2951596604433264409}
|
|
89
89
|
- {fileID: 3038526082762213112}
|
|
90
|
+
- {fileID: 19893713024797808}
|
|
90
91
|
m_Father: {fileID: 4867582869548686450}
|
|
91
92
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
|
92
93
|
m_AnchorMin: {x: 0, y: 0}
|
|
@@ -409,7 +410,7 @@ MonoBehaviour:
|
|
|
409
410
|
m_text: 0:00
|
|
410
411
|
m_isRightToLeft: 0
|
|
411
412
|
m_fontAsset: {fileID: 11400000, guid: 39c484b4a22288c488625a88b6da2145, type: 2}
|
|
412
|
-
m_sharedMaterial: {fileID:
|
|
413
|
+
m_sharedMaterial: {fileID: -8342687123090027242, guid: 39c484b4a22288c488625a88b6da2145, type: 2}
|
|
413
414
|
m_fontSharedMaterials: []
|
|
414
415
|
m_fontMaterial: {fileID: 0}
|
|
415
416
|
m_fontMaterials: []
|
|
@@ -608,19 +609,7 @@ MonoBehaviour:
|
|
|
608
609
|
m_TargetGraphic: {fileID: 833613803115661334}
|
|
609
610
|
m_OnClick:
|
|
610
611
|
m_PersistentCalls:
|
|
611
|
-
m_Calls:
|
|
612
|
-
- m_Target: {fileID: 2158109824259591793}
|
|
613
|
-
m_TargetAssemblyTypeName: Hyper.TopBarModal, Hyper
|
|
614
|
-
m_MethodName: ShowConnectionLostStatus
|
|
615
|
-
m_Mode: 1
|
|
616
|
-
m_Arguments:
|
|
617
|
-
m_ObjectArgument: {fileID: 0}
|
|
618
|
-
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
|
|
619
|
-
m_IntArgument: 0
|
|
620
|
-
m_FloatArgument: 0
|
|
621
|
-
m_StringArgument:
|
|
622
|
-
m_BoolArgument: 0
|
|
623
|
-
m_CallState: 2
|
|
612
|
+
m_Calls: []
|
|
624
613
|
--- !u!1 &5064621050566170867
|
|
625
614
|
GameObject:
|
|
626
615
|
m_ObjectHideFlags: 0
|
|
@@ -837,7 +826,7 @@ MonoBehaviour:
|
|
|
837
826
|
m_text: 0
|
|
838
827
|
m_isRightToLeft: 0
|
|
839
828
|
m_fontAsset: {fileID: 11400000, guid: 39c484b4a22288c488625a88b6da2145, type: 2}
|
|
840
|
-
m_sharedMaterial: {fileID:
|
|
829
|
+
m_sharedMaterial: {fileID: -8342687123090027242, guid: 39c484b4a22288c488625a88b6da2145, type: 2}
|
|
841
830
|
m_fontSharedMaterials: []
|
|
842
831
|
m_fontMaterial: {fileID: 0}
|
|
843
832
|
m_fontMaterials: []
|
|
@@ -1075,17 +1064,20 @@ MonoBehaviour:
|
|
|
1075
1064
|
m_Script: {fileID: 11500000, guid: 4530c265ba5f5734789ce90df80e4916, type: 3}
|
|
1076
1065
|
m_Name:
|
|
1077
1066
|
m_EditorClassIdentifier:
|
|
1067
|
+
roundedBG: {fileID: 319378978593858649}
|
|
1078
1068
|
scoreText: {fileID: 8299416075969076690}
|
|
1079
1069
|
scoreTextRect: {fileID: 3751917781741926748}
|
|
1080
1070
|
timerText: {fileID: 2951596604433264409}
|
|
1081
1071
|
safeAreaFillerBG: {fileID: 3440821273415505907}
|
|
1082
|
-
roundedBG: {fileID: 319378978593858649}
|
|
1083
1072
|
pauseButtonImage: {fileID: 6337179202905528179}
|
|
1084
1073
|
pauseBarsImage: {fileID: 7880691058749829457}
|
|
1074
|
+
connectionStatusIcon: {fileID: 8600269090702546619}
|
|
1085
1075
|
portraitBG: {fileID: 21300000, guid: 72b18270f6563fe49bb2d813995c0969, type: 3}
|
|
1086
1076
|
landscapeBG: {fileID: 21300000, guid: 8561720c19e71834095b9f9f773495e1, type: 3}
|
|
1087
1077
|
pauseBarsLight: {fileID: 21300000, guid: 5bf785ff9f45bcf4a89ffc70e363eb69, type: 3}
|
|
1088
1078
|
pauseBarsDark: {fileID: 21300000, guid: 023ea868e45992b46ab65bc4b6fb72c7, type: 3}
|
|
1079
|
+
livesDisplayPrefab: {fileID: 5031749136894004241, guid: b7f1d0f9e3734df4c9feb3385b835f4b, type: 3}
|
|
1080
|
+
healthBarDisplayPrefab: {fileID: 1417749867448633337, guid: 22043bd14ddce8947800ab23f5fdff24, type: 3}
|
|
1089
1081
|
--- !u!1 &8984078937237801384
|
|
1090
1082
|
GameObject:
|
|
1091
1083
|
m_ObjectHideFlags: 0
|
|
@@ -1104,7 +1096,7 @@ GameObject:
|
|
|
1104
1096
|
m_Icon: {fileID: 0}
|
|
1105
1097
|
m_NavMeshLayer: 0
|
|
1106
1098
|
m_StaticEditorFlags: 0
|
|
1107
|
-
m_IsActive:
|
|
1099
|
+
m_IsActive: 0
|
|
1108
1100
|
--- !u!224 &6163233179367963949
|
|
1109
1101
|
RectTransform:
|
|
1110
1102
|
m_ObjectHideFlags: 0
|
|
@@ -1206,3 +1198,125 @@ MonoBehaviour:
|
|
|
1206
1198
|
m_OnClick:
|
|
1207
1199
|
m_PersistentCalls:
|
|
1208
1200
|
m_Calls: []
|
|
1201
|
+
--- !u!1001 &5230500621501467223
|
|
1202
|
+
PrefabInstance:
|
|
1203
|
+
m_ObjectHideFlags: 0
|
|
1204
|
+
serializedVersion: 2
|
|
1205
|
+
m_Modification:
|
|
1206
|
+
serializedVersion: 3
|
|
1207
|
+
m_TransformParent: {fileID: 169989670260607081}
|
|
1208
|
+
m_Modifications:
|
|
1209
|
+
- target: {fileID: 3559299791442197802, guid: b7f1d0f9e3734df4c9feb3385b835f4b, type: 3}
|
|
1210
|
+
propertyPath: m_AnchorMax.y
|
|
1211
|
+
value: 1
|
|
1212
|
+
objectReference: {fileID: 0}
|
|
1213
|
+
- target: {fileID: 3559299791442197802, guid: b7f1d0f9e3734df4c9feb3385b835f4b, type: 3}
|
|
1214
|
+
propertyPath: m_AnchorMin.y
|
|
1215
|
+
value: 1
|
|
1216
|
+
objectReference: {fileID: 0}
|
|
1217
|
+
- target: {fileID: 3559299791442197802, guid: b7f1d0f9e3734df4c9feb3385b835f4b, type: 3}
|
|
1218
|
+
propertyPath: m_AnchoredPosition.x
|
|
1219
|
+
value: 119.6039
|
|
1220
|
+
objectReference: {fileID: 0}
|
|
1221
|
+
- target: {fileID: 3559299791442197802, guid: b7f1d0f9e3734df4c9feb3385b835f4b, type: 3}
|
|
1222
|
+
propertyPath: m_AnchoredPosition.y
|
|
1223
|
+
value: -39.7392
|
|
1224
|
+
objectReference: {fileID: 0}
|
|
1225
|
+
- target: {fileID: 5031749136894004241, guid: b7f1d0f9e3734df4c9feb3385b835f4b, type: 3}
|
|
1226
|
+
propertyPath: m_Name
|
|
1227
|
+
value: 'Lives Display '
|
|
1228
|
+
objectReference: {fileID: 0}
|
|
1229
|
+
- target: {fileID: 5031749136894004241, guid: b7f1d0f9e3734df4c9feb3385b835f4b, type: 3}
|
|
1230
|
+
propertyPath: m_IsActive
|
|
1231
|
+
value: 0
|
|
1232
|
+
objectReference: {fileID: 0}
|
|
1233
|
+
- target: {fileID: 5246928450468791847, guid: b7f1d0f9e3734df4c9feb3385b835f4b, type: 3}
|
|
1234
|
+
propertyPath: m_Pivot.x
|
|
1235
|
+
value: 0.5
|
|
1236
|
+
objectReference: {fileID: 0}
|
|
1237
|
+
- target: {fileID: 5246928450468791847, guid: b7f1d0f9e3734df4c9feb3385b835f4b, type: 3}
|
|
1238
|
+
propertyPath: m_Pivot.y
|
|
1239
|
+
value: 0.5
|
|
1240
|
+
objectReference: {fileID: 0}
|
|
1241
|
+
- target: {fileID: 5246928450468791847, guid: b7f1d0f9e3734df4c9feb3385b835f4b, type: 3}
|
|
1242
|
+
propertyPath: m_AnchorMax.x
|
|
1243
|
+
value: 0
|
|
1244
|
+
objectReference: {fileID: 0}
|
|
1245
|
+
- target: {fileID: 5246928450468791847, guid: b7f1d0f9e3734df4c9feb3385b835f4b, type: 3}
|
|
1246
|
+
propertyPath: m_AnchorMax.y
|
|
1247
|
+
value: 0.5
|
|
1248
|
+
objectReference: {fileID: 0}
|
|
1249
|
+
- target: {fileID: 5246928450468791847, guid: b7f1d0f9e3734df4c9feb3385b835f4b, type: 3}
|
|
1250
|
+
propertyPath: m_AnchorMin.x
|
|
1251
|
+
value: 0
|
|
1252
|
+
objectReference: {fileID: 0}
|
|
1253
|
+
- target: {fileID: 5246928450468791847, guid: b7f1d0f9e3734df4c9feb3385b835f4b, type: 3}
|
|
1254
|
+
propertyPath: m_AnchorMin.y
|
|
1255
|
+
value: 0.5
|
|
1256
|
+
objectReference: {fileID: 0}
|
|
1257
|
+
- target: {fileID: 5246928450468791847, guid: b7f1d0f9e3734df4c9feb3385b835f4b, type: 3}
|
|
1258
|
+
propertyPath: m_SizeDelta.x
|
|
1259
|
+
value: 239.2078
|
|
1260
|
+
objectReference: {fileID: 0}
|
|
1261
|
+
- target: {fileID: 5246928450468791847, guid: b7f1d0f9e3734df4c9feb3385b835f4b, type: 3}
|
|
1262
|
+
propertyPath: m_SizeDelta.y
|
|
1263
|
+
value: 79.4784
|
|
1264
|
+
objectReference: {fileID: 0}
|
|
1265
|
+
- target: {fileID: 5246928450468791847, guid: b7f1d0f9e3734df4c9feb3385b835f4b, type: 3}
|
|
1266
|
+
propertyPath: m_LocalPosition.x
|
|
1267
|
+
value: 0
|
|
1268
|
+
objectReference: {fileID: 0}
|
|
1269
|
+
- target: {fileID: 5246928450468791847, guid: b7f1d0f9e3734df4c9feb3385b835f4b, type: 3}
|
|
1270
|
+
propertyPath: m_LocalPosition.y
|
|
1271
|
+
value: 0
|
|
1272
|
+
objectReference: {fileID: 0}
|
|
1273
|
+
- target: {fileID: 5246928450468791847, guid: b7f1d0f9e3734df4c9feb3385b835f4b, type: 3}
|
|
1274
|
+
propertyPath: m_LocalPosition.z
|
|
1275
|
+
value: 0
|
|
1276
|
+
objectReference: {fileID: 0}
|
|
1277
|
+
- target: {fileID: 5246928450468791847, guid: b7f1d0f9e3734df4c9feb3385b835f4b, type: 3}
|
|
1278
|
+
propertyPath: m_LocalRotation.w
|
|
1279
|
+
value: 1
|
|
1280
|
+
objectReference: {fileID: 0}
|
|
1281
|
+
- target: {fileID: 5246928450468791847, guid: b7f1d0f9e3734df4c9feb3385b835f4b, type: 3}
|
|
1282
|
+
propertyPath: m_LocalRotation.x
|
|
1283
|
+
value: 0
|
|
1284
|
+
objectReference: {fileID: 0}
|
|
1285
|
+
- target: {fileID: 5246928450468791847, guid: b7f1d0f9e3734df4c9feb3385b835f4b, type: 3}
|
|
1286
|
+
propertyPath: m_LocalRotation.y
|
|
1287
|
+
value: 0
|
|
1288
|
+
objectReference: {fileID: 0}
|
|
1289
|
+
- target: {fileID: 5246928450468791847, guid: b7f1d0f9e3734df4c9feb3385b835f4b, type: 3}
|
|
1290
|
+
propertyPath: m_LocalRotation.z
|
|
1291
|
+
value: 0
|
|
1292
|
+
objectReference: {fileID: 0}
|
|
1293
|
+
- target: {fileID: 5246928450468791847, guid: b7f1d0f9e3734df4c9feb3385b835f4b, type: 3}
|
|
1294
|
+
propertyPath: m_AnchoredPosition.x
|
|
1295
|
+
value: 119.2
|
|
1296
|
+
objectReference: {fileID: 0}
|
|
1297
|
+
- target: {fileID: 5246928450468791847, guid: b7f1d0f9e3734df4c9feb3385b835f4b, type: 3}
|
|
1298
|
+
propertyPath: m_AnchoredPosition.y
|
|
1299
|
+
value: 11.1
|
|
1300
|
+
objectReference: {fileID: 0}
|
|
1301
|
+
- target: {fileID: 5246928450468791847, guid: b7f1d0f9e3734df4c9feb3385b835f4b, type: 3}
|
|
1302
|
+
propertyPath: m_LocalEulerAnglesHint.x
|
|
1303
|
+
value: 0
|
|
1304
|
+
objectReference: {fileID: 0}
|
|
1305
|
+
- target: {fileID: 5246928450468791847, guid: b7f1d0f9e3734df4c9feb3385b835f4b, type: 3}
|
|
1306
|
+
propertyPath: m_LocalEulerAnglesHint.y
|
|
1307
|
+
value: 0
|
|
1308
|
+
objectReference: {fileID: 0}
|
|
1309
|
+
- target: {fileID: 5246928450468791847, guid: b7f1d0f9e3734df4c9feb3385b835f4b, type: 3}
|
|
1310
|
+
propertyPath: m_LocalEulerAnglesHint.z
|
|
1311
|
+
value: 0
|
|
1312
|
+
objectReference: {fileID: 0}
|
|
1313
|
+
m_RemovedComponents: []
|
|
1314
|
+
m_RemovedGameObjects: []
|
|
1315
|
+
m_AddedGameObjects: []
|
|
1316
|
+
m_AddedComponents: []
|
|
1317
|
+
m_SourcePrefab: {fileID: 100100000, guid: b7f1d0f9e3734df4c9feb3385b835f4b, type: 3}
|
|
1318
|
+
--- !u!224 &19893713024797808 stripped
|
|
1319
|
+
RectTransform:
|
|
1320
|
+
m_CorrespondingSourceObject: {fileID: 5246928450468791847, guid: b7f1d0f9e3734df4c9feb3385b835f4b, type: 3}
|
|
1321
|
+
m_PrefabInstance: {fileID: 5230500621501467223}
|
|
1322
|
+
m_PrefabAsset: {fileID: 0}
|