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
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 35aa09bed1a5200defa559e412f39edd8b91c072f1d439fec01026d0ff586e4a
|
4
|
+
data.tar.gz: 3f07dfc87316d529a07d9e0dda3cba7cb6fad2495d7794160497f77d1249d076
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f232b0edc56eb64710722443a8092916ab658202ff625cdcbfb365f023de0b984b689570c3f9ab45c679f0b5ffc7d837f09e06fd8c860ac78d79df5231811f2c
|
7
|
+
data.tar.gz: 72bdc8e96b9a8fa420fdc1a2b7da8cd114c32fd4e7bbb241b94efeb2a0832a66abe22d23cf7e96b092ffda56ababdc95ed23576463b0f84a0f79f688ed9f82c6
|
data/CHANGELOG.md
CHANGED
data/DEVELOPMENT.md
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
## Prerequisites
|
4
4
|
|
5
|
-
- Ruby (tested with 2.
|
5
|
+
- Ruby (tested with 3.2.2)
|
6
6
|
- Node.js (to minify .js)
|
7
7
|
|
8
8
|
## Setup
|
@@ -11,8 +11,8 @@
|
|
11
11
|
$ git clone https://github.com/yhara/dxopal
|
12
12
|
$ cd dxopal
|
13
13
|
$ bundle install
|
14
|
-
$ npm install
|
15
|
-
$
|
14
|
+
$ npm install terser -g
|
15
|
+
$ rake server
|
16
16
|
$ open http://localhost:9292/
|
17
17
|
```
|
18
18
|
|
@@ -28,7 +28,7 @@ $ git clone https://github.com/yhara/dxopal-starter-kit
|
|
28
28
|
$ rake build
|
29
29
|
$ rake build_min # Build and minify
|
30
30
|
|
31
|
-
(If some error is printed by build_min, make sure you have installed
|
31
|
+
(If some error is printed by build_min, make sure you have installed terser)
|
32
32
|
|
33
33
|
## Documents
|
34
34
|
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,44 +1,42 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
dxopal (1.
|
4
|
+
dxopal (1.6.0)
|
5
5
|
rack (~> 2.0)
|
6
6
|
thor (~> 0.20)
|
7
7
|
|
8
8
|
GEM
|
9
9
|
remote: https://rubygems.org/
|
10
10
|
specs:
|
11
|
-
ast (2.4.
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
concurrent-ruby (1.1.7)
|
16
|
-
nio4r (2.5.4)
|
17
|
-
opal (1.0.5)
|
11
|
+
ast (2.4.2)
|
12
|
+
concurrent-ruby (1.3.3)
|
13
|
+
nio4r (2.7.3)
|
14
|
+
opal (1.8.2)
|
18
15
|
ast (>= 2.3.0)
|
19
|
-
parser (~> 2
|
20
|
-
opal-sprockets (
|
21
|
-
opal (
|
22
|
-
sprockets (~>
|
16
|
+
parser (~> 3.0, >= 3.0.3.2)
|
17
|
+
opal-sprockets (1.0.3)
|
18
|
+
opal (>= 1.0, < 2.0)
|
19
|
+
sprockets (~> 4.0)
|
23
20
|
tilt (>= 1.4)
|
24
|
-
parser (
|
25
|
-
ast (~> 2.4.
|
26
|
-
|
21
|
+
parser (3.3.3.0)
|
22
|
+
ast (~> 2.4.1)
|
23
|
+
racc
|
24
|
+
puma (6.4.2)
|
27
25
|
nio4r (~> 2.0)
|
28
|
-
|
29
|
-
|
30
|
-
|
26
|
+
racc (1.8.0)
|
27
|
+
rack (2.2.9)
|
28
|
+
rake (13.2.1)
|
29
|
+
sprockets (4.2.1)
|
31
30
|
concurrent-ruby (~> 1.0)
|
32
|
-
rack (
|
31
|
+
rack (>= 2.2.4, < 4)
|
33
32
|
thor (0.20.3)
|
34
|
-
tilt (2.0
|
35
|
-
yard (0.9.
|
33
|
+
tilt (2.3.0)
|
34
|
+
yard (0.9.36)
|
36
35
|
|
37
36
|
PLATFORMS
|
38
|
-
|
37
|
+
arm64-darwin-21
|
39
38
|
|
40
39
|
DEPENDENCIES
|
41
|
-
c_lexer
|
42
40
|
dxopal!
|
43
41
|
opal
|
44
42
|
opal-sprockets
|
@@ -47,4 +45,4 @@ DEPENDENCIES
|
|
47
45
|
yard
|
48
46
|
|
49
47
|
BUNDLED WITH
|
50
|
-
2.
|
48
|
+
2.4.13
|
data/README.md
CHANGED
data/Rakefile
CHANGED
@@ -8,7 +8,7 @@ desc "Build dxopal.js and dxopal.min.js"
|
|
8
8
|
task :build_min => "build/dxopal.min.js"
|
9
9
|
|
10
10
|
file "build/dxopal.min.js" => "build/dxopal.js" do |t|
|
11
|
-
sh "
|
11
|
+
sh "terser #{t.source} -o #{t.name}"
|
12
12
|
end
|
13
13
|
|
14
14
|
file "build/dxopal.js" => Dir["lib/**/*.rb"] do |t|
|
@@ -24,6 +24,11 @@ task :api do
|
|
24
24
|
sh "yard doc -o doc/api/ lib/**/*.rb lib/**/**/*.rb"
|
25
25
|
end
|
26
26
|
|
27
|
+
desc "Run server"
|
28
|
+
task :server do
|
29
|
+
sh "bundle exec rackup -p 9292"
|
30
|
+
end
|
31
|
+
|
27
32
|
desc "git ci, git tag and git push"
|
28
33
|
task :release do
|
29
34
|
sh "git diff HEAD"
|