opal-phaser 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/opal/phaser/core.rb +1 -0
- data/lib/opal/phaser/core/game.rb +1 -1
- data/lib/opal/phaser/core/physics.rb +9 -1
- data/lib/opal/phaser/core/world.rb +11 -0
- data/lib/opal/phaser/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 078132e5c5155a244152bb228be5b54d461d4957
|
4
|
+
data.tar.gz: 485e278e98bac952f02e278725c435b755402c26
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ef8532dd0e4dcc2da01a4d84c5c282a234c18a626eee3e02327098565cb7b5f314f67090fd57019e99baa172a0613f48d0e44e087ab93abdac745e3fe9231852
|
7
|
+
data.tar.gz: b28b8d4ee2e3e50c2066a8eb71c3ab5f4d79c10f899320bbc47177010bf756b6b0760d48db8733d04f2df0647f6e33eb03a25bec17af260fa2bcc773c6765898
|
data/lib/opal/phaser/core.rb
CHANGED
@@ -3,6 +3,14 @@ module Phaser
|
|
3
3
|
include Native
|
4
4
|
|
5
5
|
class Arcade
|
6
|
+
include Native
|
7
|
+
|
8
|
+
alias_native :enable
|
9
|
+
alias_native :collide
|
10
|
+
alias_native :overlap
|
11
|
+
alias_native :distance_to_pointer, :distanceToPointer
|
12
|
+
alias_native :move_to_pointer, :moveToPointer
|
13
|
+
|
6
14
|
class Body
|
7
15
|
end
|
8
16
|
end
|
@@ -13,7 +21,7 @@ module Phaser
|
|
13
21
|
BOX2D = `Phaser.Physics.BOX2D`
|
14
22
|
|
15
23
|
alias_native :start_system, :startSystem
|
16
|
-
alias_native :arcade
|
24
|
+
alias_native :arcade, :arcade, as: Arcade
|
17
25
|
|
18
26
|
end
|
19
27
|
end
|
data/lib/opal/phaser/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: opal-phaser
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- George Plymale
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-03-
|
11
|
+
date: 2015-03-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: opal
|
@@ -93,6 +93,7 @@ files:
|
|
93
93
|
- lib/opal/phaser/core/state.rb
|
94
94
|
- lib/opal/phaser/core/text.rb
|
95
95
|
- lib/opal/phaser/core/tween.rb
|
96
|
+
- lib/opal/phaser/core/world.rb
|
96
97
|
- lib/opal/phaser/version.rb
|
97
98
|
- opal-phaser.gemspec
|
98
99
|
homepage: http://github.com/orbitalimpact/opal-phaser
|