app.hypergames.hypersdk 1.8.19 → 1.8.21

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.
Files changed (36) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/HyperLoader.unity +3 -3
  3. package/Runtime/Internal/Managers/DataManager.cs +38 -2
  4. package/Runtime/Internal/Managers/GameManager.cs +34 -23
  5. package/Runtime/Internal/UI/Animation/SlideUp.cs +6 -1
  6. package/Runtime/Internal/UI/Components/RoundedRawImage.cs +146 -0
  7. package/Runtime/Internal/UI/Components/RoundedRawImage.cs.meta +11 -0
  8. package/Runtime/Internal/UI/Modals/GamePausedModal.cs +2 -0
  9. package/Runtime/Internal/UI/Modals/TutorialButton.cs +10 -0
  10. package/Runtime/Internal/UI/Modals/TutorialLoaderModal.cs +31 -4
  11. package/Runtime/Internal/UI/Modals/TutorialModal.cs +814 -47
  12. package/Runtime/Plugins/WebGL/HyperTutorialCachePlugin.jslib +35 -53
  13. package/Runtime/Resources/Materials/RoundedRawImage.mat +65 -0
  14. package/Runtime/Resources/Materials/RoundedRawImage.mat.meta +8 -0
  15. package/Runtime/Resources/Materials.meta +8 -0
  16. package/Runtime/Resources/RenderTextures/TutorialVideoTexture P.renderTexture +3 -3
  17. package/Runtime/Resources/Shaders/RoundedRawImage.shader +142 -0
  18. package/Runtime/Resources/Shaders/RoundedRawImage.shader.meta +10 -0
  19. package/Runtime/Resources/Shaders/RoundedStrip.shader +152 -0
  20. package/Runtime/Resources/Shaders/RoundedStrip.shader.meta +10 -0
  21. package/Runtime/Resources/Shaders.meta +8 -0
  22. package/Runtime/Resources/Sprites/Frames/Square.png +0 -0
  23. package/Runtime/Resources/Sprites/Frames/Square.png.meta +186 -0
  24. package/Runtime/Resources/Sprites/TutorialModal/Button_Back.png.meta +1 -1
  25. package/Runtime/Resources/Sprites/TutorialModal/Button_Next.png.meta +1 -1
  26. package/Runtime/Resources/Sprites/TutorialModal/Knob.png.meta +1 -1
  27. package/Runtime/Resources/Sprites/TutorialModal/Tutorial_Background_Portrait.png.meta +3 -3
  28. package/Runtime/Resources/UIPrefabs/GameOverModal_Battle.prefab +1 -1
  29. package/Runtime/Resources/UIPrefabs/GameOverModal_Practice.prefab +1 -1
  30. package/Runtime/Resources/UIPrefabs/GamePausedModal_Battle.prefab +1 -1
  31. package/Runtime/Resources/UIPrefabs/IndicatorCircle.prefab +2 -2
  32. package/Runtime/Resources/UIPrefabs/TutorialLandscapeModal.prefab +1614 -1184
  33. package/Runtime/Resources/UIPrefabs/TutorialLandscapeModal.prefab.meta +1 -1
  34. package/Runtime/Resources/UIPrefabs/TutorialPortraitModal.prefab +1409 -948
  35. package/Runtime/Shared/DTOs/TutorialData.cs +18 -1
  36. package/package.json +1 -1
@@ -0,0 +1,186 @@
1
+ fileFormatVersion: 2
2
+ guid: 4019fbd1052343d4a8de8f9e561bbdd0
3
+ TextureImporter:
4
+ internalIDToNameTable:
5
+ - first:
6
+ 213: 7482667652216324306
7
+ second: Square
8
+ externalObjects: {}
9
+ serializedVersion: 13
10
+ mipmaps:
11
+ mipMapMode: 0
12
+ enableMipMap: 0
13
+ sRGBTexture: 1
14
+ linearTexture: 0
15
+ fadeOut: 0
16
+ borderMipMap: 0
17
+ mipMapsPreserveCoverage: 0
18
+ alphaTestReferenceValue: 0.5
19
+ mipMapFadeDistanceStart: 1
20
+ mipMapFadeDistanceEnd: 3
21
+ bumpmap:
22
+ convertToNormalMap: 0
23
+ externalNormalMap: 0
24
+ heightScale: 0.25
25
+ normalMapFilter: 0
26
+ flipGreenChannel: 0
27
+ isReadable: 0
28
+ streamingMipmaps: 0
29
+ streamingMipmapsPriority: 0
30
+ vTOnly: 0
31
+ ignoreMipmapLimit: 0
32
+ grayScaleToAlpha: 0
33
+ generateCubemap: 6
34
+ cubemapConvolution: 0
35
+ seamlessCubemap: 0
36
+ textureFormat: 1
37
+ maxTextureSize: 2048
38
+ textureSettings:
39
+ serializedVersion: 2
40
+ filterMode: 1
41
+ aniso: 1
42
+ mipBias: 0
43
+ wrapU: 1
44
+ wrapV: 1
45
+ wrapW: 1
46
+ nPOTScale: 0
47
+ lightmap: 0
48
+ compressionQuality: 50
49
+ spriteMode: 2
50
+ spriteExtrude: 1
51
+ spriteMeshType: 1
52
+ alignment: 0
53
+ spritePivot: {x: 0.5, y: 0.5}
54
+ spritePixelsToUnits: 256
55
+ spriteBorder: {x: 0, y: 0, z: 0, w: 0}
56
+ spriteGenerateFallbackPhysicsShape: 1
57
+ alphaUsage: 1
58
+ alphaIsTransparency: 1
59
+ spriteTessellationDetail: 0
60
+ textureType: 8
61
+ textureShape: 1
62
+ singleChannelComponent: 0
63
+ flipbookRows: 1
64
+ flipbookColumns: 1
65
+ maxTextureSizeSet: 0
66
+ compressionQualitySet: 0
67
+ textureFormatSet: 0
68
+ ignorePngGamma: 0
69
+ applyGammaDecoding: 0
70
+ swizzle: 50462976
71
+ cookieLightType: 1
72
+ platformSettings:
73
+ - serializedVersion: 4
74
+ buildTarget: DefaultTexturePlatform
75
+ maxTextureSize: 2048
76
+ resizeAlgorithm: 0
77
+ textureFormat: -1
78
+ textureCompression: 1
79
+ compressionQuality: 50
80
+ crunchedCompression: 0
81
+ allowsAlphaSplitting: 0
82
+ overridden: 0
83
+ ignorePlatformSupport: 0
84
+ androidETC2FallbackOverride: 0
85
+ forceMaximumCompressionQuality_BC6H_BC7: 0
86
+ - serializedVersion: 4
87
+ buildTarget: Standalone
88
+ maxTextureSize: 2048
89
+ resizeAlgorithm: 0
90
+ textureFormat: -1
91
+ textureCompression: 1
92
+ compressionQuality: 50
93
+ crunchedCompression: 0
94
+ allowsAlphaSplitting: 0
95
+ overridden: 0
96
+ ignorePlatformSupport: 0
97
+ androidETC2FallbackOverride: 0
98
+ forceMaximumCompressionQuality_BC6H_BC7: 0
99
+ - serializedVersion: 4
100
+ buildTarget: iOS
101
+ maxTextureSize: 2048
102
+ resizeAlgorithm: 0
103
+ textureFormat: -1
104
+ textureCompression: 1
105
+ compressionQuality: 50
106
+ crunchedCompression: 0
107
+ allowsAlphaSplitting: 0
108
+ overridden: 0
109
+ ignorePlatformSupport: 0
110
+ androidETC2FallbackOverride: 0
111
+ forceMaximumCompressionQuality_BC6H_BC7: 0
112
+ - serializedVersion: 4
113
+ buildTarget: Android
114
+ maxTextureSize: 2048
115
+ resizeAlgorithm: 0
116
+ textureFormat: -1
117
+ textureCompression: 1
118
+ compressionQuality: 50
119
+ crunchedCompression: 0
120
+ allowsAlphaSplitting: 0
121
+ overridden: 0
122
+ ignorePlatformSupport: 0
123
+ androidETC2FallbackOverride: 0
124
+ forceMaximumCompressionQuality_BC6H_BC7: 0
125
+ - serializedVersion: 4
126
+ buildTarget: WebGL
127
+ maxTextureSize: 2048
128
+ resizeAlgorithm: 0
129
+ textureFormat: -1
130
+ textureCompression: 1
131
+ compressionQuality: 50
132
+ crunchedCompression: 0
133
+ allowsAlphaSplitting: 0
134
+ overridden: 0
135
+ ignorePlatformSupport: 0
136
+ androidETC2FallbackOverride: 0
137
+ forceMaximumCompressionQuality_BC6H_BC7: 0
138
+ spriteSheet:
139
+ serializedVersion: 2
140
+ sprites:
141
+ - serializedVersion: 2
142
+ name: Square
143
+ rect:
144
+ serializedVersion: 2
145
+ x: 0
146
+ y: 0
147
+ width: 256
148
+ height: 256
149
+ alignment: 0
150
+ pivot: {x: 0.5, y: 0.5}
151
+ border: {x: 0, y: 0, z: 0, w: 0}
152
+ customData:
153
+ outline: []
154
+ physicsShape: []
155
+ tessellationDetail: 0
156
+ bones: []
157
+ spriteID: 2d009a6b596c7d760800000000000000
158
+ internalID: 7482667652216324306
159
+ vertices: []
160
+ indices:
161
+ edges: []
162
+ weights: []
163
+ outline: []
164
+ customData:
165
+ physicsShape:
166
+ - - {x: -128, y: 128}
167
+ - {x: -128, y: -128}
168
+ - {x: 128, y: -128}
169
+ - {x: 128, y: 128}
170
+ bones: []
171
+ spriteID: 5e97eb03825dee720800000000000000
172
+ internalID: 0
173
+ vertices: []
174
+ indices:
175
+ edges: []
176
+ weights: []
177
+ secondaryTextures: []
178
+ spriteCustomMetadata:
179
+ entries: []
180
+ nameFileIdTable:
181
+ Square: 7482667652216324306
182
+ mipmapLimitGroupName:
183
+ pSDRemoveMatte: 0
184
+ userData:
185
+ assetBundleName:
186
+ assetBundleVariant:
@@ -69,7 +69,7 @@ TextureImporter:
69
69
  platformSettings:
70
70
  - serializedVersion: 4
71
71
  buildTarget: DefaultTexturePlatform
72
- maxTextureSize: 512
72
+ maxTextureSize: 128
73
73
  resizeAlgorithm: 0
74
74
  textureFormat: -1
75
75
  textureCompression: 1
@@ -69,7 +69,7 @@ TextureImporter:
69
69
  platformSettings:
70
70
  - serializedVersion: 4
71
71
  buildTarget: DefaultTexturePlatform
72
- maxTextureSize: 512
72
+ maxTextureSize: 128
73
73
  resizeAlgorithm: 0
74
74
  textureFormat: -1
75
75
  textureCompression: 1
@@ -69,7 +69,7 @@ TextureImporter:
69
69
  platformSettings:
70
70
  - serializedVersion: 4
71
71
  buildTarget: DefaultTexturePlatform
72
- maxTextureSize: 512
72
+ maxTextureSize: 32
73
73
  resizeAlgorithm: 0
74
74
  textureFormat: -1
75
75
  textureCompression: 1
@@ -52,7 +52,7 @@ TextureImporter:
52
52
  alignment: 0
53
53
  spritePivot: {x: 0.5, y: 0.5}
54
54
  spritePixelsToUnits: 100
55
- spriteBorder: {x: 0, y: 0, z: 0, w: 0}
55
+ spriteBorder: {x: 0, y: 0, z: 0, w: 192}
56
56
  spriteGenerateFallbackPhysicsShape: 0
57
57
  alphaUsage: 1
58
58
  alphaIsTransparency: 1
@@ -134,7 +134,7 @@ TextureImporter:
134
134
  width: 1496
135
135
  height: 3040
136
136
  alignment: 0
137
- pivot: {x: 0, y: 0}
137
+ pivot: {x: 0.5, y: 0.5}
138
138
  border: {x: 0, y: 0, z: 0, w: 0}
139
139
  customData:
140
140
  outline: []
@@ -152,7 +152,7 @@ TextureImporter:
152
152
  physicsShape: []
153
153
  bones: []
154
154
  spriteID: 5e97eb03825dee720800000000000000
155
- internalID: 0
155
+ internalID: 1537655665
156
156
  vertices: []
157
157
  indices:
158
158
  edges: []
@@ -184,7 +184,7 @@ RectTransform:
184
184
  m_GameObject: {fileID: 1641685960017025922}
185
185
  m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
186
186
  m_LocalPosition: {x: 0, y: 0, z: 0}
187
- m_LocalScale: {x: 1.25, y: 1.25, z: 1.25}
187
+ m_LocalScale: {x: 1.15, y: 1.15, z: 1.15}
188
188
  m_ConstrainProportionsScale: 1
189
189
  m_Children:
190
190
  - {fileID: 6118213081617822483}
@@ -125,7 +125,7 @@ RectTransform:
125
125
  m_GameObject: {fileID: 936452418214250672}
126
126
  m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
127
127
  m_LocalPosition: {x: 0, y: 0, z: 0}
128
- m_LocalScale: {x: 1.25, y: 1.25, z: 1.25}
128
+ m_LocalScale: {x: 1.15, y: 1.15, z: 1.15}
129
129
  m_ConstrainProportionsScale: 1
130
130
  m_Children:
131
131
  - {fileID: 943448477169687493}
@@ -257,7 +257,7 @@ RectTransform:
257
257
  m_GameObject: {fileID: 936452418214250672}
258
258
  m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
259
259
  m_LocalPosition: {x: 0, y: 0, z: 0}
260
- m_LocalScale: {x: 1.22, y: 1.22, z: 1.22}
260
+ m_LocalScale: {x: 1.15, y: 1.15, z: 1.15}
261
261
  m_ConstrainProportionsScale: 1
262
262
  m_Children:
263
263
  - {fileID: 943448477169687493}
@@ -35,7 +35,7 @@ RectTransform:
35
35
  m_AnchorMin: {x: 0.5, y: 0.5}
36
36
  m_AnchorMax: {x: 0.5, y: 0.5}
37
37
  m_AnchoredPosition: {x: 0, y: 0}
38
- m_SizeDelta: {x: 25, y: 25}
38
+ m_SizeDelta: {x: 32, y: 32}
39
39
  m_Pivot: {x: 0.5, y: 0.5}
40
40
  --- !u!222 &738742994923225994
41
41
  CanvasRenderer:
@@ -67,7 +67,7 @@ MonoBehaviour:
67
67
  m_Calls: []
68
68
  m_Sprite: {fileID: 21300000, guid: 434551244c4200447ad54dca6f71f81b, type: 3}
69
69
  m_Type: 0
70
- m_PreserveAspect: 0
70
+ m_PreserveAspect: 1
71
71
  m_FillCenter: 1
72
72
  m_FillMethod: 4
73
73
  m_FillAmount: 1