app.hypergames.hypersdk 1.5.0 → 1.5.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 CHANGED
@@ -1,3 +1,10 @@
1
+ ## [1.5.1](https://github.com/mvmhyper/hyper-sdk/compare/v1.5.0...v1.5.1) (2026-02-04)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * polish swipe Start CTA animation and hand orientation ([f56410c](https://github.com/mvmhyper/hyper-sdk/commit/f56410cdf19061f53b82c54c47bb8bdce22277cf))
7
+
1
8
  # [1.5.0](https://github.com/mvmhyper/hyper-sdk/compare/v1.4.22...v1.5.0) (2026-02-04)
2
9
 
3
10
 
package/HyperLoader.unity CHANGED
@@ -304,7 +304,7 @@ RectTransform:
304
304
  m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
305
305
  m_AnchorMin: {x: 0, y: 1}
306
306
  m_AnchorMax: {x: 0, y: 1}
307
- m_AnchoredPosition: {x: 489.27765, y: -280.1698}
307
+ m_AnchoredPosition: {x: 489.2762, y: -280.1698}
308
308
  m_SizeDelta: {x: 0, y: 239.347}
309
309
  m_Pivot: {x: 0.5, y: 0.5}
310
310
  --- !u!114 &751153944
@@ -1092,7 +1092,7 @@ RectTransform:
1092
1092
  m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
1093
1093
  m_AnchorMin: {x: 0, y: 1}
1094
1094
  m_AnchorMax: {x: 0, y: 1}
1095
- m_AnchoredPosition: {x: 489.27765, y: -133.2274}
1095
+ m_AnchoredPosition: {x: 489.2762, y: -133.2274}
1096
1096
  m_SizeDelta: {x: 875, y: 54.5378}
1097
1097
  m_Pivot: {x: 0.5, y: 0.5}
1098
1098
  --- !u!1 &2874543288936963705
@@ -17,6 +17,7 @@ namespace Hyper.Internal
17
17
  [SerializeField] private TextMeshProUGUI startCtaLabel;
18
18
  [SerializeField] private BlinkingText blinkingText;
19
19
  [SerializeField] private RectTransform swipeGif;
20
+ [SerializeField] private RectTransform handSpriteInGif;
20
21
  private EventManager _eventManager;
21
22
  private DataManager _dataManager;
22
23
  private GameManager _gameManager;
@@ -155,7 +156,7 @@ namespace Hyper.Internal
155
156
  {
156
157
  currentPosition = Input.mousePosition;
157
158
  Vector2 delta = currentPosition - _swipeStartPosition;
158
-
159
+
159
160
  if (IsSwipeDirectionValid(delta))
160
161
  {
161
162
  swipeDetected = true;
@@ -171,7 +172,7 @@ namespace Hyper.Internal
171
172
  if (Input.touchCount > 0)
172
173
  {
173
174
  Touch touch = Input.GetTouch(0);
174
-
175
+
175
176
  if (touch.phase == TouchPhase.Began)
176
177
  {
177
178
  _swipeStartPosition = touch.position;
@@ -181,7 +182,7 @@ namespace Hyper.Internal
181
182
  {
182
183
  currentPosition = touch.position;
183
184
  Vector2 delta = currentPosition - _swipeStartPosition;
184
-
185
+
185
186
  if (IsSwipeDirectionValid(delta))
186
187
  {
187
188
  swipeDetected = true;
@@ -308,10 +309,14 @@ namespace Hyper.Internal
308
309
  case SwipeDirection.Down:
309
310
  rotationZ = -90f;
310
311
  anchoredPosition = verticalPosition;
312
+ handSpriteInGif.anchoredPosition = new Vector2(0, 40);
313
+ handSpriteInGif.transform.rotation = Quaternion.Euler(-180, 180, 0);
311
314
  break;
312
315
  case SwipeDirection.Left:
313
316
  rotationZ = 180f;
314
317
  anchoredPosition = horizontalPosition;
318
+ handSpriteInGif.anchoredPosition = new Vector2(0, 40);
319
+ handSpriteInGif.transform.rotation = Quaternion.Euler(0, 0, 180);
315
320
  break;
316
321
  case SwipeDirection.Right:
317
322
  default:
@@ -23,7 +23,7 @@ AnimationClip:
23
23
  m_Curve:
24
24
  - serializedVersion: 3
25
25
  time: 0
26
- value: -110
26
+ value: -80
27
27
  inSlope: 0
28
28
  outSlope: 0
29
29
  tangentMode: 136
@@ -31,8 +31,8 @@ AnimationClip:
31
31
  inWeight: 0.33333334
32
32
  outWeight: 0.33333334
33
33
  - serializedVersion: 3
34
- time: 0.5714286
35
- value: 100
34
+ time: 0.42857143
35
+ value: 80
36
36
  inSlope: 0
37
37
  outSlope: 0
38
38
  tangentMode: 136
@@ -40,8 +40,8 @@ AnimationClip:
40
40
  inWeight: 0.33333334
41
41
  outWeight: 0.33333334
42
42
  - serializedVersion: 3
43
- time: 0.85714287
44
- value: 100
43
+ time: 0.71428573
44
+ value: 80
45
45
  inSlope: 0
46
46
  outSlope: 0
47
47
  tangentMode: 136
@@ -49,8 +49,8 @@ AnimationClip:
49
49
  inWeight: 0.33333334
50
50
  outWeight: 0.33333334
51
51
  - serializedVersion: 3
52
- time: 1.4285715
53
- value: -110
52
+ time: 1.2857143
53
+ value: -80
54
54
  inSlope: 0
55
55
  outSlope: 0
56
56
  tangentMode: 136
@@ -88,7 +88,7 @@ AnimationClip:
88
88
  m_AdditiveReferencePoseClip: {fileID: 0}
89
89
  m_AdditiveReferencePoseTime: 0
90
90
  m_StartTime: 0
91
- m_StopTime: 1.4285715
91
+ m_StopTime: 1.2857143
92
92
  m_OrientationOffsetY: 0
93
93
  m_Level: 0
94
94
  m_CycleOffset: 0
@@ -110,7 +110,7 @@ AnimationClip:
110
110
  m_Curve:
111
111
  - serializedVersion: 3
112
112
  time: 0
113
- value: -110
113
+ value: -80
114
114
  inSlope: 0
115
115
  outSlope: 0
116
116
  tangentMode: 136
@@ -118,8 +118,8 @@ AnimationClip:
118
118
  inWeight: 0.33333334
119
119
  outWeight: 0.33333334
120
120
  - serializedVersion: 3
121
- time: 0.5714286
122
- value: 100
121
+ time: 0.42857143
122
+ value: 80
123
123
  inSlope: 0
124
124
  outSlope: 0
125
125
  tangentMode: 136
@@ -127,8 +127,8 @@ AnimationClip:
127
127
  inWeight: 0.33333334
128
128
  outWeight: 0.33333334
129
129
  - serializedVersion: 3
130
- time: 0.85714287
131
- value: 100
130
+ time: 0.71428573
131
+ value: 80
132
132
  inSlope: 0
133
133
  outSlope: 0
134
134
  tangentMode: 136
@@ -136,8 +136,8 @@ AnimationClip:
136
136
  inWeight: 0.33333334
137
137
  outWeight: 0.33333334
138
138
  - serializedVersion: 3
139
- time: 1.4285715
140
- value: -110
139
+ time: 1.2857143
140
+ value: -80
141
141
  inSlope: 0
142
142
  outSlope: 0
143
143
  tangentMode: 136
@@ -138,6 +138,7 @@ MonoBehaviour:
138
138
  startCtaLabel: {fileID: 3096530613615201642}
139
139
  blinkingText: {fileID: 791952873962332395}
140
140
  swipeGif: {fileID: 3581598360722608337}
141
+ handSpriteInGif: {fileID: 312166748021578777}
141
142
  --- !u!1 &5738334876670918407
142
143
  GameObject:
143
144
  m_ObjectHideFlags: 0
@@ -248,7 +249,7 @@ RectTransform:
248
249
  m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
249
250
  m_AnchorMin: {x: 0.5, y: 0.5}
250
251
  m_AnchorMax: {x: 0.5, y: 0.5}
251
- m_AnchoredPosition: {x: -103, y: -40}
252
+ m_AnchoredPosition: {x: -90, y: -40}
252
253
  m_SizeDelta: {x: 84.6344, y: 106.4023}
253
254
  m_Pivot: {x: 0.5, y: 0.5}
254
255
  --- !u!222 &7348338096052556359
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "app.hypergames.hypersdk",
3
- "version": "1.5.0",
3
+ "version": "1.5.1",
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",