dxopal 1.5.2 → 1.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -0
- data/DEVELOPMENT.md +4 -4
- data/Gemfile +0 -1
- data/Gemfile.lock +22 -24
- data/README.md +4 -0
- data/Rakefile +6 -1
- data/build/dxopal.js +48950 -38847
- data/build/dxopal.min.js +1 -1
- data/config.ru +1 -1
- data/doc/api/DXOpal/Constants/Colors.html +4 -4
- data/doc/api/DXOpal/Constants.html +4 -4
- data/doc/api/DXOpal/Font.html +4 -4
- data/doc/api/DXOpal/Image.html +19 -19
- data/doc/api/DXOpal/Input/KeyCodes.html +6 -6
- data/doc/api/DXOpal/Input/MouseCodes.html +4 -4
- data/doc/api/DXOpal/Input/Touch.html +47 -47
- data/doc/api/DXOpal/Input.html +87 -81
- data/doc/api/DXOpal/RemoteResource.html +164 -33
- data/doc/api/DXOpal/Sound.html +22 -16
- data/doc/api/DXOpal/SoundEffect/WaveTypes.html +4 -4
- data/doc/api/DXOpal/SoundEffect.html +6 -6
- data/doc/api/DXOpal/Sprite/CollisionArea/Base.html +5 -5
- data/doc/api/DXOpal/Sprite/CollisionArea/Circle.html +4 -4
- data/doc/api/DXOpal/Sprite/CollisionArea/Point.html +4 -4
- data/doc/api/DXOpal/Sprite/CollisionArea/Rect.html +4 -4
- data/doc/api/DXOpal/Sprite/CollisionArea/Triangle.html +4 -4
- data/doc/api/DXOpal/Sprite/CollisionArea.html +4 -4
- data/doc/api/DXOpal/Sprite/CollisionCheck/ClassMethods.html +7 -7
- data/doc/api/DXOpal/Sprite/CollisionCheck.html +8 -8
- data/doc/api/DXOpal/Sprite/Physics.html +4 -4
- data/doc/api/DXOpal/Sprite.html +10 -10
- data/doc/api/DXOpal/Window.html +120 -114
- data/doc/api/DXOpal.html +5 -5
- data/doc/api/Kernel.html +4 -4
- data/doc/api/_index.html +5 -5
- data/doc/api/file.README.html +23 -20
- data/doc/api/frames.html +10 -5
- data/doc/api/index.html +23 -20
- data/doc/api/method_list.html +214 -206
- data/doc/api/top-level-namespace.html +4 -4
- data/lib/dxopal/input.rb +5 -2
- data/lib/dxopal/remote_resource.rb +33 -1
- data/lib/dxopal/sound.rb +5 -2
- data/lib/dxopal/version.rb +1 -1
- data/lib/dxopal/window.rb +6 -3
- data/lib/dxopal.rb +1 -0
- metadata +3 -3
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Module: DXOpal::Sprite::CollisionArea
|
8
8
|
|
9
|
-
— Documentation by YARD 0.9.
|
9
|
+
— 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
|
120
|
-
<a href="
|
121
|
-
0.9.
|
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
|
-
— Documentation by YARD 0.9.
|
9
|
+
— 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
|
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
|
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
|
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
|
262
|
-
<a href="
|
263
|
-
0.9.
|
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
|
-
— Documentation by YARD 0.9.
|
9
|
+
— 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
|
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
|
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
|
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
|
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
|
920
|
-
<a href="
|
921
|
-
0.9.
|
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
|
-
— Documentation by YARD 0.9.
|
9
|
+
— 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
|
420
|
-
<a href="
|
421
|
-
0.9.
|
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>
|
data/doc/api/DXOpal/Sprite.html
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Class: DXOpal::Sprite
|
8
8
|
|
9
|
-
— Documentation by YARD 0.9.
|
9
|
+
— 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
|
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
|
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
|
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
|
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
|
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
|
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
|
2034
|
-
<a href="
|
2035
|
-
0.9.
|
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>
|