app.hypergames.hypersdk 1.10.0 → 1.11.0-beta.2
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 +34 -0
- package/Editor/Scripts/Setup/HyperSDKInstaller.cs +42 -0
- package/Editor/Scripts/Tools/HyperGameModeMenu.cs +27 -7
- package/Runtime/Internal/AssemblyInfo.cs +1 -0
- package/Runtime/Internal/Bootstrap/HyperLoader.cs +186 -8
- package/Runtime/Internal/Core/HyperRuntime.cs +82 -0
- package/Runtime/Internal/Core/HyperRuntimeHost.cs +6 -0
- package/Runtime/Internal/Data/URLData.cs +18 -1
- package/Runtime/Internal/Managers/BackendManager.cs +281 -24
- package/Runtime/Internal/Managers/DataManager.cs +207 -21
- package/Runtime/Internal/Managers/GameManager.cs +365 -17
- package/Runtime/Internal/Managers/ReplayManager.cs +117 -0
- package/Runtime/Internal/Managers/ReplayManager.cs.meta +11 -0
- package/Runtime/Internal/Managers/TimeManager.cs +54 -12
- package/Runtime/Internal/Replay/ReplayActivityRecorder.cs +182 -0
- package/Runtime/Internal/Replay/ReplayActivityRecorder.cs.meta +2 -0
- package/Runtime/Internal/Replay/ReplaySessionState.cs +181 -0
- package/Runtime/Internal/Replay/ReplaySessionState.cs.meta +2 -0
- package/Runtime/Internal/Replay.meta +8 -0
- package/Runtime/Internal/ScriptableObjects/HyperSDKSettings.cs +5 -0
- package/Runtime/Internal/UI/Animation/LoadingTextAnimation.cs +15 -1
- package/Runtime/Internal/UI/Components/ControlBar.cs +25 -2
- package/Runtime/Internal/UI/Components/PauseButton.cs +4 -1
- package/Runtime/Internal/UI/Components/ReplayController.cs +527 -0
- package/Runtime/Internal/UI/Components/ReplayController.cs.meta +2 -0
- package/Runtime/Internal/UI/Components/ReplayMarkerPulse.cs +89 -0
- package/Runtime/Internal/UI/Components/ReplayMarkerPulse.cs.meta +2 -0
- package/Runtime/Internal/UI/Components/ReplayPresentationCanvas.cs +183 -0
- package/Runtime/Internal/UI/Components/ReplayPresentationCanvas.cs.meta +2 -0
- package/Runtime/Internal/UI/Modals/LoadingFailedModal.cs +12 -0
- package/Runtime/Internal/UI/Modals/ReplayOverModal.cs +61 -0
- package/Runtime/Internal/UI/Modals/ReplayOverModal.cs.meta +2 -0
- package/Runtime/Internal/UI/Modals/StartingInstructionModal.cs +38 -29
- package/Runtime/Public/AssemblyInfo.cs +3 -0
- package/Runtime/Public/AssemblyInfo.cs.meta +2 -0
- package/Runtime/Public/Core/HyperSDK.cs +305 -109
- package/Runtime/Public/Hyper.asmdef +2 -1
- package/Runtime/Public/Replay/ReplayPlaybackEngine.cs +555 -0
- package/Runtime/Public/Replay/ReplayPlaybackEngine.cs.meta +2 -0
- package/Runtime/Public/Replay.meta +8 -0
- package/Runtime/Resources/Fonts/Nunito/Nunito-Light SDF.asset +528 -521
- package/Runtime/Resources/Materials/HyperReplayScanlines.preset +340 -0
- package/Runtime/Resources/Materials/HyperReplayScanlines.preset.meta +8 -0
- package/Runtime/Resources/Materials/ReplayScanlineOverlay.mat +55 -0
- package/Runtime/Resources/Materials/ReplayScanlineOverlay.mat.meta +8 -0
- package/Runtime/Resources/Shaders/ReplayScanlineOverlay.shader +150 -0
- package/Runtime/Resources/Shaders/ReplayScanlineOverlay.shader.meta +10 -0
- package/Runtime/Resources/Sprites/Replays/Fallback avatar.png +0 -0
- package/Runtime/Resources/Sprites/Replays/Fallback avatar.png.meta +156 -0
- package/Runtime/Resources/Sprites/Replays/Recording.png +0 -0
- package/Runtime/Resources/Sprites/Replays/Recording.png.meta +156 -0
- package/Runtime/Resources/Sprites/Replays/Replay frame.png +0 -0
- package/Runtime/Resources/Sprites/Replays/Replay frame.png.meta +156 -0
- package/Runtime/Resources/Sprites/Replays/Replay modal icon.png +0 -0
- package/Runtime/Resources/Sprites/Replays/Replay modal icon.png.meta +156 -0
- package/Runtime/Resources/Sprites/Replays.meta +8 -0
- package/Runtime/Resources/UIPrefabs/ControlBar.prefab +169 -2
- package/Runtime/Resources/UIPrefabs/GamePausedModal_Battle.prefab +1 -1
- package/Runtime/Resources/UIPrefabs/ReplayController.prefab +1269 -0
- package/Runtime/Resources/UIPrefabs/ReplayController.prefab.meta +7 -0
- package/Runtime/Resources/UIPrefabs/ReplayInputBlocker.prefab +90 -0
- package/Runtime/Resources/UIPrefabs/ReplayInputBlocker.prefab.meta +7 -0
- package/Runtime/Resources/UIPrefabs/ReplayOverModal.prefab +958 -0
- package/Runtime/Resources/UIPrefabs/ReplayOverModal.prefab.meta +7 -0
- package/Runtime/Resources/UIPrefabs/ReplaySeekOverlay.prefab +189 -0
- package/Runtime/Resources/UIPrefabs/ReplaySeekOverlay.prefab.meta +7 -0
- package/Runtime/Resources/UIPrefabs/SnackBar.prefab +2 -2
- package/Runtime/Shared/AssemblyInfo.cs +5 -0
- package/Runtime/Shared/AssemblyInfo.cs.meta +11 -0
- package/Runtime/Shared/DTOs/Enums.cs +8 -3
- package/Runtime/Shared/DTOs/Score/ScoreSnapshot.cs +13 -1
- package/Runtime/Shared/Replay/IReplayPlaybackEngine.cs +37 -0
- package/Runtime/Shared/Replay/IReplayPlaybackEngine.cs.meta +11 -0
- package/Runtime/Shared/Replay.meta +8 -0
- package/Samples~/LaneRunner/LaneRunnerSample.unity +1603 -0
- package/Samples~/LaneRunner/LaneRunnerSample.unity.meta +7 -0
- package/Samples~/LaneRunner/Materials/DoubleScore.mat +86 -0
- package/Samples~/LaneRunner/Materials/DoubleScore.mat.meta +8 -0
- package/Samples~/LaneRunner/Materials/Ground.mat +84 -0
- package/Samples~/LaneRunner/Materials/Ground.mat.meta +8 -0
- package/Samples~/LaneRunner/Materials/Lane.mat +84 -0
- package/Samples~/LaneRunner/Materials/Lane.mat.meta +8 -0
- package/Samples~/LaneRunner/Materials/LaneMarker.mat +84 -0
- package/Samples~/LaneRunner/Materials/LaneMarker.mat.meta +8 -0
- package/Samples~/LaneRunner/Materials/Obstacle.mat +84 -0
- package/Samples~/LaneRunner/Materials/Obstacle.mat.meta +8 -0
- package/Samples~/LaneRunner/Materials/Player.mat +84 -0
- package/Samples~/LaneRunner/Materials/Player.mat.meta +8 -0
- package/Samples~/LaneRunner/Materials.meta +8 -0
- package/Samples~/LaneRunner/Prefabs/DoubleScorePickup.prefab +152 -0
- package/Samples~/LaneRunner/Prefabs/DoubleScorePickup.prefab.meta +7 -0
- package/Samples~/LaneRunner/Prefabs/Obstacle.prefab +152 -0
- package/Samples~/LaneRunner/Prefabs/Obstacle.prefab.meta +7 -0
- package/Samples~/LaneRunner/Prefabs.meta +8 -0
- package/Samples~/LaneRunner/README.md +35 -0
- package/Samples~/LaneRunner/README.md.meta +7 -0
- package/Samples~/LaneRunner/Scripts/Gameplay/LaneRunnerCommand.cs +9 -0
- package/Samples~/LaneRunner/Scripts/Gameplay/LaneRunnerCommand.cs.meta +2 -0
- package/Samples~/LaneRunner/Scripts/Gameplay/LaneRunnerGame.cs +93 -0
- package/Samples~/LaneRunner/Scripts/Gameplay/LaneRunnerGame.cs.meta +2 -0
- package/Samples~/LaneRunner/Scripts/Gameplay/LaneRunnerPlayer.cs +155 -0
- package/Samples~/LaneRunner/Scripts/Gameplay/LaneRunnerPlayer.cs.meta +2 -0
- package/Samples~/LaneRunner/Scripts/Gameplay/LaneRunnerSpawner.cs +110 -0
- package/Samples~/LaneRunner/Scripts/Gameplay/LaneRunnerSpawner.cs.meta +2 -0
- package/Samples~/LaneRunner/Scripts/Gameplay/LaneRunnerTrackItem.cs +41 -0
- package/Samples~/LaneRunner/Scripts/Gameplay/LaneRunnerTrackItem.cs.meta +2 -0
- package/Samples~/LaneRunner/Scripts/Gameplay.meta +8 -0
- package/Samples~/LaneRunner/Scripts/Hyper/LaneRunnerReplayAdapter.cs +62 -0
- package/Samples~/LaneRunner/Scripts/Hyper/LaneRunnerReplayAdapter.cs.meta +2 -0
- package/Samples~/LaneRunner/Scripts/Hyper/LaneRunnerTournamentAdapter.cs +64 -0
- package/Samples~/LaneRunner/Scripts/Hyper/LaneRunnerTournamentAdapter.cs.meta +2 -0
- package/Samples~/LaneRunner/Scripts/Hyper.meta +8 -0
- package/Samples~/LaneRunner/Scripts.meta +8 -0
- package/Tests.meta +8 -0
- package/package.json +8 -1
|
@@ -251,6 +251,7 @@ RectTransform:
|
|
|
251
251
|
- {fileID: 2951596604433264409}
|
|
252
252
|
- {fileID: 4778177808955477617}
|
|
253
253
|
- {fileID: 5674028873514353123}
|
|
254
|
+
- {fileID: 1873906835349991813}
|
|
254
255
|
- {fileID: 19893713024797808}
|
|
255
256
|
m_Father: {fileID: 4867582869548686450}
|
|
256
257
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
|
@@ -454,6 +455,82 @@ MonoBehaviour:
|
|
|
454
455
|
m_OnClick:
|
|
455
456
|
m_PersistentCalls:
|
|
456
457
|
m_Calls: []
|
|
458
|
+
--- !u!1 &3266041432905464933
|
|
459
|
+
GameObject:
|
|
460
|
+
m_ObjectHideFlags: 0
|
|
461
|
+
m_CorrespondingSourceObject: {fileID: 0}
|
|
462
|
+
m_PrefabInstance: {fileID: 0}
|
|
463
|
+
m_PrefabAsset: {fileID: 0}
|
|
464
|
+
serializedVersion: 6
|
|
465
|
+
m_Component:
|
|
466
|
+
- component: {fileID: 1873906835349991813}
|
|
467
|
+
- component: {fileID: 2929887624246621857}
|
|
468
|
+
- component: {fileID: 8266952305596494041}
|
|
469
|
+
m_Layer: 5
|
|
470
|
+
m_Name: Replay Marker
|
|
471
|
+
m_TagString: Untagged
|
|
472
|
+
m_Icon: {fileID: 0}
|
|
473
|
+
m_NavMeshLayer: 0
|
|
474
|
+
m_StaticEditorFlags: 0
|
|
475
|
+
m_IsActive: 0
|
|
476
|
+
--- !u!224 &1873906835349991813
|
|
477
|
+
RectTransform:
|
|
478
|
+
m_ObjectHideFlags: 0
|
|
479
|
+
m_CorrespondingSourceObject: {fileID: 0}
|
|
480
|
+
m_PrefabInstance: {fileID: 0}
|
|
481
|
+
m_PrefabAsset: {fileID: 0}
|
|
482
|
+
m_GameObject: {fileID: 3266041432905464933}
|
|
483
|
+
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
|
484
|
+
m_LocalPosition: {x: 0, y: 0, z: 0}
|
|
485
|
+
m_LocalScale: {x: 1, y: 1, z: 1}
|
|
486
|
+
m_ConstrainProportionsScale: 0
|
|
487
|
+
m_Children:
|
|
488
|
+
- {fileID: 4386514212620567058}
|
|
489
|
+
m_Father: {fileID: 169989670260607081}
|
|
490
|
+
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
|
491
|
+
m_AnchorMin: {x: 1, y: 0.5}
|
|
492
|
+
m_AnchorMax: {x: 1, y: 0.5}
|
|
493
|
+
m_AnchoredPosition: {x: -98.18683, y: 12.8}
|
|
494
|
+
m_SizeDelta: {x: 114.263, y: 53.3209}
|
|
495
|
+
m_Pivot: {x: 0.5, y: 0.5}
|
|
496
|
+
--- !u!222 &2929887624246621857
|
|
497
|
+
CanvasRenderer:
|
|
498
|
+
m_ObjectHideFlags: 0
|
|
499
|
+
m_CorrespondingSourceObject: {fileID: 0}
|
|
500
|
+
m_PrefabInstance: {fileID: 0}
|
|
501
|
+
m_PrefabAsset: {fileID: 0}
|
|
502
|
+
m_GameObject: {fileID: 3266041432905464933}
|
|
503
|
+
m_CullTransparentMesh: 1
|
|
504
|
+
--- !u!114 &8266952305596494041
|
|
505
|
+
MonoBehaviour:
|
|
506
|
+
m_ObjectHideFlags: 0
|
|
507
|
+
m_CorrespondingSourceObject: {fileID: 0}
|
|
508
|
+
m_PrefabInstance: {fileID: 0}
|
|
509
|
+
m_PrefabAsset: {fileID: 0}
|
|
510
|
+
m_GameObject: {fileID: 3266041432905464933}
|
|
511
|
+
m_Enabled: 1
|
|
512
|
+
m_EditorHideFlags: 0
|
|
513
|
+
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
|
|
514
|
+
m_Name:
|
|
515
|
+
m_EditorClassIdentifier:
|
|
516
|
+
m_Material: {fileID: 0}
|
|
517
|
+
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
|
518
|
+
m_RaycastTarget: 1
|
|
519
|
+
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
|
|
520
|
+
m_Maskable: 1
|
|
521
|
+
m_OnCullStateChanged:
|
|
522
|
+
m_PersistentCalls:
|
|
523
|
+
m_Calls: []
|
|
524
|
+
m_Sprite: {fileID: 21300000, guid: f93150d5cec4a9948a1d5104b5a08e1e, type: 3}
|
|
525
|
+
m_Type: 0
|
|
526
|
+
m_PreserveAspect: 1
|
|
527
|
+
m_FillCenter: 1
|
|
528
|
+
m_FillMethod: 4
|
|
529
|
+
m_FillAmount: 1
|
|
530
|
+
m_FillClockwise: 1
|
|
531
|
+
m_FillOrigin: 0
|
|
532
|
+
m_UseSpriteMesh: 1
|
|
533
|
+
m_PixelsPerUnitMultiplier: 1
|
|
457
534
|
--- !u!1 &3507704704354901291
|
|
458
535
|
GameObject:
|
|
459
536
|
m_ObjectHideFlags: 0
|
|
@@ -798,6 +875,96 @@ MonoBehaviour:
|
|
|
798
875
|
m_OnClick:
|
|
799
876
|
m_PersistentCalls:
|
|
800
877
|
m_Calls: []
|
|
878
|
+
--- !u!1 &4507854170938857842
|
|
879
|
+
GameObject:
|
|
880
|
+
m_ObjectHideFlags: 0
|
|
881
|
+
m_CorrespondingSourceObject: {fileID: 0}
|
|
882
|
+
m_PrefabInstance: {fileID: 0}
|
|
883
|
+
m_PrefabAsset: {fileID: 0}
|
|
884
|
+
serializedVersion: 6
|
|
885
|
+
m_Component:
|
|
886
|
+
- component: {fileID: 4386514212620567058}
|
|
887
|
+
- component: {fileID: 4850670631533970284}
|
|
888
|
+
- component: {fileID: 8603896314903478768}
|
|
889
|
+
- component: {fileID: 8171861932731735464}
|
|
890
|
+
m_Layer: 5
|
|
891
|
+
m_Name: Dot
|
|
892
|
+
m_TagString: Untagged
|
|
893
|
+
m_Icon: {fileID: 0}
|
|
894
|
+
m_NavMeshLayer: 0
|
|
895
|
+
m_StaticEditorFlags: 0
|
|
896
|
+
m_IsActive: 1
|
|
897
|
+
--- !u!224 &4386514212620567058
|
|
898
|
+
RectTransform:
|
|
899
|
+
m_ObjectHideFlags: 0
|
|
900
|
+
m_CorrespondingSourceObject: {fileID: 0}
|
|
901
|
+
m_PrefabInstance: {fileID: 0}
|
|
902
|
+
m_PrefabAsset: {fileID: 0}
|
|
903
|
+
m_GameObject: {fileID: 4507854170938857842}
|
|
904
|
+
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
|
905
|
+
m_LocalPosition: {x: 0, y: 0, z: 0}
|
|
906
|
+
m_LocalScale: {x: 0.81438, y: 0.81438, z: 0.81438}
|
|
907
|
+
m_ConstrainProportionsScale: 0
|
|
908
|
+
m_Children: []
|
|
909
|
+
m_Father: {fileID: 1873906835349991813}
|
|
910
|
+
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
|
911
|
+
m_AnchorMin: {x: 0, y: 0.5}
|
|
912
|
+
m_AnchorMax: {x: 0, y: 0.5}
|
|
913
|
+
m_AnchoredPosition: {x: 22.34, y: -0.41}
|
|
914
|
+
m_SizeDelta: {x: 25.7704, y: 28.896}
|
|
915
|
+
m_Pivot: {x: 0.5, y: 0.5}
|
|
916
|
+
--- !u!222 &4850670631533970284
|
|
917
|
+
CanvasRenderer:
|
|
918
|
+
m_ObjectHideFlags: 0
|
|
919
|
+
m_CorrespondingSourceObject: {fileID: 0}
|
|
920
|
+
m_PrefabInstance: {fileID: 0}
|
|
921
|
+
m_PrefabAsset: {fileID: 0}
|
|
922
|
+
m_GameObject: {fileID: 4507854170938857842}
|
|
923
|
+
m_CullTransparentMesh: 1
|
|
924
|
+
--- !u!114 &8603896314903478768
|
|
925
|
+
MonoBehaviour:
|
|
926
|
+
m_ObjectHideFlags: 0
|
|
927
|
+
m_CorrespondingSourceObject: {fileID: 0}
|
|
928
|
+
m_PrefabInstance: {fileID: 0}
|
|
929
|
+
m_PrefabAsset: {fileID: 0}
|
|
930
|
+
m_GameObject: {fileID: 4507854170938857842}
|
|
931
|
+
m_Enabled: 1
|
|
932
|
+
m_EditorHideFlags: 0
|
|
933
|
+
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
|
|
934
|
+
m_Name:
|
|
935
|
+
m_EditorClassIdentifier:
|
|
936
|
+
m_Material: {fileID: 0}
|
|
937
|
+
m_Color: {r: 0.9882353, g: 0.30588236, b: 0.3647059, a: 1}
|
|
938
|
+
m_RaycastTarget: 1
|
|
939
|
+
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
|
|
940
|
+
m_Maskable: 1
|
|
941
|
+
m_OnCullStateChanged:
|
|
942
|
+
m_PersistentCalls:
|
|
943
|
+
m_Calls: []
|
|
944
|
+
m_Sprite: {fileID: 21300000, guid: 434551244c4200447ad54dca6f71f81b, type: 3}
|
|
945
|
+
m_Type: 0
|
|
946
|
+
m_PreserveAspect: 1
|
|
947
|
+
m_FillCenter: 1
|
|
948
|
+
m_FillMethod: 4
|
|
949
|
+
m_FillAmount: 1
|
|
950
|
+
m_FillClockwise: 1
|
|
951
|
+
m_FillOrigin: 0
|
|
952
|
+
m_UseSpriteMesh: 1
|
|
953
|
+
m_PixelsPerUnitMultiplier: 1
|
|
954
|
+
--- !u!114 &8171861932731735464
|
|
955
|
+
MonoBehaviour:
|
|
956
|
+
m_ObjectHideFlags: 0
|
|
957
|
+
m_CorrespondingSourceObject: {fileID: 0}
|
|
958
|
+
m_PrefabInstance: {fileID: 0}
|
|
959
|
+
m_PrefabAsset: {fileID: 0}
|
|
960
|
+
m_GameObject: {fileID: 4507854170938857842}
|
|
961
|
+
m_Enabled: 1
|
|
962
|
+
m_EditorHideFlags: 0
|
|
963
|
+
m_Script: {fileID: 11500000, guid: 361528b20842ffc4ead65b0e23d7cc78, type: 3}
|
|
964
|
+
m_Name:
|
|
965
|
+
m_EditorClassIdentifier:
|
|
966
|
+
minimumAlpha: 0.03
|
|
967
|
+
fadeDuration: 0.33
|
|
801
968
|
--- !u!1 &5064621050566170867
|
|
802
969
|
GameObject:
|
|
803
970
|
m_ObjectHideFlags: 0
|
|
@@ -1492,7 +1659,7 @@ MonoBehaviour:
|
|
|
1492
1659
|
pauseButtonImage: {fileID: 6337179202905528179}
|
|
1493
1660
|
pauseBarsImage: {fileID: 7880691058749829457}
|
|
1494
1661
|
connectionStatusIcon: {fileID: 8600269090702546619}
|
|
1495
|
-
|
|
1662
|
+
landscapeHeartsDivider: {fileID: 5140490410473491407}
|
|
1496
1663
|
pauseBarsLight: {fileID: 21300000, guid: 5bf785ff9f45bcf4a89ffc70e363eb69, type: 3}
|
|
1497
1664
|
pauseBarsDark: {fileID: 21300000, guid: 023ea868e45992b46ab65bc4b6fb72c7, type: 3}
|
|
1498
1665
|
livesDisplayPrefab: {fileID: 5031749136894004241, guid: b7f1d0f9e3734df4c9feb3385b835f4b, type: 3}
|
|
@@ -1699,7 +1866,7 @@ GameObject:
|
|
|
1699
1866
|
m_Icon: {fileID: 0}
|
|
1700
1867
|
m_NavMeshLayer: 0
|
|
1701
1868
|
m_StaticEditorFlags: 0
|
|
1702
|
-
m_IsActive:
|
|
1869
|
+
m_IsActive: 0
|
|
1703
1870
|
--- !u!224 &5674028873514353123
|
|
1704
1871
|
RectTransform:
|
|
1705
1872
|
m_ObjectHideFlags: 0
|
|
@@ -1617,7 +1617,7 @@ RectTransform:
|
|
|
1617
1617
|
m_AnchorMin: {x: 0, y: 1}
|
|
1618
1618
|
m_AnchorMax: {x: 0, y: 1}
|
|
1619
1619
|
m_AnchoredPosition: {x: 242.0348, y: -33.43245}
|
|
1620
|
-
m_SizeDelta: {x:
|
|
1620
|
+
m_SizeDelta: {x: 0, y: 46.0515}
|
|
1621
1621
|
m_Pivot: {x: 0.5, y: 0.5}
|
|
1622
1622
|
--- !u!222 &8480469813127575513
|
|
1623
1623
|
CanvasRenderer:
|