app.hypergames.hypersdk 1.3.3 → 1.4.0

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 (79) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/Editor/{HyperSDK.Editor.asmdef → Hyper.Editor.asmdef} +1 -1
  3. package/Editor/Resources/ControlBarPreviews/Dark/Default.png +0 -0
  4. package/Editor/Resources/ControlBarPreviews/Dark/Default.png.meta +143 -0
  5. package/Editor/Resources/ControlBarPreviews/Dark/HealthBarLeft.png +0 -0
  6. package/Editor/Resources/ControlBarPreviews/Dark/HealthBarLeft.png.meta +143 -0
  7. package/Editor/Resources/ControlBarPreviews/Dark/HeartsLeft.png +0 -0
  8. package/Editor/Resources/ControlBarPreviews/Dark/HeartsLeft.png.meta +169 -0
  9. package/Editor/Resources/ControlBarPreviews/Dark.meta +8 -0
  10. package/Editor/Resources/ControlBarPreviews/Light/Default.png +0 -0
  11. package/Editor/Resources/ControlBarPreviews/Light/Default.png.meta +143 -0
  12. package/Editor/Resources/ControlBarPreviews/Light/HealthBarLeft.png +0 -0
  13. package/Editor/Resources/ControlBarPreviews/Light/HealthBarLeft.png.meta +143 -0
  14. package/Editor/Resources/ControlBarPreviews/Light/HeartsLeft.png +0 -0
  15. package/Editor/Resources/ControlBarPreviews/Light/HeartsLeft.png.meta +143 -0
  16. package/Editor/Resources/ControlBarPreviews/Light.meta +8 -0
  17. package/Editor/Resources/ControlBarPreviews.meta +8 -0
  18. package/Editor/Scripts/Inspectors/HyperSDKSettingsEditor.cs +206 -0
  19. package/Editor/Scripts/Inspectors/HyperSDKSettingsEditor.cs.meta +2 -0
  20. package/Editor/Scripts/Inspectors.meta +8 -0
  21. package/Editor/Scripts/Windows/HyperCoreSettingsWindow.cs +0 -8
  22. package/Editor/Scripts/Windows/HyperGameContentWindow.cs +0 -8
  23. package/Editor/Scripts/Windows/HyperSettingsWindow.cs +3 -3
  24. package/HyperLoader.unity +4 -49
  25. package/Runtime/Internal/AssemblyInfo.cs +1 -1
  26. package/Runtime/Internal/Bootstrap/HyperLoader.cs +2 -0
  27. package/Runtime/Internal/Core/HyperRuntime.cs +0 -2
  28. package/Runtime/Internal/Managers/EventManager.cs +4 -0
  29. package/Runtime/Internal/Managers/GameManager.cs +135 -2
  30. package/Runtime/Internal/ScriptableObjects/HyperSDKSettings.cs +16 -10
  31. package/Runtime/Internal/UI/Animation/BlinkingText.cs +1 -1
  32. package/Runtime/Internal/UI/Animation/HyperTween.cs +88 -0
  33. package/Runtime/Internal/UI/Components/ControlBar.cs +220 -40
  34. package/Runtime/Internal/UI/Components/HealthBarDisplay.cs +269 -0
  35. package/Runtime/Internal/UI/Components/HealthBarDisplay.cs.meta +2 -0
  36. package/Runtime/Internal/UI/Components/LivesDisplay.cs +327 -0
  37. package/Runtime/Internal/UI/Components/LivesDisplay.cs.meta +2 -0
  38. package/Runtime/Internal/UI/Modals/StartingInstructionModal.cs +202 -3
  39. package/Runtime/Internal/Utils/HyperConstants.cs +27 -0
  40. package/Runtime/Public/Core/HyperSDK.cs +68 -0
  41. package/Runtime/Resources/Fonts/Wonder Boys/Wonder Boys + Hyper BIG.mat +1 -1
  42. package/Runtime/Resources/HyperSDKSettings.asset +3 -2
  43. package/Runtime/Resources/Sprites/Control Bar/Ellipse 3.png +0 -0
  44. package/Runtime/Resources/Sprites/Control Bar/Ellipse 3.png.meta +169 -0
  45. package/Runtime/Resources/Sprites/Control Bar/Health Bar - Green Fill.png +0 -0
  46. package/Runtime/Resources/Sprites/Control Bar/Health Bar - Green Fill.png.meta +169 -0
  47. package/Runtime/Resources/Sprites/Control Bar/Health Bar - Underlay.png +0 -0
  48. package/Runtime/Resources/Sprites/Control Bar/Health Bar - Underlay.png.meta +169 -0
  49. package/Runtime/Resources/Sprites/Control Bar/Health Bar.png +0 -0
  50. package/Runtime/Resources/Sprites/Control Bar/Health Bar.png.meta +169 -0
  51. package/Runtime/Resources/Sprites/Control Bar/heart.empty.png +0 -0
  52. package/Runtime/Resources/Sprites/Control Bar/heart.empty.png.meta +169 -0
  53. package/Runtime/Resources/Sprites/Control Bar/heart.fill.png +0 -0
  54. package/Runtime/Resources/Sprites/Control Bar/heart.fill.png.meta +169 -0
  55. package/Runtime/Resources/Sprites/Frames/{Game Over P.png.meta → Game Over.png.meta } +4 -4
  56. package/Runtime/Resources/Sprites/HYPERGAMES_Logo.png.meta +3 -3
  57. package/Runtime/Resources/Sprites/Hyper Atlas.spriteatlasv2 +6 -0
  58. package/Runtime/Resources/Sprites/Start CTAs/Hand.PNG +0 -0
  59. package/Runtime/Resources/Sprites/Start CTAs/Hand.PNG.meta +169 -0
  60. package/Runtime/Resources/Sprites/Start CTAs/Line .PNG +0 -0
  61. package/Runtime/Resources/Sprites/Start CTAs/Line .PNG.meta +169 -0
  62. package/Runtime/Resources/Sprites/Start CTAs/Swipe Gesture GIF.controller +130 -0
  63. package/Runtime/Resources/Sprites/Start CTAs/Swipe Gesture GIF.controller.meta +8 -0
  64. package/Runtime/Resources/Sprites/Start CTAs/Swipe Gesture.anim +158 -0
  65. package/Runtime/Resources/Sprites/Start CTAs/Swipe Gesture.anim.meta +8 -0
  66. package/Runtime/Resources/Sprites/Start CTAs.meta +8 -0
  67. package/Runtime/Resources/UIPrefabs/Control Bar Objects/Health Bar Display.prefab +361 -0
  68. package/Runtime/Resources/UIPrefabs/Control Bar Objects/Health Bar Display.prefab.meta +7 -0
  69. package/Runtime/Resources/UIPrefabs/Control Bar Objects/Lives Display .prefab +246 -0
  70. package/Runtime/Resources/UIPrefabs/Control Bar Objects/Lives Display .prefab.meta +7 -0
  71. package/Runtime/Resources/UIPrefabs/Control Bar Objects.meta +8 -0
  72. package/Runtime/Resources/UIPrefabs/ControlBar.prefab +131 -17
  73. package/Runtime/Resources/UIPrefabs/StartingInstructionModal.prefab +271 -57
  74. package/Runtime/Resources/UIPrefabs/TutorialLandscapeModal.prefab +1 -1
  75. package/Runtime/Resources/UIPrefabs/TutorialPortraitModal.prefab +1 -1
  76. package/Runtime/Shared/DTOs/Enums.cs +22 -6
  77. package/package.json +1 -1
  78. /package/Editor/{HyperSDK.Editor.asmdef.meta → Hyper.Editor.asmdef.meta} +0 -0
  79. /package/Runtime/Resources/Sprites/Frames/{Game Over P.png → Game Over.png} +0 -0
@@ -1,5 +1,51 @@
1
1
  %YAML 1.1
2
2
  %TAG !u! tag:unity3d.com,2011:
3
+ --- !u!1 &812134488303599474
4
+ GameObject:
5
+ m_ObjectHideFlags: 0
6
+ m_CorrespondingSourceObject: {fileID: 0}
7
+ m_PrefabInstance: {fileID: 0}
8
+ m_PrefabAsset: {fileID: 0}
9
+ serializedVersion: 6
10
+ m_Component:
11
+ - component: {fileID: 3581598360722608337}
12
+ - component: {fileID: 277624337904105659}
13
+ m_Layer: 5
14
+ m_Name: Swipe Gesture
15
+ m_TagString: Untagged
16
+ m_Icon: {fileID: 0}
17
+ m_NavMeshLayer: 0
18
+ m_StaticEditorFlags: 0
19
+ m_IsActive: 1
20
+ --- !u!224 &3581598360722608337
21
+ RectTransform:
22
+ m_ObjectHideFlags: 0
23
+ m_CorrespondingSourceObject: {fileID: 0}
24
+ m_PrefabInstance: {fileID: 0}
25
+ m_PrefabAsset: {fileID: 0}
26
+ m_GameObject: {fileID: 812134488303599474}
27
+ m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
28
+ m_LocalPosition: {x: 0, y: 0, z: 0}
29
+ m_LocalScale: {x: 1.1, y: 1.1, z: 1.1}
30
+ m_ConstrainProportionsScale: 1
31
+ m_Children:
32
+ - {fileID: 312166748021578777}
33
+ - {fileID: 8607293626673258384}
34
+ m_Father: {fileID: 176489728365099173}
35
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
36
+ m_AnchorMin: {x: 0.5, y: 0.5}
37
+ m_AnchorMax: {x: 0.5, y: 0.5}
38
+ m_AnchoredPosition: {x: 0, y: 220}
39
+ m_SizeDelta: {x: 279.2293, y: 106.4023}
40
+ m_Pivot: {x: 0.5, y: 0.5}
41
+ --- !u!222 &277624337904105659
42
+ CanvasRenderer:
43
+ m_ObjectHideFlags: 0
44
+ m_CorrespondingSourceObject: {fileID: 0}
45
+ m_PrefabInstance: {fileID: 0}
46
+ m_PrefabAsset: {fileID: 0}
47
+ m_GameObject: {fileID: 812134488303599474}
48
+ m_CullTransparentMesh: 1
3
49
  --- !u!1 &936452418214250672
4
50
  GameObject:
5
51
  m_ObjectHideFlags: 0
@@ -12,7 +58,6 @@ GameObject:
12
58
  - component: {fileID: 7474295978719854104}
13
59
  - component: {fileID: 8927388423251347516}
14
60
  - component: {fileID: 5445847788759400986}
15
- - component: {fileID: 5250361557793842873}
16
61
  m_Layer: 5
17
62
  m_Name: StartingInstructionModal
18
63
  m_TagString: Untagged
@@ -90,62 +135,182 @@ MonoBehaviour:
90
135
  m_Script: {fileID: 11500000, guid: e0e1b0bd1aff4f146b8caec16942cb5b, type: 3}
91
136
  m_Name:
92
137
  m_EditorClassIdentifier:
93
- --- !u!114 &5250361557793842873
138
+ startCtaLabel: {fileID: 3096530613615201642}
139
+ blinkingText: {fileID: 791952873962332395}
140
+ swipeGif: {fileID: 3581598360722608337}
141
+ --- !u!1 &5738334876670918407
142
+ GameObject:
143
+ m_ObjectHideFlags: 0
144
+ m_CorrespondingSourceObject: {fileID: 0}
145
+ m_PrefabInstance: {fileID: 0}
146
+ m_PrefabAsset: {fileID: 0}
147
+ serializedVersion: 6
148
+ m_Component:
149
+ - component: {fileID: 8607293626673258384}
150
+ - component: {fileID: 7919240921896406357}
151
+ - component: {fileID: 8520077165811699458}
152
+ m_Layer: 5
153
+ m_Name: Line
154
+ m_TagString: Untagged
155
+ m_Icon: {fileID: 0}
156
+ m_NavMeshLayer: 0
157
+ m_StaticEditorFlags: 0
158
+ m_IsActive: 1
159
+ --- !u!224 &8607293626673258384
160
+ RectTransform:
161
+ m_ObjectHideFlags: 0
162
+ m_CorrespondingSourceObject: {fileID: 0}
163
+ m_PrefabInstance: {fileID: 0}
164
+ m_PrefabAsset: {fileID: 0}
165
+ m_GameObject: {fileID: 5738334876670918407}
166
+ m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
167
+ m_LocalPosition: {x: 0, y: 0, z: 0}
168
+ m_LocalScale: {x: 1, y: 1, z: 1}
169
+ m_ConstrainProportionsScale: 0
170
+ m_Children: []
171
+ m_Father: {fileID: 3581598360722608337}
172
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
173
+ m_AnchorMin: {x: 0.5, y: 0.5}
174
+ m_AnchorMax: {x: 0.5, y: 0.5}
175
+ m_AnchoredPosition: {x: 0, y: 0}
176
+ m_SizeDelta: {x: 280, y: 106}
177
+ m_Pivot: {x: 0.5, y: 0.5}
178
+ --- !u!222 &7919240921896406357
179
+ CanvasRenderer:
180
+ m_ObjectHideFlags: 0
181
+ m_CorrespondingSourceObject: {fileID: 0}
182
+ m_PrefabInstance: {fileID: 0}
183
+ m_PrefabAsset: {fileID: 0}
184
+ m_GameObject: {fileID: 5738334876670918407}
185
+ m_CullTransparentMesh: 1
186
+ --- !u!114 &8520077165811699458
94
187
  MonoBehaviour:
95
188
  m_ObjectHideFlags: 0
96
189
  m_CorrespondingSourceObject: {fileID: 0}
97
190
  m_PrefabInstance: {fileID: 0}
98
191
  m_PrefabAsset: {fileID: 0}
99
- m_GameObject: {fileID: 936452418214250672}
192
+ m_GameObject: {fileID: 5738334876670918407}
100
193
  m_Enabled: 1
101
194
  m_EditorHideFlags: 0
102
- m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3}
195
+ m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
103
196
  m_Name:
104
197
  m_EditorClassIdentifier:
105
- m_Navigation:
106
- m_Mode: 3
107
- m_WrapAround: 0
108
- m_SelectOnUp: {fileID: 0}
109
- m_SelectOnDown: {fileID: 0}
110
- m_SelectOnLeft: {fileID: 0}
111
- m_SelectOnRight: {fileID: 0}
112
- m_Transition: 0
113
- m_Colors:
114
- m_NormalColor: {r: 1, g: 1, b: 1, a: 1}
115
- m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
116
- m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1}
117
- m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
118
- m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608}
119
- m_ColorMultiplier: 1
120
- m_FadeDuration: 0.1
121
- m_SpriteState:
122
- m_HighlightedSprite: {fileID: 0}
123
- m_PressedSprite: {fileID: 0}
124
- m_SelectedSprite: {fileID: 0}
125
- m_DisabledSprite: {fileID: 0}
126
- m_AnimationTriggers:
127
- m_NormalTrigger: Normal
128
- m_HighlightedTrigger: Highlighted
129
- m_PressedTrigger: Pressed
130
- m_SelectedTrigger: Selected
131
- m_DisabledTrigger: Disabled
132
- m_Interactable: 1
133
- m_TargetGraphic: {fileID: 8927388423251347516}
134
- m_OnClick:
198
+ m_Material: {fileID: 0}
199
+ m_Color: {r: 1, g: 1, b: 1, a: 1}
200
+ m_RaycastTarget: 1
201
+ m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
202
+ m_Maskable: 1
203
+ m_OnCullStateChanged:
135
204
  m_PersistentCalls:
136
- m_Calls:
137
- - m_Target: {fileID: 5445847788759400986}
138
- m_TargetAssemblyTypeName: Hyper.StartingInstructionModal, Assembly-CSharp
139
- m_MethodName: OnTap
140
- m_Mode: 1
141
- m_Arguments:
142
- m_ObjectArgument: {fileID: 0}
143
- m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
144
- m_IntArgument: 0
145
- m_FloatArgument: 0
146
- m_StringArgument:
147
- m_BoolArgument: 0
148
- m_CallState: 2
205
+ m_Calls: []
206
+ m_Sprite: {fileID: 21300000, guid: c3b1c046a67ab854ba804df4ee0334e3, type: 3}
207
+ m_Type: 0
208
+ m_PreserveAspect: 1
209
+ m_FillCenter: 1
210
+ m_FillMethod: 4
211
+ m_FillAmount: 1
212
+ m_FillClockwise: 1
213
+ m_FillOrigin: 0
214
+ m_UseSpriteMesh: 1
215
+ m_PixelsPerUnitMultiplier: 1
216
+ --- !u!1 &9131258620924144941
217
+ GameObject:
218
+ m_ObjectHideFlags: 0
219
+ m_CorrespondingSourceObject: {fileID: 0}
220
+ m_PrefabInstance: {fileID: 0}
221
+ m_PrefabAsset: {fileID: 0}
222
+ serializedVersion: 6
223
+ m_Component:
224
+ - component: {fileID: 312166748021578777}
225
+ - component: {fileID: 7348338096052556359}
226
+ - component: {fileID: 2019806540418301909}
227
+ - component: {fileID: 7870885715092032465}
228
+ m_Layer: 5
229
+ m_Name: Hand
230
+ m_TagString: Untagged
231
+ m_Icon: {fileID: 0}
232
+ m_NavMeshLayer: 0
233
+ m_StaticEditorFlags: 0
234
+ m_IsActive: 1
235
+ --- !u!224 &312166748021578777
236
+ RectTransform:
237
+ m_ObjectHideFlags: 0
238
+ m_CorrespondingSourceObject: {fileID: 0}
239
+ m_PrefabInstance: {fileID: 0}
240
+ m_PrefabAsset: {fileID: 0}
241
+ m_GameObject: {fileID: 9131258620924144941}
242
+ m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
243
+ m_LocalPosition: {x: 0, y: 0, z: 0}
244
+ m_LocalScale: {x: 1, y: 1, z: 1}
245
+ m_ConstrainProportionsScale: 0
246
+ m_Children: []
247
+ m_Father: {fileID: 3581598360722608337}
248
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
249
+ m_AnchorMin: {x: 0.5, y: 0.5}
250
+ m_AnchorMax: {x: 0.5, y: 0.5}
251
+ m_AnchoredPosition: {x: -103, y: -40}
252
+ m_SizeDelta: {x: 84.6344, y: 106.4023}
253
+ m_Pivot: {x: 0.5, y: 0.5}
254
+ --- !u!222 &7348338096052556359
255
+ CanvasRenderer:
256
+ m_ObjectHideFlags: 0
257
+ m_CorrespondingSourceObject: {fileID: 0}
258
+ m_PrefabInstance: {fileID: 0}
259
+ m_PrefabAsset: {fileID: 0}
260
+ m_GameObject: {fileID: 9131258620924144941}
261
+ m_CullTransparentMesh: 1
262
+ --- !u!114 &2019806540418301909
263
+ MonoBehaviour:
264
+ m_ObjectHideFlags: 0
265
+ m_CorrespondingSourceObject: {fileID: 0}
266
+ m_PrefabInstance: {fileID: 0}
267
+ m_PrefabAsset: {fileID: 0}
268
+ m_GameObject: {fileID: 9131258620924144941}
269
+ m_Enabled: 1
270
+ m_EditorHideFlags: 0
271
+ m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
272
+ m_Name:
273
+ m_EditorClassIdentifier:
274
+ m_Material: {fileID: 0}
275
+ m_Color: {r: 1, g: 1, b: 1, a: 1}
276
+ m_RaycastTarget: 1
277
+ m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
278
+ m_Maskable: 1
279
+ m_OnCullStateChanged:
280
+ m_PersistentCalls:
281
+ m_Calls: []
282
+ m_Sprite: {fileID: 21300000, guid: 28eef8e5d1dd1bb46a70ad777b159c14, type: 3}
283
+ m_Type: 0
284
+ m_PreserveAspect: 1
285
+ m_FillCenter: 1
286
+ m_FillMethod: 4
287
+ m_FillAmount: 1
288
+ m_FillClockwise: 1
289
+ m_FillOrigin: 0
290
+ m_UseSpriteMesh: 1
291
+ m_PixelsPerUnitMultiplier: 1
292
+ --- !u!95 &7870885715092032465
293
+ Animator:
294
+ serializedVersion: 7
295
+ m_ObjectHideFlags: 0
296
+ m_CorrespondingSourceObject: {fileID: 0}
297
+ m_PrefabInstance: {fileID: 0}
298
+ m_PrefabAsset: {fileID: 0}
299
+ m_GameObject: {fileID: 9131258620924144941}
300
+ m_Enabled: 1
301
+ m_Avatar: {fileID: 0}
302
+ m_Controller: {fileID: 9100000, guid: c7109cbcb1e1bd94782d8ead6281e275, type: 2}
303
+ m_CullingMode: 0
304
+ m_UpdateMode: 0
305
+ m_ApplyRootMotion: 0
306
+ m_LinearVelocityBlending: 0
307
+ m_StabilizeFeet: 0
308
+ m_AnimatePhysics: 0
309
+ m_WarningMessage:
310
+ m_HasTransformHierarchy: 1
311
+ m_AllowConstantClipSamplingOptimization: 1
312
+ m_KeepAnimatorStateOnDisable: 0
313
+ m_WriteDefaultValuesOnDisable: 0
149
314
  --- !u!1001 &2503704960741872955
150
315
  PrefabInstance:
151
316
  m_ObjectHideFlags: 0
@@ -154,6 +319,22 @@ PrefabInstance:
154
319
  serializedVersion: 3
155
320
  m_TransformParent: {fileID: 7363684731116559227}
156
321
  m_Modifications:
322
+ - target: {fileID: 596696483668891729, guid: bc5495c08b5534447938b4459527fa86, type: 3}
323
+ propertyPath: m_text
324
+ value: SWIPE TO PLAY
325
+ objectReference: {fileID: 0}
326
+ - target: {fileID: 596696483668891729, guid: bc5495c08b5534447938b4459527fa86, type: 3}
327
+ propertyPath: m_fontSize
328
+ value: 130
329
+ objectReference: {fileID: 0}
330
+ - target: {fileID: 596696483668891729, guid: bc5495c08b5534447938b4459527fa86, type: 3}
331
+ propertyPath: m_margin.x
332
+ value: 30
333
+ objectReference: {fileID: 0}
334
+ - target: {fileID: 596696483668891729, guid: bc5495c08b5534447938b4459527fa86, type: 3}
335
+ propertyPath: m_margin.z
336
+ value: 30
337
+ objectReference: {fileID: 0}
157
338
  - target: {fileID: 1334188656280660499, guid: bc5495c08b5534447938b4459527fa86, type: 3}
158
339
  propertyPath: m_Name
159
340
  value: Hyper BIG Text
@@ -168,7 +349,7 @@ PrefabInstance:
168
349
  objectReference: {fileID: 0}
169
350
  - target: {fileID: 2363815981888040350, guid: bc5495c08b5534447938b4459527fa86, type: 3}
170
351
  propertyPath: m_AnchorMax.x
171
- value: 0.5
352
+ value: 1
172
353
  objectReference: {fileID: 0}
173
354
  - target: {fileID: 2363815981888040350, guid: bc5495c08b5534447938b4459527fa86, type: 3}
174
355
  propertyPath: m_AnchorMax.y
@@ -176,7 +357,7 @@ PrefabInstance:
176
357
  objectReference: {fileID: 0}
177
358
  - target: {fileID: 2363815981888040350, guid: bc5495c08b5534447938b4459527fa86, type: 3}
178
359
  propertyPath: m_AnchorMin.x
179
- value: 0.5
360
+ value: 0
180
361
  objectReference: {fileID: 0}
181
362
  - target: {fileID: 2363815981888040350, guid: bc5495c08b5534447938b4459527fa86, type: 3}
182
363
  propertyPath: m_AnchorMin.y
@@ -184,23 +365,23 @@ PrefabInstance:
184
365
  objectReference: {fileID: 0}
185
366
  - target: {fileID: 2363815981888040350, guid: bc5495c08b5534447938b4459527fa86, type: 3}
186
367
  propertyPath: m_SizeDelta.x
187
- value: 978
368
+ value: 120
188
369
  objectReference: {fileID: 0}
189
370
  - target: {fileID: 2363815981888040350, guid: bc5495c08b5534447938b4459527fa86, type: 3}
190
371
  propertyPath: m_SizeDelta.y
191
- value: 153.52417
372
+ value: 153.5242
192
373
  objectReference: {fileID: 0}
193
374
  - target: {fileID: 2363815981888040350, guid: bc5495c08b5534447938b4459527fa86, type: 3}
194
375
  propertyPath: m_LocalScale.x
195
- value: 0.85
376
+ value: 0.86
196
377
  objectReference: {fileID: 0}
197
378
  - target: {fileID: 2363815981888040350, guid: bc5495c08b5534447938b4459527fa86, type: 3}
198
379
  propertyPath: m_LocalScale.y
199
- value: 0.85
380
+ value: 0.86
200
381
  objectReference: {fileID: 0}
201
382
  - target: {fileID: 2363815981888040350, guid: bc5495c08b5534447938b4459527fa86, type: 3}
202
383
  propertyPath: m_LocalScale.z
203
- value: 0.85
384
+ value: 0.86
204
385
  objectReference: {fileID: 0}
205
386
  - target: {fileID: 2363815981888040350, guid: bc5495c08b5534447938b4459527fa86, type: 3}
206
387
  propertyPath: m_LocalPosition.x
@@ -232,11 +413,11 @@ PrefabInstance:
232
413
  objectReference: {fileID: 0}
233
414
  - target: {fileID: 2363815981888040350, guid: bc5495c08b5534447938b4459527fa86, type: 3}
234
415
  propertyPath: m_AnchoredPosition.x
235
- value: 0
416
+ value: 0.007019043
236
417
  objectReference: {fileID: 0}
237
418
  - target: {fileID: 2363815981888040350, guid: bc5495c08b5534447938b4459527fa86, type: 3}
238
419
  propertyPath: m_AnchoredPosition.y
239
- value: 295.9
420
+ value: 255
240
421
  objectReference: {fileID: 0}
241
422
  - target: {fileID: 2363815981888040350, guid: bc5495c08b5534447938b4459527fa86, type: 3}
242
423
  propertyPath: m_LocalEulerAnglesHint.x
@@ -254,9 +435,20 @@ PrefabInstance:
254
435
  propertyPath: m_ConstrainProportionsScale
255
436
  value: 1
256
437
  objectReference: {fileID: 0}
438
+ - target: {fileID: 2901275374626862544, guid: bc5495c08b5534447938b4459527fa86, type: 3}
439
+ propertyPath: m_Enabled
440
+ value: 0
441
+ objectReference: {fileID: 0}
442
+ - target: {fileID: 3671170317595800344, guid: bc5495c08b5534447938b4459527fa86, type: 3}
443
+ propertyPath: m_BlocksRaycasts
444
+ value: 1
445
+ objectReference: {fileID: 0}
257
446
  m_RemovedComponents: []
258
447
  m_RemovedGameObjects: []
259
- m_AddedGameObjects: []
448
+ m_AddedGameObjects:
449
+ - targetCorrespondingSourceObject: {fileID: 2363815981888040350, guid: bc5495c08b5534447938b4459527fa86, type: 3}
450
+ insertIndex: -1
451
+ addedObject: {fileID: 3581598360722608337}
260
452
  m_AddedComponents: []
261
453
  m_SourcePrefab: {fileID: 100100000, guid: bc5495c08b5534447938b4459527fa86, type: 3}
262
454
  --- !u!224 &176489728365099173 stripped
@@ -264,3 +456,25 @@ RectTransform:
264
456
  m_CorrespondingSourceObject: {fileID: 2363815981888040350, guid: bc5495c08b5534447938b4459527fa86, type: 3}
265
457
  m_PrefabInstance: {fileID: 2503704960741872955}
266
458
  m_PrefabAsset: {fileID: 0}
459
+ --- !u!114 &791952873962332395 stripped
460
+ MonoBehaviour:
461
+ m_CorrespondingSourceObject: {fileID: 2901275374626862544, guid: bc5495c08b5534447938b4459527fa86, type: 3}
462
+ m_PrefabInstance: {fileID: 2503704960741872955}
463
+ m_PrefabAsset: {fileID: 0}
464
+ m_GameObject: {fileID: 0}
465
+ m_Enabled: 0
466
+ m_EditorHideFlags: 0
467
+ m_Script: {fileID: 11500000, guid: 14485171570995744b0b5f9a84d841d9, type: 3}
468
+ m_Name:
469
+ m_EditorClassIdentifier:
470
+ --- !u!114 &3096530613615201642 stripped
471
+ MonoBehaviour:
472
+ m_CorrespondingSourceObject: {fileID: 596696483668891729, guid: bc5495c08b5534447938b4459527fa86, type: 3}
473
+ m_PrefabInstance: {fileID: 2503704960741872955}
474
+ m_PrefabAsset: {fileID: 0}
475
+ m_GameObject: {fileID: 0}
476
+ m_Enabled: 1
477
+ m_EditorHideFlags: 0
478
+ m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3}
479
+ m_Name:
480
+ m_EditorClassIdentifier:
@@ -1124,7 +1124,7 @@ MonoBehaviour:
1124
1124
  m_Name:
1125
1125
  m_EditorClassIdentifier:
1126
1126
  m_Material: {fileID: 0}
1127
- m_Color: {r: 0.3019608, g: 0.23921569, b: 0.75686276, a: 1}
1127
+ m_Color: {r: 0.30980393, g: 0.23921569, b: 0.7647059, a: 1}
1128
1128
  m_RaycastTarget: 1
1129
1129
  m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
1130
1130
  m_Maskable: 1
@@ -688,7 +688,7 @@ MonoBehaviour:
688
688
  m_Name:
689
689
  m_EditorClassIdentifier:
690
690
  m_Material: {fileID: 0}
691
- m_Color: {r: 0.3019608, g: 0.23921569, b: 0.75686276, a: 1}
691
+ m_Color: {r: 0.30980393, g: 0.2392157, b: 0.76470596, a: 1}
692
692
  m_RaycastTarget: 1
693
693
  m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
694
694
  m_Maskable: 1
@@ -113,20 +113,36 @@ namespace Hyper.Shared
113
113
  /// Default layout: [Time Left] [Score Centered] [Pause Right]
114
114
  /// </summary>
115
115
  Default,
116
+
117
+ /// <summary>
118
+ /// Hearts on left: [Hearts Left] [Time & Score Centered] [Pause Right]
119
+ /// </summary>
120
+ HeartsLeft,
116
121
 
117
122
  /// <summary>
118
- /// Custom left-aligned layout.
123
+ /// Health bar on left: [Health Bar Left] [Time & Score Centered] [Pause Right]
119
124
  /// </summary>
120
- CustomLeft,
125
+ HealthBarLeft
126
+ }
121
127
 
128
+ /// <summary>
129
+ /// Start CTA (Call-to-Action) overlay type shown before gameplay begins.
130
+ /// </summary>
131
+ public enum StartCTA
132
+ {
122
133
  /// <summary>
123
- /// Hearts on left: [Hearts Left] [Time & Score Centered] [Pause Right]
134
+ /// Tap to Play overlay - player taps anywhere to start.
124
135
  /// </summary>
125
- HeartsLeft,
136
+ TapToPlay,
137
+
138
+ /// <summary>
139
+ /// Swipe to Play overlay - player swipes vertically (up or down) to start.
140
+ /// </summary>
141
+ SwipeToPlayVertical,
126
142
 
127
143
  /// <summary>
128
- /// Health bar on left: [Green Health Bar Left] [Time & Score Centered] [Pause Right]
144
+ /// Swipe to Play overlay - player swipes horizontally (left or right) to start.
129
145
  /// </summary>
130
- HealthBarGreenLeft
146
+ SwipeToPlayHorizontal
131
147
  }
132
148
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "app.hypergames.hypersdk",
3
- "version": "1.3.3",
3
+ "version": "1.4.0",
4
4
  "displayName": "HyperSDK",
5
5
  "description": "Official Unity SDK for Hyper: multiplayer battles, leaderboards, deterministic RNG, session management, tutorials, and WebGL optimizations for production-ready games.",
6
6
  "unity": "6000.0",