dxopal 1.5.2 → 1.6.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 (48) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +7 -0
  3. data/DEVELOPMENT.md +4 -4
  4. data/Gemfile +0 -1
  5. data/Gemfile.lock +22 -24
  6. data/README.md +4 -0
  7. data/Rakefile +6 -1
  8. data/build/dxopal.js +48950 -38847
  9. data/build/dxopal.min.js +1 -1
  10. data/config.ru +1 -1
  11. data/doc/api/DXOpal/Constants/Colors.html +4 -4
  12. data/doc/api/DXOpal/Constants.html +4 -4
  13. data/doc/api/DXOpal/Font.html +4 -4
  14. data/doc/api/DXOpal/Image.html +19 -19
  15. data/doc/api/DXOpal/Input/KeyCodes.html +6 -6
  16. data/doc/api/DXOpal/Input/MouseCodes.html +4 -4
  17. data/doc/api/DXOpal/Input/Touch.html +47 -47
  18. data/doc/api/DXOpal/Input.html +87 -81
  19. data/doc/api/DXOpal/RemoteResource.html +164 -33
  20. data/doc/api/DXOpal/Sound.html +22 -16
  21. data/doc/api/DXOpal/SoundEffect/WaveTypes.html +4 -4
  22. data/doc/api/DXOpal/SoundEffect.html +6 -6
  23. data/doc/api/DXOpal/Sprite/CollisionArea/Base.html +5 -5
  24. data/doc/api/DXOpal/Sprite/CollisionArea/Circle.html +4 -4
  25. data/doc/api/DXOpal/Sprite/CollisionArea/Point.html +4 -4
  26. data/doc/api/DXOpal/Sprite/CollisionArea/Rect.html +4 -4
  27. data/doc/api/DXOpal/Sprite/CollisionArea/Triangle.html +4 -4
  28. data/doc/api/DXOpal/Sprite/CollisionArea.html +4 -4
  29. data/doc/api/DXOpal/Sprite/CollisionCheck/ClassMethods.html +7 -7
  30. data/doc/api/DXOpal/Sprite/CollisionCheck.html +8 -8
  31. data/doc/api/DXOpal/Sprite/Physics.html +4 -4
  32. data/doc/api/DXOpal/Sprite.html +10 -10
  33. data/doc/api/DXOpal/Window.html +120 -114
  34. data/doc/api/DXOpal.html +5 -5
  35. data/doc/api/Kernel.html +4 -4
  36. data/doc/api/_index.html +5 -5
  37. data/doc/api/file.README.html +23 -20
  38. data/doc/api/frames.html +10 -5
  39. data/doc/api/index.html +23 -20
  40. data/doc/api/method_list.html +214 -206
  41. data/doc/api/top-level-namespace.html +4 -4
  42. data/lib/dxopal/input.rb +5 -2
  43. data/lib/dxopal/remote_resource.rb +33 -1
  44. data/lib/dxopal/sound.rb +5 -2
  45. data/lib/dxopal/version.rb +1 -1
  46. data/lib/dxopal/window.rb +6 -3
  47. data/lib/dxopal.rb +1 -0
  48. metadata +3 -3
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Module: DXOpal::Sprite::CollisionArea
8
8
 
9
- &mdash; Documentation by YARD 0.9.26
9
+ &mdash; Documentation by YARD 0.9.36
10
10
 
11
11
  </title>
12
12
 
@@ -116,9 +116,9 @@
116
116
  </div>
117
117
 
118
118
  <div id="footer">
119
- Generated on Tue Dec 29 11:37:23 2020 by
120
- <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
121
- 0.9.26 (ruby-2.7.0).
119
+ Generated on Tue Jul 9 22:42:34 2024 by
120
+ <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
121
+ 0.9.36 (ruby-3.2.2).
122
122
  </div>
123
123
 
124
124
  </div>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Module: DXOpal::Sprite::CollisionCheck::ClassMethods
8
8
 
9
- &mdash; Documentation by YARD 0.9.26
9
+ &mdash; Documentation by YARD 0.9.36
10
10
 
11
11
  </title>
12
12
 
@@ -161,12 +161,12 @@
161
161
 
162
162
  <p>This method has two modes.</p>
163
163
  <ul><li>
164
- <p>If `offences` and `defences` are the same, collision check will be performed on each pair from the array. Method `hit` is called on the each sprite, with the other sprite as an argument.</p>
164
+ <p>If offences` and `defences` are the same, collision check will be performed on each pair from the array. Method `hit` is called on the each sprite, with the other sprite as an argument.</p>
165
165
  </li><li>
166
- <p>Otherwise, collision check will be performed on each pair of offence sprite and defence sprite. In this case, method `shot` is called on the offence sprite and method `hit` is called on the defence sprite, with the other sprite as an argument.</p>
166
+ <p>Otherwise, collision check will be performed on each pair of offence sprite and defence sprite. In this case, method shot` is called on the offence sprite and method `hit` is called on the defence sprite, with the other sprite as an argument.</p>
167
167
  </li></ul>
168
168
 
169
- <p>TODO: return true if any collition is detected TODO: skip collision checking if shot/hit returned `:discard`</p>
169
+ <p>TODO: return true if any collition is detected TODO: skip collision checking if shot/hit returned ‘:discard`</p>
170
170
 
171
171
 
172
172
  </div>
@@ -258,9 +258,9 @@
258
258
  </div>
259
259
 
260
260
  <div id="footer">
261
- Generated on Tue Dec 29 11:37:23 2020 by
262
- <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
263
- 0.9.26 (ruby-2.7.0).
261
+ Generated on Tue Jul 9 22:42:34 2024 by
262
+ <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
263
+ 0.9.36 (ruby-3.2.2).
264
264
  </div>
265
265
 
266
266
  </div>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Module: DXOpal::Sprite::CollisionCheck
8
8
 
9
- &mdash; Documentation by YARD 0.9.26
9
+ &mdash; Documentation by YARD 0.9.36
10
10
 
11
11
  </title>
12
12
 
@@ -305,7 +305,7 @@
305
305
 
306
306
 
307
307
  <span class="summary_desc"><div class='inline'>
308
- <p>Return true when this sprite collides with `sprite`.</p>
308
+ <p>Return true when this sprite collides with sprite`.</p>
309
309
  </div></span>
310
310
 
311
311
  </li>
@@ -399,7 +399,7 @@
399
399
 
400
400
 
401
401
  <span class="summary_desc"><div class='inline'>
402
- <p>Default callback methods of `Sprite.check`.</p>
402
+ <p>Default callback methods of Sprite.check`.</p>
403
403
  </div></span>
404
404
 
405
405
  </li>
@@ -698,7 +698,7 @@
698
698
  </h3><div class="docstring">
699
699
  <div class="discussion">
700
700
 
701
- <p>Return true when this sprite collides with `sprite`</p>
701
+ <p>Return true when this sprite collides with sprite`</p>
702
702
 
703
703
 
704
704
  </div>
@@ -886,7 +886,7 @@
886
886
  </h3><div class="docstring">
887
887
  <div class="discussion">
888
888
 
889
- <p>Default callback methods of `Sprite.check`</p>
889
+ <p>Default callback methods of Sprite.check`</p>
890
890
 
891
891
 
892
892
  </div>
@@ -916,9 +916,9 @@
916
916
  </div>
917
917
 
918
918
  <div id="footer">
919
- Generated on Tue Dec 29 11:37:23 2020 by
920
- <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
921
- 0.9.26 (ruby-2.7.0).
919
+ Generated on Tue Jul 9 22:42:34 2024 by
920
+ <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
921
+ 0.9.36 (ruby-3.2.2).
922
922
  </div>
923
923
 
924
924
  </div>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Module: DXOpal::Sprite::Physics
8
8
 
9
- &mdash; Documentation by YARD 0.9.26
9
+ &mdash; Documentation by YARD 0.9.36
10
10
 
11
11
  </title>
12
12
 
@@ -416,9 +416,9 @@
416
416
  </div>
417
417
 
418
418
  <div id="footer">
419
- Generated on Tue Dec 29 11:37:23 2020 by
420
- <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
421
- 0.9.26 (ruby-2.7.0).
419
+ Generated on Tue Jul 9 22:42:34 2024 by
420
+ <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
421
+ 0.9.36 (ruby-3.2.2).
422
422
  </div>
423
423
 
424
424
  </div>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Class: DXOpal::Sprite
8
8
 
9
- &mdash; Documentation by YARD 0.9.26
9
+ &mdash; Documentation by YARD 0.9.36
10
10
 
11
11
  </title>
12
12
 
@@ -230,7 +230,7 @@
230
230
 
231
231
 
232
232
  <span class="summary_desc"><div class='inline'>
233
- <p>Set rotation center (default: center of `image`).</p>
233
+ <p>Set rotation center (default: center of image`).</p>
234
234
  </div></span>
235
235
 
236
236
  </li>
@@ -257,7 +257,7 @@
257
257
 
258
258
 
259
259
  <span class="summary_desc"><div class='inline'>
260
- <p>Set rotation center (default: center of `image`).</p>
260
+ <p>Set rotation center (default: center of image`).</p>
261
261
  </div></span>
262
262
 
263
263
  </li>
@@ -608,7 +608,7 @@
608
608
 
609
609
 
610
610
  <span class="summary_desc"><div class='inline'>
611
- <p>Return true if `physical_body=` is ever called.</p>
611
+ <p>Return true if physical_body=` is ever called.</p>
612
612
  </div></span>
613
613
 
614
614
  </li>
@@ -1059,7 +1059,7 @@
1059
1059
  </h3><div class="docstring">
1060
1060
  <div class="discussion">
1061
1061
 
1062
- <p>Set rotation center (default: center of `image`)</p>
1062
+ <p>Set rotation center (default: center of image`)</p>
1063
1063
 
1064
1064
 
1065
1065
  </div>
@@ -1102,7 +1102,7 @@
1102
1102
  </h3><div class="docstring">
1103
1103
  <div class="discussion">
1104
1104
 
1105
- <p>Set rotation center (default: center of `image`)</p>
1105
+ <p>Set rotation center (default: center of image`)</p>
1106
1106
 
1107
1107
 
1108
1108
  </div>
@@ -1655,7 +1655,7 @@
1655
1655
  </h3><div class="docstring">
1656
1656
  <div class="discussion">
1657
1657
 
1658
- <p>Return true if `physical_body=` is ever called</p>
1658
+ <p>Return true if physical_body=` is ever called</p>
1659
1659
 
1660
1660
 
1661
1661
  </div>
@@ -2030,9 +2030,9 @@
2030
2030
  </div>
2031
2031
 
2032
2032
  <div id="footer">
2033
- Generated on Tue Dec 29 11:37:25 2020 by
2034
- <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
2035
- 0.9.26 (ruby-2.7.0).
2033
+ Generated on Tue Jul 9 22:42:34 2024 by
2034
+ <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
2035
+ 0.9.36 (ruby-3.2.2).
2036
2036
  </div>
2037
2037
 
2038
2038
  </div>