質問編集履歴

4

2017/02/12 07:06

投稿

fumiasi
fumiasi

スコア12

test CHANGED
@@ -1 +1 @@
1
- 一部の端末で正しく端末の傾きが取得出来ない
1
+ Nexus10で正しく端末の傾きが取得出来ない
test CHANGED
File without changes

3

2017/02/12 07:06

投稿

fumiasi
fumiasi

スコア12

test CHANGED
File without changes
test CHANGED
File without changes

2

2017/02/12 06:52

投稿

fumiasi
fumiasi

スコア12

test CHANGED
File without changes
test CHANGED
@@ -10,7 +10,7 @@
10
10
 
11
11
 
12
12
 
13
- ###上記サイトのソースに対しての上下左右の判定部分
13
+ ###上記サイトのソースに上下左右の判定を追加
14
14
 
15
15
  ```
16
16
 

1

2017/02/12 06:52

投稿

fumiasi
fumiasi

スコア12

test CHANGED
File without changes
test CHANGED
@@ -22,7 +22,7 @@
22
22
 
23
23
  }
24
24
 
25
- else if(tilt.y >= 170.0f && tilt.y <= 190.0f)
25
+ else if(mRollY >= 170.0f && mRollY <= 190.0f)
26
26
 
27
27
  {
28
28
 
@@ -30,7 +30,7 @@
30
30
 
31
31
  }
32
32
 
33
- else if(tilt.y >= 260.0f && tilt.y <= 280.0f)
33
+ else if(mRollY >= 260.0f && mRollY <= 280.0f)
34
34
 
35
35
  {
36
36
 
@@ -38,7 +38,7 @@
38
38
 
39
39
  }
40
40
 
41
- else if(tilt.y >= 80.0f && tilt.y <= 100.0f)
41
+ else if(mRollY >= 80.0f && mRollY <= 100.0f)
42
42
 
43
43
  {
44
44