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.
- 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
data/doc/api/DXOpal.html
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Module: DXOpal
|
8
8
|
|
9
|
-
— Documentation by YARD 0.9.
|
9
|
+
— Documentation by YARD 0.9.36
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -109,7 +109,7 @@
|
|
109
109
|
<dt id="VERSION-constant" class="">VERSION =
|
110
110
|
|
111
111
|
</dt>
|
112
|
-
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>1.
|
112
|
+
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>1.6.0</span><span class='tstring_end'>"</span></span></pre></dd>
|
113
113
|
|
114
114
|
</dl>
|
115
115
|
|
@@ -125,9 +125,9 @@
|
|
125
125
|
</div>
|
126
126
|
|
127
127
|
<div id="footer">
|
128
|
-
Generated on Tue
|
129
|
-
<a href="
|
130
|
-
0.9.
|
128
|
+
Generated on Tue Jul 9 22:42:33 2024 by
|
129
|
+
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
130
|
+
0.9.36 (ruby-3.2.2).
|
131
131
|
</div>
|
132
132
|
|
133
133
|
</div>
|
data/doc/api/Kernel.html
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Module: Kernel
|
8
8
|
|
9
|
-
— Documentation by YARD 0.9.
|
9
|
+
— Documentation by YARD 0.9.36
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -121,9 +121,9 @@
|
|
121
121
|
</div>
|
122
122
|
|
123
123
|
<div id="footer">
|
124
|
-
Generated on Tue
|
125
|
-
<a href="
|
126
|
-
0.9.
|
124
|
+
Generated on Tue Jul 9 22:42:34 2024 by
|
125
|
+
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
126
|
+
0.9.36 (ruby-3.2.2).
|
127
127
|
</div>
|
128
128
|
|
129
129
|
</div>
|
data/doc/api/_index.html
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
<meta charset="utf-8">
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6
6
|
<title>
|
7
|
-
Documentation by YARD 0.9.
|
7
|
+
Documentation by YARD 0.9.36
|
8
8
|
|
9
9
|
</title>
|
10
10
|
|
@@ -52,7 +52,7 @@
|
|
52
52
|
<div class="clear"></div>
|
53
53
|
</div>
|
54
54
|
|
55
|
-
<div id="content"><h1 class="noborder title">Documentation by YARD 0.9.
|
55
|
+
<div id="content"><h1 class="noborder title">Documentation by YARD 0.9.36</h1>
|
56
56
|
<div id="listing">
|
57
57
|
<h1 class="alphaindex">Alphabetic Index</h1>
|
58
58
|
|
@@ -356,9 +356,9 @@
|
|
356
356
|
</div>
|
357
357
|
|
358
358
|
<div id="footer">
|
359
|
-
Generated on Tue
|
360
|
-
<a href="
|
361
|
-
0.9.
|
359
|
+
Generated on Tue Jul 9 22:42:33 2024 by
|
360
|
+
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
361
|
+
0.9.36 (ruby-3.2.2).
|
362
362
|
</div>
|
363
363
|
|
364
364
|
</div>
|
data/doc/api/file.README.html
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
File: README
|
8
8
|
|
9
|
-
— Documentation by YARD 0.9.
|
9
|
+
— Documentation by YARD 0.9.36
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -57,37 +57,40 @@
|
|
57
57
|
<div class="clear"></div>
|
58
58
|
</div>
|
59
59
|
|
60
|
-
<div id="content"><div id='filecontents'>
|
61
|
-
<h1 id="label-DXOpal">DXOpal</h1>
|
60
|
+
<div id="content"><div id='filecontents'><h1 id="dxopal">DXOpal</h1>
|
62
61
|
|
63
|
-
<p>Game development framework for <a href="https://opalrb.com/">Opal</a>,
|
62
|
+
<p>Game development framework for <a href="https://opalrb.com/">Opal</a>,
|
63
|
+
has similar API to <a href="http://dxruby.osdn.jp/">DXRuby</a></p>
|
64
64
|
|
65
|
-
<h2 id="
|
65
|
+
<h2 id="how-to-use">How to use</h2>
|
66
66
|
|
67
|
-
<p>see <a href="https://yhara.github.io/dxopal">yhara.github.io/dxopal
|
67
|
+
<p>see <a href="https://yhara.github.io/dxopal/">https://yhara.github.io/dxopal/</a></p>
|
68
68
|
|
69
|
-
<h2 id="
|
69
|
+
<h2 id="development">Development</h2>
|
70
|
+
|
71
|
+
<p>see DEVELOPMENT.md</p>
|
72
|
+
|
73
|
+
<h2 id="license">License</h2>
|
70
74
|
|
71
75
|
<p>MIT (including images and sounds under examples/)</p>
|
72
76
|
|
73
|
-
<h2 id="
|
74
|
-
|
75
|
-
<
|
76
|
-
|
77
|
-
<
|
78
|
-
|
79
|
-
|
80
|
-
</li></ul>
|
77
|
+
<h2 id="acknowledgements">Acknowledgements</h2>
|
78
|
+
|
79
|
+
<ul>
|
80
|
+
<li><a href="https://opalrb.com/">Opal</a></li>
|
81
|
+
<li><a href="http://dxruby.osdn.jp/">DXRuby</a></li>
|
82
|
+
<li><a href="https://www.bfxr.net/">Bxfr</a> examples/apple_catcher/sounds/Explosion2.wav is made by this</li>
|
83
|
+
</ul>
|
81
84
|
|
82
|
-
<h2 id="
|
85
|
+
<h2 id="contact">Contact</h2>
|
83
86
|
|
84
|
-
<p><a href="https://github.com/yhara/dxopal">github.com/yhara/dxopal</a></p>
|
87
|
+
<p><a href="https://github.com/yhara/dxopal">https://github.com/yhara/dxopal</a></p>
|
85
88
|
</div></div>
|
86
89
|
|
87
90
|
<div id="footer">
|
88
|
-
Generated on Tue
|
89
|
-
<a href="
|
90
|
-
0.9.
|
91
|
+
Generated on Tue Jul 9 22:42:33 2024 by
|
92
|
+
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
93
|
+
0.9.36 (ruby-3.2.2).
|
91
94
|
</div>
|
92
95
|
|
93
96
|
</div>
|
data/doc/api/frames.html
CHANGED
@@ -2,13 +2,18 @@
|
|
2
2
|
<html>
|
3
3
|
<head>
|
4
4
|
<meta charset="utf-8">
|
5
|
-
<title>Documentation by YARD 0.9.
|
5
|
+
<title>Documentation by YARD 0.9.36</title>
|
6
6
|
</head>
|
7
7
|
<script type="text/javascript">
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
8
|
+
var mainUrl = 'index.html';
|
9
|
+
try {
|
10
|
+
var match = decodeURIComponent(window.location.hash).match(/^#!(.+)/);
|
11
|
+
var name = match ? match[1] : mainUrl;
|
12
|
+
var url = new URL(name, location.href);
|
13
|
+
window.top.location.replace(url.origin === location.origin ? name : mainUrl);
|
14
|
+
} catch (e) {
|
15
|
+
window.top.location.replace(mainUrl);
|
16
|
+
}
|
12
17
|
</script>
|
13
18
|
<noscript>
|
14
19
|
<h1>Oops!</h1>
|
data/doc/api/index.html
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
File: README
|
8
8
|
|
9
|
-
— Documentation by YARD 0.9.
|
9
|
+
— Documentation by YARD 0.9.36
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -57,37 +57,40 @@
|
|
57
57
|
<div class="clear"></div>
|
58
58
|
</div>
|
59
59
|
|
60
|
-
<div id="content"><div id='filecontents'>
|
61
|
-
<h1 id="label-DXOpal">DXOpal</h1>
|
60
|
+
<div id="content"><div id='filecontents'><h1 id="dxopal">DXOpal</h1>
|
62
61
|
|
63
|
-
<p>Game development framework for <a href="https://opalrb.com/">Opal</a>,
|
62
|
+
<p>Game development framework for <a href="https://opalrb.com/">Opal</a>,
|
63
|
+
has similar API to <a href="http://dxruby.osdn.jp/">DXRuby</a></p>
|
64
64
|
|
65
|
-
<h2 id="
|
65
|
+
<h2 id="how-to-use">How to use</h2>
|
66
66
|
|
67
|
-
<p>see <a href="https://yhara.github.io/dxopal">yhara.github.io/dxopal
|
67
|
+
<p>see <a href="https://yhara.github.io/dxopal/">https://yhara.github.io/dxopal/</a></p>
|
68
68
|
|
69
|
-
<h2 id="
|
69
|
+
<h2 id="development">Development</h2>
|
70
|
+
|
71
|
+
<p>see DEVELOPMENT.md</p>
|
72
|
+
|
73
|
+
<h2 id="license">License</h2>
|
70
74
|
|
71
75
|
<p>MIT (including images and sounds under examples/)</p>
|
72
76
|
|
73
|
-
<h2 id="
|
74
|
-
|
75
|
-
<
|
76
|
-
|
77
|
-
<
|
78
|
-
|
79
|
-
|
80
|
-
</li></ul>
|
77
|
+
<h2 id="acknowledgements">Acknowledgements</h2>
|
78
|
+
|
79
|
+
<ul>
|
80
|
+
<li><a href="https://opalrb.com/">Opal</a></li>
|
81
|
+
<li><a href="http://dxruby.osdn.jp/">DXRuby</a></li>
|
82
|
+
<li><a href="https://www.bfxr.net/">Bxfr</a> examples/apple_catcher/sounds/Explosion2.wav is made by this</li>
|
83
|
+
</ul>
|
81
84
|
|
82
|
-
<h2 id="
|
85
|
+
<h2 id="contact">Contact</h2>
|
83
86
|
|
84
|
-
<p><a href="https://github.com/yhara/dxopal">github.com/yhara/dxopal</a></p>
|
87
|
+
<p><a href="https://github.com/yhara/dxopal">https://github.com/yhara/dxopal</a></p>
|
85
88
|
</div></div>
|
86
89
|
|
87
90
|
<div id="footer">
|
88
|
-
Generated on Tue
|
89
|
-
<a href="
|
90
|
-
0.9.
|
91
|
+
Generated on Tue Jul 9 22:42:33 2024 by
|
92
|
+
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
93
|
+
0.9.36 (ruby-3.2.2).
|
91
94
|
</div>
|
92
95
|
|
93
96
|
</div>
|